Assimp  v3.1.1 (June 2014)
Assimp::SpatialSort::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)
 
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...
 

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

Assimp::SpatialSort::Entry::Entry ( )
inline

intentionally not initialized.

Assimp::SpatialSort::Entry::Entry ( unsigned int  pIndex,
const aiVector3D pPosition,
float  pDistance 
)
inline

Member Function Documentation

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

Member Data Documentation

float Assimp::SpatialSort::Entry::mDistance

Distance of this vertex to the sorting plane.

unsigned int Assimp::SpatialSort::Entry::mIndex

The vertex referred by this entry.

aiVector3D Assimp::SpatialSort::Entry::mPosition

Position.


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