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

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

#include <IndexComparison.h>

Public Member Functions

 IndexDimLessThan (const T &mat, const int &dim, const int &j)
bool operator() (const size_t a, const size_t b) const

Public Attributes

const T & mat
const int & dim
const int & j

Detailed Description

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

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

Constructor & Destructor Documentation

◆ IndexDimLessThan()

template<class T>
igl::IndexDimLessThan< T >::IndexDimLessThan ( const T & mat,
const int & dim,
const int & j )
inline

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ mat

template<class T>
const T& igl::IndexDimLessThan< T >::mat

◆ dim

template<class T>
const int& igl::IndexDimLessThan< T >::dim

◆ j

template<class T>
const int& igl::IndexDimLessThan< T >::j

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