Simbody
Public Member Functions | Public Attributes

SimTK::OBBTreeNodeImpl Class Reference

#include <ContactGeometryImpl.h>

List of all members.

Public Member Functions

 OBBTreeNodeImpl ()
 OBBTreeNodeImpl (const OBBTreeNodeImpl &copy)
 ~OBBTreeNodeImpl ()
Vec3 findNearestPoint (const ContactGeometry::TriangleMeshImpl &mesh, const Vec3 &position, Real cutoff2, Real &distance2, int &face, Vec2 &uv) const
bool intersectsRay (const ContactGeometry::TriangleMeshImpl &mesh, const Vec3 &origin, const UnitVec3 &direction, Real &distance, int &face, Vec2 &uv) const

Public Attributes

OrientedBoundingBox bounds
OBBTreeNodeImplchild1
OBBTreeNodeImplchild2
Array_< int > triangles
int numTriangles

Constructor & Destructor Documentation

SimTK::OBBTreeNodeImpl::OBBTreeNodeImpl ( ) [inline]
SimTK::OBBTreeNodeImpl::OBBTreeNodeImpl ( const OBBTreeNodeImpl copy)
SimTK::OBBTreeNodeImpl::~OBBTreeNodeImpl ( )

Member Function Documentation

Vec3 SimTK::OBBTreeNodeImpl::findNearestPoint ( const ContactGeometry::TriangleMeshImpl mesh,
const Vec3 position,
Real  cutoff2,
Real &  distance2,
int &  face,
Vec2 uv 
) const
bool SimTK::OBBTreeNodeImpl::intersectsRay ( const ContactGeometry::TriangleMeshImpl mesh,
const Vec3 origin,
const UnitVec3 direction,
Real &  distance,
int &  face,
Vec2 uv 
) const

Member Data Documentation


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