hpp-fcl 2.4.5
HPP fork of FCL -- The Flexible Collision Library
|
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 () | |
Plane (const Plane &other) | |
Plane & | operator= (const Plane &other) |
operator = | |
virtual Plane * | clone () const |
Clone *this into a new 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. | |
![]() | |
ShapeBase () | |
ShapeBase (const ShapeBase &other) | |
| |
ShapeBase & | operator= (const ShapeBase &other)=default |
virtual | ~ShapeBase () |
OBJECT_TYPE | getObjectType () const |
Get object type: a geometric shape. | |
![]() | |
CollisionGeometry () | |
CollisionGeometry (const CollisionGeometry &other)=default | |
Copy constructor. | |
virtual | ~CollisionGeometry () |
bool | operator== (const CollisionGeometry &other) const |
Equality operator. | |
bool | operator!= (const CollisionGeometry &other) const |
Difference operator. | |
void * | getUserData () const |
get user data in geometry | |
void | setUserData (void *data) |
set user data in geometry | |
bool | isOccupied () const |
whether the object is completely occupied | |
bool | isFree () const |
whether the object is completely free | |
bool | isUncertain () const |
whether the object has some uncertainty | |
virtual Vec3f | computeCOM () const |
compute center of mass | |
virtual Matrix3f | computeMomentofInertia () const |
compute the inertia matrix, related to the origin | |
virtual FCL_REAL | computeVolume () const |
compute the volume | |
virtual Matrix3f | computeMomentofInertiaRelatedToCOM () const |
compute the inertia matrix, related to the com | |
Public Attributes | |
Vec3f | n |
Plane normal. | |
FCL_REAL | d |
Plane offset. | |
![]() | |
Vec3f | aabb_center |
AABB center in local coordinate. | |
FCL_REAL | aabb_radius |
AABB radius. | |
AABB | aabb_local |
AABB in local coordinate, used for tight AABB when only translation transform. | |
void * | user_data |
pointer to user defined data specific to this object | |
FCL_REAL | cost_density |
collision cost for unit volume | |
FCL_REAL | threshold_occupied |
threshold for occupied ( >= is occupied) | |
FCL_REAL | threshold_free |
threshold for free (<= is free) | |
Protected Member Functions | |
void | unitNormalTest () |
Turn non-unit normal into unit. | |
Infinite plane.