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>
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) | |
Object * | copy () const |
Construct and return a copy of this object. | |
SimTK::ContactGeometry | createSimTKContactGeometry () |
Create a new SimTK::ContactGeometry based on this object. |
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.
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.
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.
OpenSim::ContactHalfSpace::ContactHalfSpace | ( | const ContactHalfSpace & | geom | ) |
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.
Implements OpenSim::ContactGeometry.
SimTK::ContactGeometry OpenSim::ContactHalfSpace::createSimTKContactGeometry | ( | ) | [virtual] |
Create a new SimTK::ContactGeometry based on this object.
Implements OpenSim::ContactGeometry.