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