uvgVPCCenc 1.0.0
uvgVPCCenc is an open-source real-time V-PCC encoder library written in C++ from scratch.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
nanoflann::ResultItem< IndexType, DistanceType > Struct Template Reference

#include <nanoflann.hpp>

Collaboration diagram for nanoflann::ResultItem< IndexType, DistanceType >:

Public Member Functions

 ResultItem ()=default
 
 ResultItem (const IndexType index, const DistanceType distance)
 

Public Attributes

IndexType first
 Index of the sample in the dataset.
 
DistanceType second
 Distance from sample to query point.
 

Detailed Description

template<typename IndexType = size_t, typename DistanceType = double>
struct nanoflann::ResultItem< IndexType, DistanceType >

Each result element in RadiusResultSet. Note that distances and indices are named first and second to keep backward-compatibility with the std::pair<> type used in the past. In contrast, this structure is ensured to be std::is_standard_layout so it can be used in wrappers to other languages. See: https://github.com/jlblancoc/nanoflann/issues/166

Constructor & Destructor Documentation

◆ ResultItem() [1/2]

template<typename IndexType = size_t, typename DistanceType = double>
nanoflann::ResultItem< IndexType, DistanceType >::ResultItem ( )
default

◆ ResultItem() [2/2]

template<typename IndexType = size_t, typename DistanceType = double>
nanoflann::ResultItem< IndexType, DistanceType >::ResultItem ( const IndexType  index,
const DistanceType  distance 
)
inline

Member Data Documentation

◆ first

template<typename IndexType = size_t, typename DistanceType = double>
IndexType nanoflann::ResultItem< IndexType, DistanceType >::first

Index of the sample in the dataset.

◆ second

template<typename IndexType = size_t, typename DistanceType = double>
DistanceType nanoflann::ResultItem< IndexType, DistanceType >::second

Distance from sample to query point.


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