#include <ContactGeometryImpl.h>
Public Member Functions | |
OBBTreeNodeImpl () | |
OBBTreeNodeImpl (const OBBTreeNodeImpl ©) | |
~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 |
OBBTreeNodeImpl * | child1 |
OBBTreeNodeImpl * | child2 |
std::vector< int > | triangles |
OBBTreeNodeImpl | ( | ) | [inline] |
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 |
std::vector<int> triangles |