27#ifndef PX_TRIANGLE_MESH_ANALYSIS_RESULT_H
28#define PX_TRIANGLE_MESH_ANALYSIS_RESULT_H
31#include "PxPhysXConfig.h"
32#include "foundation/PxFlags.h"
62 typedef PxFlags<PxTriangleMeshAnalysisResult::Enum, PxU32> PxTriangleMeshAnalysisResults;
These flags indicate what kind of deficiencies a triangle mesh has and describe if the mesh is consid...
Definition PxTriangleMeshAnalysisResult.h:43
Enum
Definition PxTriangleMeshAnalysisResult.h:46
@ eREQUIRES_32BIT_INDEX_BUFFER
invalid: Mesh contains more indices than a 16bit index buffer can address
Definition PxTriangleMeshAnalysisResult.h:56
@ eZERO_VOLUME
invalid: Flat mesh without meaningful amount of volume - cannot be meshed since a tetmesh is volumetr...
Definition PxTriangleMeshAnalysisResult.h:48
@ eEDGE_SHARED_BY_MORE_THAN_TWO_TRIANGLES
problematic: Border case of a self-intersecting mesh. The tetmesh might not match the surace exactly ...
Definition PxTriangleMeshAnalysisResult.h:53
@ eSELF_INTERSECTIONS
problematic: The surface of the resulting mesh won't match exactly at locations of self-intersections...
Definition PxTriangleMeshAnalysisResult.h:50
@ eCONTAINS_INVALID_POINTS
invalid: Points contain NAN, infinity or similar values that will lead to an invalid mesh
Definition PxTriangleMeshAnalysisResult.h:55
@ eCONTAINS_ACUTE_ANGLED_TRIANGLES
problematic: An ideal mesh for a softbody has triangles with similar angles and evenly distributed ve...
Definition PxTriangleMeshAnalysisResult.h:52
@ eMESH_IS_INVALID
flag is set if the mesh is categorized as invalid
Definition PxTriangleMeshAnalysisResult.h:59
@ eOPEN_BOUNDARIES
problematic: Open boundary means that the mesh is not watertight and that there are holes....
Definition PxTriangleMeshAnalysisResult.h:49
@ eMESH_IS_PROBLEMATIC
flag is set if the mesh is categorized as problematic
Definition PxTriangleMeshAnalysisResult.h:58
@ eINCONSISTENT_TRIANGLE_ORIENTATION
invalid: It is not possible to distinguish what is inside and outside of the mesh....
Definition PxTriangleMeshAnalysisResult.h:51
@ eCONTAINS_DUPLICATE_POINTS
ok: Duplicate points can be handled by the mesher without problems. The resulting tetmesh will only m...
Definition PxTriangleMeshAnalysisResult.h:54
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39