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

Comparison struct used by sort http://bytes.com/topic/c/answers/132045-sort-get-index. More...

#include <IndexComparison.h>

Public Member Functions

 IndexLessThan (const T arr)
 
bool operator() (const size_t a, const size_t b) const
 

Public Attributes

const T arr
 

Detailed Description

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

Comparison struct used by sort http://bytes.com/topic/c/answers/132045-sort-get-index.

Constructor & Destructor Documentation

◆ IndexLessThan()

template<class T >
igl::IndexLessThan< T >::IndexLessThan ( const T  arr)
inline

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ arr

template<class T >
const T igl::IndexLessThan< T >::arr

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