24 constexpr NormaliseLongitude(
double west ) : west_( west - eps_ ), east_( west + 360. - eps_ ) {}
27 constexpr NormaliseLongitude(
double west,
double east ) : west_( west - eps_ ), east_( east + eps_ ) {}
29 constexpr NormaliseLongitude(
const NormaliseLongitude& other ) : west_( other.west_ ), east_( other.east_ ) {}
31 double operator()(
double lon )
const {
32 while ( lon < west_ ) {
35 while ( lon > east_ ) {
46 static constexpr
double eps_ = 1.e-11;
Contains all atlas classes and methods.
Definition: atlas-grids.cc:33
Definition: NormaliseLongitude.h:18