Blender V5.3
blender::KDTreeCoordTraits< CoordT > Struct Template Reference

#include <BLI_kdtree_types.hh>

Public Types

using ValueType = typename CoordT::base_type

Static Public Member Functions

static ValueType get (const CoordT &co, const int axis)

Static Public Attributes

static constexpr int DimsNum = CoordT::type_length

Detailed Description

template<typename CoordT>
struct blender::KDTreeCoordTraits< CoordT >

Definition at line 18 of file BLI_kdtree_types.hh.

Member Typedef Documentation

◆ ValueType

template<typename CoordT>
using blender::KDTreeCoordTraits< CoordT >::ValueType = typename CoordT::base_type

Definition at line 20 of file BLI_kdtree_types.hh.

Member Function Documentation

◆ get()

template<typename CoordT>
ValueType blender::KDTreeCoordTraits< CoordT >::get ( const CoordT & co,
const int axis )
inlinestatic

Definition at line 21 of file BLI_kdtree_types.hh.

Referenced by blender::detail::axis_get().

Member Data Documentation

◆ DimsNum

template<typename CoordT>
int blender::KDTreeCoordTraits< CoordT >::DimsNum = CoordT::type_length
staticconstexpr

Definition at line 19 of file BLI_kdtree_types.hh.


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