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

#include <KdTree.h>

Static Public Member Functions

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

Detailed Description

template<typename U, std::size_t S>
struct KdTree::KdTreeTraits< std::array< U, S > >

Trait specialization for std::array

Definition at line 117 of file KdTree.h.

Member Function Documentation

◆ getCoord() [1/2]

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

◆ getCoord() [2/2]

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

Definition at line 122 of file KdTree.h.

◆ getDimensions() [1/2]

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

◆ getDimensions() [2/2]

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

Definition at line 118 of file KdTree.h.


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