Infinite plane. More...
#include <hpp/fcl/shape/geometric_shapes.h>
Public Member Functions | |
Plane (const Vec3f &n_, FCL_REAL d_) | |
Construct a plane with normal direction and offset. | |
Plane (FCL_REAL a, FCL_REAL b, FCL_REAL c, FCL_REAL d_) | |
Construct a plane with normal direction and offset. | |
Plane () | |
FCL_REAL | signedDistance (const Vec3f &p) const |
FCL_REAL | distance (const Vec3f &p) const |
void | computeLocalAABB () |
Compute AABB. | |
NODE_TYPE | getNodeType () const |
Get node type: a plane. | |
Public Attributes | |
Vec3f | n |
Plane normal. | |
FCL_REAL | d |
Plane offset. | |
Protected Member Functions | |
void | unitNormalTest () |
Turn non-unit normal into unit. |
Infinite plane.
Construct a plane with normal direction and offset.
References unitNormalTest().
Construct a plane with normal direction and offset.
References unitNormalTest().
fcl::Plane::Plane | ( | ) | [inline] |
void fcl::Plane::computeLocalAABB | ( | ) | [virtual] |
Compute AABB.
Implements fcl::CollisionGeometry.
NODE_TYPE fcl::Plane::getNodeType | ( | ) | const [inline, virtual] |
void fcl::Plane::unitNormalTest | ( | ) | [protected] |
Turn non-unit normal into unit.
Referenced by Plane().
Plane offset.
Referenced by distance(), and signedDistance().
Plane normal.
Referenced by distance(), and signedDistance().