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

Bearing operator function object. More...

#include <woss-db-manager.h>

Collaboration diagram for woss::WossDbManager::BearingOperator:
Collaboration graph

Public Member Functions

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

Detailed Description

Bearing operator function object.

Function object that returns the bearing between two valid woss::Coord

Member Function Documentation

◆ operator()()

double woss::WossDbManager::BearingOperator::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::getInitialBearing().

Here is the call graph for this function:

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