31 #ifndef DRAIN_BOUNDING_BOX_H_
32 #define DRAIN_BOUNDING_BOX_H_
35 #include "Rectangle.h"
Container for geographical extent spanned by lowerLeft(x,y) and upperRight(x,y). Assumes longitude=x ...
Definition: BoundingBox.h:46
bool isMetric() const
Check if this Bounding Box has metric coordinates, instead of degrees.
Definition: BoundingBox.h:88
static bool isMetric(const Point2D< double > &p)
Checks if a coordinate (x,y) == (lon,lat) looks like metric, that is, beyond [-90,...
Definition: BoundingBox.h:73
static bool isMetric(double x, double limit)
Checks if a coordinate looks like metric, that is, beyond [-90,+90] or [-180,+180].
Definition: BoundingBox.h:79
Definition: DataSelector.cpp:1277
Rectange defined through lower left and upper right coordinates.
Definition: Rectangle.h:65
bool limit(const double &lowerBound, const double &upperBound, double &x)
Limits x between interval [lowerBound, upperBound].
Definition: Rectangle.h:167