Class Plane

Inheritance Relationships

Base Type

Class Documentation

class Plane : public hpp::fcl::ShapeBase

Infinite plane.

Public Functions

inline Plane(const Vec3f &n_, FCL_REAL d_)

Construct a plane with normal direction and offset.

inline Plane(FCL_REAL a, FCL_REAL b, FCL_REAL c, FCL_REAL d_)

Construct a plane with normal direction and offset.

inline Plane()
inline Plane(const Plane &other)
inline Plane &operator=(const Plane &other)

operator =

inline virtual Plane *clone() const

Clone *this into a new Plane.

inline FCL_REAL signedDistance(const Vec3f &p) const
inline FCL_REAL distance(const Vec3f &p) const
virtual void computeLocalAABB()

Compute AABB.

inline virtual NODE_TYPE getNodeType() const

Get node type: a plane.

Public Members

Vec3f n

Plane normal.

FCL_REAL d

Plane offset.

Protected Functions

void unitNormalTest()

Turn non-unit normal into unit.