Assimp  v4.1. (December 2018)
Assimp::SpatialSort::Entry Struct Reference

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

Public Member Functions

 Entry () AI_NO_EXCEPT
 
 Entry (unsigned int pIndex, const aiVector3D &pPosition, ai_real pDistance)
 
bool operator< (const Entry &e) const
 

Public Attributes

ai_real 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 pre-calculated distance from the reference plane

Constructor & Destructor Documentation

◆ Entry() [1/2]

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

◆ Entry() [2/2]

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

Member Function Documentation

◆ operator<()

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

Member Data Documentation

◆ mDistance

ai_real Assimp::SpatialSort::Entry::mDistance

Distance of this vertex to the sorting plane.

◆ mIndex

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

The vertex referred by this entry.

◆ mPosition

aiVector3D Assimp::SpatialSort::Entry::mPosition

Position.


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