Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | List of all members
om::physics::base::ConvexHull::Vertex Class Reference

#include <omPhysicsConvexHull.h>

Public Member Functions

 Vertex (const Vector3f &newPosition)
 Create a new convex hull vertex with the specified position and no connecting triangles. More...
 
 Vertex (const Vector3f &newPosition, UInt32 trianglesStart, UInt32 newNumTriangles)
 Create a new convex hull vertex with the specified position and index into the triangle neighbor list. More...
 
const SIMDFloat4 & getPosition () const
 Return a const reference to the 3D position of this convex hull vertex. More...
 
UInt32 getTriangleCount () const
 Return the number of triangles that share this convex hull vertex. More...
 

Constructor & Destructor Documentation

om::physics::base::ConvexHull::Vertex::Vertex ( const Vector3f &  newPosition)
inline

Create a new convex hull vertex with the specified position and no connecting triangles.

om::physics::base::ConvexHull::Vertex::Vertex ( const Vector3f &  newPosition,
UInt32  trianglesStart,
UInt32  newNumTriangles 
)
inline

Create a new convex hull vertex with the specified position and index into the triangle neighbor list.

Member Function Documentation

const SIMDFloat4& om::physics::base::ConvexHull::Vertex::getPosition ( ) const
inline

Return a const reference to the 3D position of this convex hull vertex.

UInt32 om::physics::base::ConvexHull::Vertex::getTriangleCount ( ) const
inline

Return the number of triangles that share this convex hull vertex.


The documentation for this class was generated from the following file: