libigl v2.5.0
Loading...
Searching...
No Matches
igl::IndexVectorLessThan< T > Struct Template Reference

Comparison struct for vectors for use with functions like std::sort. More...

#include <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 >

Comparison struct for vectors for use with functions like std::sort.

Constructor & Destructor Documentation

◆ IndexVectorLessThan()

template<class T >
igl::IndexVectorLessThan< T >::IndexVectorLessThan ( const T &  vec)
inline

Member Function Documentation

◆ operator()()

template<class T >
bool igl::IndexVectorLessThan< T >::operator() ( const size_t  a,
const size_t  b 
) const
inline

Member Data Documentation

◆ vec

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

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