Torque3D Documentation / _generateds / PolyhedronData::Edge

PolyhedronData::Edge

Engine/source/math/mPolyhedron.h

Winged edge.

More...

Public Attributes

face [2]

Index into plane vector for the two planes that go through this edge.

vertex [2]

Index into point vector for the beginning and end point of the edge.

Public Functions

Edge()
Edge(U32 face1, U32 face2, U32 vertex1, U32 vertex2)

Detailed Description

Winged edge.

note:

Must be oriented clockwise for face[0]! This is important!

Public Attributes

U32 face [2]

Index into plane vector for the two planes that go through this edge.

U32 vertex [2]

Index into point vector for the beginning and end point of the edge.

note:

The vector "vertex[ 1 ] - vertex[ 0 ]" must be oriented such that it defines a clockwise orientation for face[ 0 ]. This is important!

Public Functions

Edge()

Edge(U32 face1, U32 face2, U32 vertex1, U32 vertex2)