PolyhedronFixedVectorData
Engine/source/math/mPolyhedron.h
Polyhedron data stored in fixed size arrays.
Accessors
Return the number of planes that make up this polyhedron.
Return the number of points that this polyhedron has.
Return the number of edges that this polyhedron has.
Public Types
FixedSizeVector< Edge, NUM_EDGES >
EdgeListType
FixedSizeVector< PlaneF, NUM_PLANES >
PlaneListType
FixedSizeVector< Point3F, NUM_POINTS >
PointListType
Protected Attributes
List of edges.
List of planes. Note that by default, the normals facing inwards.
List of vertices.
Public Functions
Conversion to the common polyhedron type.
Detailed Description
Polyhedron data stored in fixed size arrays.
Accessors
getNumPlanes()
Return the number of planes that make up this polyhedron.
getPlanes()
Return the planes that make up the polyhedron.
note:The normals of these planes are facing inwards.
getNumPoints()
Return the number of points that this polyhedron has.
getPoints()
getNumEdges()
Return the number of edges that this polyhedron has.
getEdges()
Public Types
typedef FixedSizeVector< Edge, NUM_EDGES > EdgeListType
typedef FixedSizeVector< PlaneF, NUM_PLANES > PlaneListType
typedef FixedSizeVector< Point3F, NUM_POINTS > PointListType
Protected Attributes
EdgeListType mEdgeList
List of edges.
PlaneListType mPlaneList
List of planes. Note that by default, the normals facing inwards.
PointListType mPointList
List of vertices.