Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
Assimp::SGSpatialSort::Entry Struct Reference

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

#include <SGSpatialSort.h>

Public Member Functions

 Entry () AI_NO_EXCEPT
 
 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.
 
unsigned int mIndex
 The vertex referred by this entry.
 
aiVector3D mPosition
 Position.
 
uint32_t mSmoothGroups
 

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::SGSpatialSort::Entry::Entry ( )
inline

◆ 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: