#include <ContactGeometryImpl.h>
List of all members.
Classes |
class | Edge |
class | Face |
class | Vertex |
Public Member Functions |
| TriangleMeshImpl (const ArrayViewConst_< Vec3 > &vertexPositions, const ArrayViewConst_< int > &faceIndices, bool smooth) |
| TriangleMeshImpl (const PolygonalMesh &mesh, bool smooth) |
ContactGeometryImpl * | clone () const |
ContactGeometryTypeId | getTypeId () const |
Vec3 | findPoint (int face, const Vec2 &uv) const |
Vec3 | findCentroid (int face) const |
UnitVec3 | findNormalAtPoint (int face, const Vec2 &uv) const |
Vec3 | findNearestPoint (const Vec3 &position, bool &inside, UnitVec3 &normal) const |
Vec3 | findNearestPoint (const Vec3 &position, bool &inside, int &face, Vec2 &uv) const |
Vec3 | findNearestPointToFace (const Vec3 &position, int face, Vec2 &uv) const |
bool | intersectsRay (const Vec3 &origin, const UnitVec3 &direction, Real &distance, UnitVec3 &normal) const |
bool | intersectsRay (const Vec3 &origin, const UnitVec3 &direction, Real &distance, int &face, Vec2 &uv) const |
void | getBoundingSphere (Vec3 ¢er, Real &radius) const |
void | createPolygonalMesh (PolygonalMesh &mesh) const |
Static Public Member Functions |
static ContactGeometryTypeId | classTypeId () |
static const std::string & | Type () |
Friends |
class | ContactGeometry::TriangleMesh |
class | OBBTreeNodeImpl |
Constructor & Destructor Documentation
SimTK::ContactGeometry::TriangleMeshImpl::TriangleMeshImpl |
( |
const PolygonalMesh & |
mesh, |
|
|
bool |
smooth |
|
) |
| |
Member Function Documentation
ContactGeometryImpl* SimTK::ContactGeometry::TriangleMeshImpl::clone |
( |
| ) |
const [inline, virtual] |
static const std::string& SimTK::ContactGeometry::TriangleMeshImpl::Type |
( |
| ) |
[inline, static] |
Vec3 SimTK::ContactGeometry::TriangleMeshImpl::findPoint |
( |
int |
face, |
|
|
const Vec2 & |
uv |
|
) |
| const |
Vec3 SimTK::ContactGeometry::TriangleMeshImpl::findCentroid |
( |
int |
face | ) |
const |
UnitVec3 SimTK::ContactGeometry::TriangleMeshImpl::findNormalAtPoint |
( |
int |
face, |
|
|
const Vec2 & |
uv |
|
) |
| const |
Vec3 SimTK::ContactGeometry::TriangleMeshImpl::findNearestPoint |
( |
const Vec3 & |
position, |
|
|
bool & |
inside, |
|
|
UnitVec3 & |
normal |
|
) |
| const [virtual] |
Vec3 SimTK::ContactGeometry::TriangleMeshImpl::findNearestPoint |
( |
const Vec3 & |
position, |
|
|
bool & |
inside, |
|
|
int & |
face, |
|
|
Vec2 & |
uv |
|
) |
| const |
Vec3 SimTK::ContactGeometry::TriangleMeshImpl::findNearestPointToFace |
( |
const Vec3 & |
position, |
|
|
int |
face, |
|
|
Vec2 & |
uv |
|
) |
| const |
bool SimTK::ContactGeometry::TriangleMeshImpl::intersectsRay |
( |
const Vec3 & |
origin, |
|
|
const UnitVec3 & |
direction, |
|
|
Real & |
distance, |
|
|
UnitVec3 & |
normal |
|
) |
| const [virtual] |
bool SimTK::ContactGeometry::TriangleMeshImpl::intersectsRay |
( |
const Vec3 & |
origin, |
|
|
const UnitVec3 & |
direction, |
|
|
Real & |
distance, |
|
|
int & |
face, |
|
|
Vec2 & |
uv |
|
) |
| const |
void SimTK::ContactGeometry::TriangleMeshImpl::getBoundingSphere |
( |
Vec3 & |
center, |
|
|
Real & |
radius |
|
) |
| const [virtual] |
void SimTK::ContactGeometry::TriangleMeshImpl::createPolygonalMesh |
( |
PolygonalMesh & |
mesh | ) |
const |
Friends And Related Function Documentation
The documentation for this class was generated from the following file: