Assimp  v3.1.1 (June 2014)
Assimp::SGSpatialSort::Entry Struct Reference

An entry in a spatially sorted position array. More...

Public Member Functions

 Entry ()
 
 Entry (unsigned int pIndex, const aiVector3D &pPosition, float pDistance, uint32_t pSG)
 
bool operator< (const Entry &e) const
 

Public Attributes

float mDistance
 Distance of this vertex to the sorting plane. More...
 
unsigned int mIndex
 The vertex referred by this entry. More...
 
aiVector3D mPosition
 Position. More...
 
uint32_t mSmoothGroups
 

Detailed Description

An entry in a spatially sorted position array.

Consists of a vertex index, its position and its precalculated distance from the reference plane

Constructor & Destructor Documentation

◆ Entry() [1/2]

Assimp::SGSpatialSort::Entry::Entry ( )
inline

intentionally not initialized.

◆ Entry() [2/2]

Assimp::SGSpatialSort::Entry::Entry ( unsigned int  pIndex,
const aiVector3D pPosition,
float  pDistance,
uint32_t  pSG 
)
inline

Member Function Documentation

◆ operator<()

bool Assimp::SGSpatialSort::Entry::operator< ( const Entry e) const
inline

Member Data Documentation

◆ mDistance

float Assimp::SGSpatialSort::Entry::mDistance

Distance of this vertex to the sorting plane.

◆ mIndex

unsigned int Assimp::SGSpatialSort::Entry::mIndex

The vertex referred by this entry.

◆ mPosition

aiVector3D Assimp::SGSpatialSort::Entry::mPosition

Position.

◆ mSmoothGroups

uint32_t Assimp::SGSpatialSort::Entry::mSmoothGroups

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