![]() |
ReactPhysics3D
v0.10.2
C++ Physics engine library
|
A face. More...
#include <include/reactphysics3d/utils/quickhull/QHHalfEdgeStructure.h>
Public Member Functions | |
| Face (MemoryAllocator &allocator) | |
| Constructor. | |
| const Vertex * | getVertex () const |
| Return a vertex of the face. | |
| void | recalculateFace (const Array< Vector3 > &points) |
| Recalculate the face centroid and normal to better fit its new vertices (using Newell method) | |
| std::string | verticesString () const |
| Return a string with the vertices of the face. | |
| bool | isTriangle () |
| Return true if the face is a triangle. | |
| bool | isValid () |
| Return true if the face structure is valid (for debugging purpose) | |
Public Attributes | |
| Face * | nextFace |
| Pointer to the next face | |
| Face * | previousFace |
| Pointer to the previous face | |
| Edge * | edge |
| One half-edge of the face. | |
| Vector3 | normal |
| Face normal | |
| Vector3 | centroid |
| Center of the face (average of the face vertices) | |
| decimal | area |
| Area of the face. | |
| Array< uint32 > | conflictPoints |
| Array with some remaining points visible from this face that need to be processed. | |
A face.