Alexandria 2.31.4
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
KdTree::KdTreeTraits< std::vector< U > > Struct Template Reference

#include <KdTree.h>

Static Public Member Functions

static std::size_t getDimensions (const std::vector< U > &t)
 
static double getCoord (const std::vector< U > &t, size_t index)
 
static std::size_t getDimensions (const std::vector< U > &t)
 
static double getCoord (const std::vector< U > &t, size_t index)
 

Detailed Description

template<typename U>
struct KdTree::KdTreeTraits< std::vector< U > >

Trait specialization for std::vector

Definition at line 103 of file KdTree.h.

Member Function Documentation

◆ getCoord() [1/2]

static double KdTree::KdTreeTraits< std::vector< U > >::getCoord ( const std::vector< U > & t,
size_t index )
static
Returns
the value for the coordinate index

◆ getCoord() [2/2]

template<typename U>
static double KdTree::KdTreeTraits< std::vector< U > >::getCoord ( const std::vector< U > & t,
size_t index )
inlinestatic

Definition at line 108 of file KdTree.h.

◆ getDimensions() [1/2]

static std::size_t KdTree::KdTreeTraits< std::vector< U > >::getDimensions ( const std::vector< U > & t)
static
Returns
the number of dimensions

◆ getDimensions() [2/2]

template<typename U>
static std::size_t KdTree::KdTreeTraits< std::vector< U > >::getDimensions ( const std::vector< U > & t)
inlinestatic

Definition at line 104 of file KdTree.h.

References std::vector< T >::size().

Here is the call graph for this function:

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