Geogram  Version 1.9.1
A programming library of geometric algorithms
GEO::vec2HgLexicoCompare< T > Class Template Reference

Comparator class for vec2Hg \detail Used to create maps indexed by vec2Hg or SOS symbolic perturbation. More...

#include <geogram/basic/vechg.h>

Public Member Functions

bool operator() (const vec2Hg< T > &v1, const vec2Hg< T > &v2) const
 Compares two vec2Hg. More...
 

Detailed Description

template<class T>
class GEO::vec2HgLexicoCompare< T >

Comparator class for vec2Hg \detail Used to create maps indexed by vec2Hg or SOS symbolic perturbation.

Definition at line 159 of file vechg.h.

Member Function Documentation

◆ operator()()

template<class T >
bool GEO::vec2HgLexicoCompare< T >::operator() ( const vec2Hg< T > &  v1,
const vec2Hg< T > &  v2 
) const
inline

Compares two vec2Hg.

Return values
trueif v1 is before v2 in the lexicographic order
falseotherwise

Definition at line 167 of file vechg.h.


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