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

less than Pt3 comparing in 2D, or, only x and y More...

#include <functors.h>

Public Member Functions

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

Private Attributes

double m_xytol
 xy tolerance
 

Detailed Description

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

less than Pt3 comparing in 2D, or, only x and y

Definition at line 74 of file functors.h.

Constructor & Destructor Documentation

◆ ltPt3_2D()

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

constructor

Parameters
a_xytolXY tolerance.

Definition at line 84 of file functors.h.

Member Function Documentation

◆ operator()()

template<typename T >
bool xms::ltPt3_2D< T >::operator() ( const Pt3< T >  a_lhs,
const Pt3< 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 94 of file functors.h.

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


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