World Ocean Simulation System (WOSS) library
woss::WossDbManager::RangeOperator Class Reference

Range operator function object. More...

#include <woss-db-manager.h>

Collaboration diagram for woss::WossDbManager::RangeOperator:
Collaboration graph

Public Member Functions

double operator() (const Coord &x, const Coord &y) const
 

Detailed Description

Range operator function object.

Function object that returns the great circle distance between two valid woss::Coord

Member Function Documentation

◆ operator()()

double woss::WossDbManager::RangeOperator::operator() ( const Coord x,
const Coord y 
) const
inline

Function that compares to woss::Coord instances. If WossDbManager::cust_bathymetry_coord_resolution is valid (>=0) two valid CoordZ are considered equivalent if their great circle distance is less or equal to the space sampling value

Parameters
txconst reference to a valid Coord object
rxconst reference to a valid Coord object
Returns
true if x less than y, false otherwise

References woss::Coord::getGreatCircleDistance().

Here is the call graph for this function:

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