Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
igl::IndexVectorLessThan< T > Struct Template Reference

#include <src/libigl/igl/IndexComparison.h>

Public Member Functions

 IndexVectorLessThan (const T &vec)
 
bool operator() (const size_t a, const size_t b) const
 

Public Attributes

const T & vec
 

Detailed Description

template<class T>
struct igl::IndexVectorLessThan< T >

Constructor & Destructor Documentation

◆ IndexVectorLessThan()

template<class T >
igl::IndexVectorLessThan< T >::IndexVectorLessThan ( const T &  vec)
inline
40: vec ( vec) {}
const T & vec
Definition IndexComparison.h:45

Member Function Documentation

◆ operator()()

template<class T >
bool igl::IndexVectorLessThan< T >::operator() ( const size_t  a,
const size_t  b 
) const
inline
42 {
43 return vec(a) < vec(b);
44 }

References igl::IndexVectorLessThan< T >::vec.

Member Data Documentation

◆ vec

template<class T >
const T& igl::IndexVectorLessThan< T >::vec

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