3#include <CesiumGeospatial/BoundingRegion.h>
4#include <CesiumGeospatial/GlobeRectangle.h>
5#include <CesiumGeospatial/Library.h>
80 double _poleTolerance;
82 double _minimumHeight;
83 double _maximumHeight;
98 bool _longitudeRangeIsEmpty;
BoundingRegionBuilder() noexcept
Constructs a new instance, starting with an empty bounding region.
GlobeRectangle toGlobeRectangle() const
Gets the final globe rectangle from this builder.
double getPoleTolerance() const noexcept
Gets the distance from the North or South pole, in radians, that is considered "too close" to rely on...
bool expandToIncludePosition(const Cartographic &position)
Expands the bounding region to include the given position.
void setPoleTolerance(double tolerance) noexcept
Sets the distance from the North or South pole, in radians, that is considered "too close" to rely on...
BoundingRegion toRegion(const Ellipsoid &ellipsoid=CesiumGeospatial::Ellipsoid::WGS84) const
Gets the final region from this builder.
A bounding volume specified as a longitude/latitude bounding box and a minimum and maximum height.
A position defined by longitude, latitude, and height.
A quadratic surface defined in Cartesian coordinates.
A two-dimensional, rectangular region on a globe, specified using longitude and latitude coordinates....
Classes for geospatial computations in Cesium.