29#ifndef PX_TETRAHEDRON_MESH_EXT_H
30#define PX_TETRAHEDRON_MESH_EXT_H
35#include "foundation/PxVec3.h"
36#include "foundation/PxArray.h"
43 class PxTetrahedronMesh;
utility functions for use with PxTetrahedronMesh and subclasses
Definition PxTetrahedronMeshExt.h:49
static PxI32 findTetrahedronContainingPoint(const PxTetrahedronMesh *mesh, const PxVec3 &point, PxVec4 &bary, PxReal tolerance=1e-6f)
Definition ExtTetrahedronMeshExt.cpp:180
static void extractTetMeshSurface(const void *tetrahedra, PxU32 numTetrahedra, bool sixteenBitIndices, PxArray< PxU32 > &surfaceTriangles, PxArray< PxU32 > *surfaceTriangleToTet=NULL, bool flipTriangleOrientation=false)
Definition ExtTetrahedronMeshExt.cpp:232
static PxI32 findTetrahedronClosestToPoint(const PxTetrahedronMesh *mesh, const PxVec3 &point, PxVec4 &bary)
Definition ExtTetrahedronMeshExt.cpp:188
A tetramedron mesh, also called a 'tetrahedron soup'.
Definition PxTetrahedronMesh.h:115
3 Element vector class.
Definition PxVec3.h:50
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39