Files Class List
PointCloud< PointType, FType, DIMENSIONS, SIZE_TYPE >::PointInfo Struct Reference

Detailed Description

template<typename PointType, typename FType, uint32_t DIMENSIONS, typename SIZE_TYPE = uint32_t>
struct cy::PointCloud< PointType, FType, DIMENSIONS, SIZE_TYPE >::PointInfo

Used by one of the PointCloud::GetPoints() methods.

Keeps the point index, position, and distance squared to a given search position. Used by one of the GetPoints methods.

#include <cyPointCloud.h>

Public Member Functions

bool operator< (PointInfo const &b) const
 Comparison operator.
 

Public Attributes

SIZE_TYPE index
 The index of the point.
 
PointType pos
 The position of the point.
 
FType distanceSquared
 Squared distance from the search position.