53 else if (
LT_TOL(lhs.
z, rhs.
z, m_ztol))
58 else if (
LT_TOL(lhs.
y, rhs.
y, m_xytol))
63 else if (
LT_TOL(lhs.
x, rhs.
x, m_xytol))
96 if (
EQ_TOL(a_lhs.
x, a_rhs.
x, m_xytol))
98 if (
EQ_TOL(a_lhs.
y, a_rhs.
y, m_xytol))
102 else if (
LT_TOL(a_lhs.
y, a_rhs.
y, m_xytol))
107 else if (
LT_TOL(a_lhs.
x, a_rhs.
x, m_xytol))
117 template <
typename T>
140 if (
EQ_TOL(a_lhs.
x, a_rhs.
x, m_xytol))
142 if (
EQ_TOL(a_lhs.
y, a_rhs.
y, m_xytol))
146 else if (
LT_TOL(a_lhs.
y, a_rhs.
y, m_xytol))
151 else if (
LT_TOL(a_lhs.
x, a_rhs.
x, m_xytol))
167 template <
typename _T>
171 out.
x =
static_cast<int>(a_in.
x);
172 out.
y =
static_cast<int>(a_in.
y);
180 template <
typename _T>
184 out.
x =
static_cast<int>(a_in.
x);
185 out.
y =
static_cast<int>(a_in.
y);
186 out.
z =
static_cast<int>(a_in.
z);
194 template <
typename _T>
198 out.
x =
static_cast<int>(a_in.
x);
199 out.
y =
static_cast<int>(a_in.
y);
200 out.
z =
static_cast<int>(a_in.
z);
201 out.
w =
static_cast<int>(a_in.
w);
double m_xytol
xy tolerance
ltPt2(T a_xytol)
constructor
double m_xytol
xy tolerance
ltPt3(T a_xytol, T a_ztol)
constructor
less than Pt3 comparing in 2D, or, only x and y
ltPt3_2D(T a_xytol)
constructor
bool operator()(const Pt2< T > a_lhs, const Pt2< T > a_rhs) const
Tests only x and y.
bool EQ_TOL(const _T &A, const _U &B, const _V &tolerance)
Returns true if A == B equal within a tolerance.
bool operator()(const Pt3< T > a_lhs, const Pt3< T > a_rhs) const
Tests only x and y.
bool LT_TOL(_T A, _U B, _V tolerance)
Returns true if A < B equal within a tolerance.
Pt2< _T > ptTruncate(Pt2< _T > const &a_in)
Truncate to an integer.
bool operator()(const Pt3< T > lhs, const Pt3< T > rhs) const
does comparison