Torque3D Documentation / _generateds / PolyhedronVectorData

PolyhedronVectorData

Engine/source/math/mPolyhedron.h

Polyhedron data stored in Vectors.

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 

Public Attributes

List of edges.

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

List of vertices.

Public Functions

buildBox(const MatrixF & mat, const Box3F & box, bool invertNormals)

Build a polyhedron from the given set of planes.

Conversion to the common polyhedron type.

Detailed Description

Polyhedron data stored in Vectors.

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 Vector< Edge > EdgeListType 
typedef Vector< PlaneF > PlaneListType 
typedef Vector< Point3F > PointListType 

Public Attributes

EdgeListType mEdgeList 

List of edges.

PlaneListType mPlaneList 

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

PointListType mPointList 

List of vertices.

Public Functions

PolyhedronVectorData()

buildBox(const MatrixF & mat, const Box3F & box, bool invertNormals)

buildFromPlanes(const PlaneSetF & planes)

Build a polyhedron from the given set of planes.

operator AnyPolyhedron()

Conversion to the common polyhedron type.