xmscore  1.0
xms::ltPt2< T > Class Template Reference

less than Pt2 More...

#include <functors.h>

Public Member Functions

 ltPt2 (T a_xytol)
 constructor More...
 
bool operator() (const Pt2< T > a_lhs, const Pt2< T > a_rhs) const
 Tests only x and y. More...
 

Private Attributes

double m_xytol
 xy tolerance
 

Detailed Description

template<typename T>
class xms::ltPt2< T >

less than Pt2

Definition at line 118 of file functors.h.

Constructor & Destructor Documentation

◆ ltPt2()

template<typename T >
xms::ltPt2< T >::ltPt2 ( a_xytol)
inline

constructor

Parameters
a_xytolXY tolerance.

Definition at line 128 of file functors.h.

Member Function Documentation

◆ operator()()

template<typename T >
bool xms::ltPt2< T >::operator() ( const Pt2< T >  a_lhs,
const Pt2< T >  a_rhs 
) const
inline

Tests only x and y.

Parameters
a_lhsLeft hand side.
a_rhsRight hand side.
Returns
true if a_lhs < a_rhs.

Definition at line 138 of file functors.h.

References xms::EQ_TOL(), xms::LT_TOL(), xms::Pt2< T >::x, and xms::Pt2< T >::y.


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