Simbody  3.4 (development)
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 ()
const Impl & getImpl () const
Impl & updImpl ()
 Internal use only.

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.

Cast the supplied ContactGeometry object to a writable halfspace.

Obtain the unique id for HalfSpace contact geometry.

Internal use only.

Reimplemented from SimTK::ContactGeometry.

Internal use only.

Reimplemented from SimTK::ContactGeometry.


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