OpenSim::ContactHalfSpace Class Reference

This class represents a half space (that is, everything to one side of an infinite plane) for use in contact modeling. More...

#include <ContactHalfSpace.h>

Inheritance diagram for OpenSim::ContactHalfSpace:
OpenSim::ContactGeometry OpenSim::ModelComponent OpenSim::Object

List of all members.

Public Member Functions

 ContactHalfSpace ()
 Construct an empty, uninitialized ContactHalfSpace.
 ContactHalfSpace (const SimTK::Vec3 &location, const SimTK::Vec3 &orientation, Body &body)
 Construct a ContactHalfSpace.
 ContactHalfSpace (const SimTK::Vec3 &location, const SimTK::Vec3 &orientation, Body &body, const std::string &name)
 Construct a ContactHalfSpace.
 ContactHalfSpace (const ContactHalfSpace &geom)
Objectcopy () const
 Construct and return a copy of this object.
SimTK::ContactGeometry createSimTKContactGeometry ()
 Create a new SimTK::ContactGeometry based on this object.

Detailed Description

This class represents a half space (that is, everything to one side of an infinite plane) for use in contact modeling.

In its local coordinate system, all points for which x>0 are considered to be inside the geometry. Its location and orientation properties can be used to move and rotateit to represent other half spaces.

Author:
Peter Eastman

Constructor & Destructor Documentation

OpenSim::ContactHalfSpace::ContactHalfSpace (  ) 

Construct an empty, uninitialized ContactHalfSpace.

OpenSim::ContactHalfSpace::ContactHalfSpace ( const SimTK::Vec3 &  location,
const SimTK::Vec3 &  orientation,
Body body 
)

Construct a ContactHalfSpace.

All points in its local coordinate system for which x>0 are considered to be inside the geometry.

Parameters:
location the location of the geometry within the Body it is attached to
transform the location and orientation of the half space within the Body it is attached to
body the Body this half space is attached to
OpenSim::ContactHalfSpace::ContactHalfSpace ( const SimTK::Vec3 &  location,
const SimTK::Vec3 &  orientation,
Body body,
const std::string &  name 
)

Construct a ContactHalfSpace.

All points in its local coordinate system for which x>0 are considered to be inside the geometry.

Parameters:
location the location of the geometry within the Body it is attached to
transform the location and orientation of the half space within the Body it is attached to
body the Body this half space is attached to
name the name of this object
OpenSim::ContactHalfSpace::ContactHalfSpace ( const ContactHalfSpace geom  ) 

Member Function Documentation

Object * OpenSim::ContactHalfSpace::copy (  )  const [virtual]

Construct and return a copy of this object.

The object is allocated using the new operator, so the caller is responsible for deleting the returned object.

Returns:
Copy of this object.

Implements OpenSim::ContactGeometry.

SimTK::ContactGeometry OpenSim::ContactHalfSpace::createSimTKContactGeometry (  )  [virtual]

Create a new SimTK::ContactGeometry based on this object.

Implements OpenSim::ContactGeometry.


The documentation for this class was generated from the following files:

Generated on Wed Dec 16 15:03:45 2009 for OpenSim by  doxygen 1.6.1