World Ocean Simulation System (WOSS) library
|
Partial specialization for partial ordering of CoordZ coordinates. More...
#include <coordinates-definitions.h>
Public Member Functions | |
bool | operator() (const CoordZ &x, const CoordZ &y) const |
Partial specialization for partial ordering of CoordZ coordinates.
Function object class for partial ordering of two CoordZ instances based on cartesian distance. The user class has to provide a static method called getSpaceSampling() that returns the threshold distance
|
inline |
Function that compares to woss::CoordZ instances. If CompUser::getSpaceSampling() is valid (>=0) two valid CoordZ are considered equivalent if their cartesian distance is less or equal to the space sampling value
References woss::CoordZ::getCartDistance(), and woss::operator<().