All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes | Protected Member Functions
fcl::Plane Class Reference

Infinite plane. More...

#include <geometric_shapes.h>

Inheritance diagram for fcl::Plane:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

Infinite plane.

Definition at line 313 of file geometric_shapes.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Plane offset.

Definition at line 351 of file geometric_shapes.h.

Plane normal.

Definition at line 348 of file geometric_shapes.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


fcl
Author(s): Jia Pan
autogenerated on Tue Jan 15 2013 16:05:32