Euphoria
|
eu::core::ClosestPointCollector< TVec, TData, TDistanceFunc, TDistance > Struct Template Reference
#include <closestpoint.h>
Public Member Functions | |
ClosestPointCollector (TDistanceFunc a_distance_func) | |
void | add (const TVec &v, const TData &data) |
TData | find_closest (const TVec &v) |
Public Attributes | |
TDistanceFunc | distance_func |
std::vector< std::tuple< TVec, TData > > | points |
Detailed Description
template<typename TVec, typename TData, typename TDistanceFunc, typename TDistance>
struct eu::core::ClosestPointCollector< TVec, TData, TDistanceFunc, TDistance >
Definition at line 19 of file closestpoint.h.
Constructor & Destructor Documentation
◆ ClosestPointCollector()
template<typename TVec , typename TData , typename TDistanceFunc , typename TDistance >
|
inline |
Definition at line 24 of file closestpoint.h.
Member Function Documentation
◆ add()
template<typename TVec , typename TData , typename TDistanceFunc , typename TDistance >
|
inline |
Definition at line 30 of file closestpoint.h.
◆ find_closest()
template<typename TVec , typename TData , typename TDistanceFunc , typename TDistance >
|
inline |
Definition at line 36 of file closestpoint.h.
Member Data Documentation
◆ distance_func
template<typename TVec , typename TData , typename TDistanceFunc , typename TDistance >
TDistanceFunc eu::core::ClosestPointCollector< TVec, TData, TDistanceFunc, TDistance >::distance_func |
Definition at line 21 of file closestpoint.h.
◆ points
template<typename TVec , typename TData , typename TDistanceFunc , typename TDistance >
std::vector<std::tuple<TVec, TData> > eu::core::ClosestPointCollector< TVec, TData, TDistanceFunc, TDistance >::points |
Definition at line 22 of file closestpoint.h.
The documentation for this struct was generated from the following file:
- libs/core/src/core/closestpoint.h