Simbody
Public Member Functions | Static Public Member Functions

SimTK::ContactGeometry::HalfSpace Class Reference

This ContactGeometry subclass represents an object that occupies the entire half-space x>0. More...

#include <ContactGeometry.h>

Inheritance diagram for SimTK::ContactGeometry::HalfSpace:

List of all members.

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 HalfSpacegetAs (const ContactGeometry &geo)
 Cast the supplied ContactGeometry object to a const halfspace.
static HalfSpaceupdAs (ContactGeometry &geo)
 Cast the supplied ContactGeometry object to a writable halfspace.
static ContactGeometryTypeId classTypeId ()
 Obtain the unique id for HalfSpace contact geometry.

Detailed Description

This ContactGeometry subclass represents an object that occupies the entire half-space x>0.

This is useful for representing walls and floors.


Constructor & Destructor Documentation


Member Function Documentation

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.


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