3 #include "BoundingRegion.h"
7 #include <CesiumGeometry/CullingResult.h>
8 #include <CesiumGeometry/Plane.h>
10 #include <glm/vec3.hpp>
14 #include <string_view>
63 gsl::span<const glm::dvec3> getVertices() const noexcept;
89 computeDistanceSquaredToPosition(const glm::dvec3& position) const noexcept;
105 CESIUM_DEFAULT_ELLIPSOID) const noexcept;
109 double _minimumHeight;
110 double _maximumHeight;
113 std::array<glm::dvec3, 8> _vertices;
A bounding volume specified as a longitude/latitude bounding box and a minimum and maximum height.
A quadratic surface defined in Cartesian coordinates.
glm::dvec3 getCenter() const noexcept
Gets the center of this bounding volume in ellipsoid-fixed (ECEF) coordinates.
double getMaximumHeight() const noexcept
Gets the maximum height of the cell.
const S2CellID & getCellID() const
Gets this bounding volume's cell ID.
double getMinimumHeight() const noexcept
Gets the minimum height of the cell.
A 64-bit unsigned integer that uniquely identifies a cell in the S2 cell decomposition.
Basic geometry classes for Cesium.
Classes for geospatial computations in Cesium.