Infinite plane. More...
#include <geometric_shapes.h>
Public Member Functions | |
void | computeLocalAABB () |
Compute AABB. | |
FCL_REAL | distance (const Vec3f &p) const |
NODE_TYPE | getNodeType () const |
Get node type: a plane. | |
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 |
Public Attributes | |
FCL_REAL | d |
Plane offset. | |
Vec3f | n |
Plane normal. | |
Protected Member Functions | |
void | unitNormalTest () |
Turn non-unit normal into unit. |
Infinite plane.
Definition at line 313 of file geometric_shapes.h.
fcl::Plane::Plane | ( | const Vec3f & | n_, |
FCL_REAL | d_ | ||
) | [inline] |
Construct a plane with normal direction and offset.
Definition at line 317 of file geometric_shapes.h.
fcl::Plane::Plane | ( | FCL_REAL | a, |
FCL_REAL | b, | ||
FCL_REAL | c, | ||
FCL_REAL | d_ | ||
) | [inline] |
Construct a plane with normal direction and offset.
Definition at line 323 of file geometric_shapes.h.
fcl::Plane::Plane | ( | ) | [inline] |
Definition at line 328 of file geometric_shapes.h.
void fcl::Plane::computeLocalAABB | ( | ) | [virtual] |
Compute AABB.
Implements fcl::CollisionGeometry.
Definition at line 182 of file geometric_shapes.cpp.
FCL_REAL fcl::Plane::distance | ( | const Vec3f & | p | ) | const [inline] |
Definition at line 336 of file geometric_shapes.h.
NODE_TYPE fcl::Plane::getNodeType | ( | ) | const [inline, virtual] |
Get node type: a plane.
Reimplemented from fcl::CollisionGeometry.
Definition at line 345 of file geometric_shapes.h.
FCL_REAL fcl::Plane::signedDistance | ( | const Vec3f & | p | ) | const [inline] |
Definition at line 331 of file geometric_shapes.h.
void fcl::Plane::unitNormalTest | ( | ) | [protected] |
Turn non-unit normal into unit.
Definition at line 116 of file geometric_shapes.cpp.
Plane offset.
Definition at line 351 of file geometric_shapes.h.
Plane normal.
Definition at line 348 of file geometric_shapes.h.