Torque3D Documentation / _generateds / PolyhedronUnmanagedVectorData

PolyhedronUnmanagedVectorData

Engine/source/math/mPolyhedron.h

Polyhedron data stored as raw points with memory being managed externally.

More...

Accessors

Return the number of planes that make up this polyhedron.

Return the planes that make up the polyhedron.

Return the number of points that this polyhedron has.

Return the number of edges that this polyhedron has.

Public Types

EdgeListType 
PlaneListType 
PointListType 

Protected Attributes

List of edges.

List of planes. Note that by default, the normals facing inwards.

List of vertices.

Detailed Description

Polyhedron data stored as raw points with memory being managed externally.

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.

getPlanes()

getNumPoints()

Return the number of points that this polyhedron has.

getPoints()

getPoints()

getNumEdges()

Return the number of edges that this polyhedron has.

getEdges()

getEdges()

Public Types

typedef UnmanagedVector< Edge > EdgeListType 
typedef UnmanagedVector< PlaneF > PlaneListType 
typedef UnmanagedVector< Point3F > 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.