Simbody
|
This ContactGeometry subclass represents an object that occupies the entire half-space x>0. More...
#include <ContactGeometry.h>
Public Member Functions | |
HalfSpace () | |
Static Public Member Functions | |
static bool | isInstance (const ContactGeometry &geo) |
Return true if the supplied ContactGeometry object is a halfspace. | |
static const HalfSpace & | getAs (const ContactGeometry &geo) |
Cast the supplied ContactGeometry object to a const halfspace. | |
static HalfSpace & | updAs (ContactGeometry &geo) |
Cast the supplied ContactGeometry object to a writable halfspace. | |
static ContactGeometryTypeId | classTypeId () |
Obtain the unique id for HalfSpace contact geometry. |
This ContactGeometry subclass represents an object that occupies the entire half-space x>0.
This is useful for representing walls and floors.
static bool SimTK::ContactGeometry::HalfSpace::isInstance | ( | const ContactGeometry & | geo | ) | [inline, static] |
Return true if the supplied ContactGeometry object is a halfspace.
static const HalfSpace& SimTK::ContactGeometry::HalfSpace::getAs | ( | const ContactGeometry & | geo | ) | [inline, static] |
Cast the supplied ContactGeometry object to a const halfspace.
static HalfSpace& SimTK::ContactGeometry::HalfSpace::updAs | ( | ContactGeometry & | geo | ) | [inline, static] |
Cast the supplied ContactGeometry object to a writable halfspace.
static ContactGeometryTypeId SimTK::ContactGeometry::HalfSpace::classTypeId | ( | ) | [static] |
Obtain the unique id for HalfSpace contact geometry.