Class Halfspace
Defined in File geometric_shapes.h
Inheritance Relationships
Base Type
public hpp::fcl::ShapeBase
(Class ShapeBase)
Class Documentation
-
class Halfspace : public hpp::fcl::ShapeBase
Half Space: this is equivalent to the Plane in ODE. The separation plane is defined as n * x = d; Points in the negative side of the separation plane (i.e. {x | n * x < d}) are inside the half space and points in the positive side of the separation plane (i.e. {x | n * x > d}) are outside the half space.
Public Functions
-
inline Halfspace(const Vec3f &n_, FCL_REAL d_)
Construct a half space with normal direction and offset.
-
inline Halfspace(FCL_REAL a, FCL_REAL b, FCL_REAL c, FCL_REAL d_)
Construct a plane with normal direction and offset.
-
inline Halfspace()
-
inline std::pair<Halfspace, Transform3f> inflated(const FCL_REAL value) const
Inflate the cylinder by an amount given by value.
- Parameters:
value – [in] of the shape inflation.
- Returns:
a new inflated cylinder and the related transform to account for the change of shape frame
Protected Functions
-
void unitNormalTest()
Turn non-unit normal into unit.
-
inline Halfspace(const Vec3f &n_, FCL_REAL d_)