Sundance::SloppyPointComparitor Class Reference

List of all members.

Public Member Functions

 SloppyPointComparitor (const double &tol)
bool operator() (const Point &p1, const Point &p2) const

Private Attributes

double tol_

Detailed Description

Do lexigraphic comparison on points, including a bit of sloppiness

Definition at line 60 of file PDEOptPointData.hpp.

Constructor & Destructor Documentation

Sundance::SloppyPointComparitor::SloppyPointComparitor ( const double &  tol  )  [inline]

Definition at line 63 of file PDEOptPointData.hpp.

Member Function Documentation

bool Sundance::SloppyPointComparitor::operator() ( const Point p1,
const Point p2 
) const

Definition at line 196 of file PDEOptPointData.cpp.

References Sundance::Point::dim(), and tol_.

Member Data Documentation

Definition at line 67 of file PDEOptPointData.hpp.

Referenced by operator()().

Site Contact