5 #include <CesiumGeometry/BoundingSphere.h>
6 #include <CesiumGeometry/OrientedBoundingBox.h>
7 #include <CesiumGeospatial/BoundingRegion.h>
8 #include <CesiumGeospatial/BoundingRegionWithLooseFittingHeights.h>
9 #include <CesiumGeospatial/Ellipsoid.h>
10 #include <CesiumGeospatial/GlobeRectangle.h>
11 #include <CesiumGeospatial/S2CellBoundingVolume.h>
49 const glm::dmat4x4& transform,
58 CESIUM3DTILESSELECTION_API glm::dvec3
69 CESIUM3DTILESSELECTION_API std::optional<CesiumGeospatial::GlobeRectangle>
A bounding sphere with a center and a radius.
A bounding volume defined as a closed and convex cuboid with any orientation.
A BoundingRegion whose heights might be very inaccurate and so distances should be estimated conserva...
A bounding volume specified as a longitude/latitude bounding box and a minimum and maximum height.
A quadratic surface defined in Cartesian coordinates.
Classes that implement the 3D Tiles standard.
CesiumGeometry::OrientedBoundingBox getOrientedBoundingBoxFromBoundingVolume(const BoundingVolume &boundingVolume, const CesiumGeospatial::Ellipsoid &ellipsoid CESIUM_DEFAULT_ELLIPSOID)
Returns an oriented bounding box that contains the given BoundingVolume.
const CesiumGeospatial::BoundingRegion * getBoundingRegionFromBoundingVolume(const BoundingVolume &boundingVolume)
Returns the bounding region if the bounding volume is a BoundingRegion or a BoundingRegionWithLooseFi...
std::variant< CesiumGeometry::BoundingSphere, CesiumGeometry::OrientedBoundingBox, CesiumGeospatial::BoundingRegion, CesiumGeospatial::BoundingRegionWithLooseFittingHeights, CesiumGeospatial::S2CellBoundingVolume > BoundingVolume
A bounding volume.
glm::dvec3 getBoundingVolumeCenter(const BoundingVolume &boundingVolume)
Returns the center of the given BoundingVolume.
BoundingVolume transformBoundingVolume(const glm::dmat4x4 &transform, const BoundingVolume &boundingVolume)
Transform the given BoundingVolume with the given matrix.
std::optional< CesiumGeospatial::GlobeRectangle > estimateGlobeRectangle(const BoundingVolume &boundingVolume, const CesiumGeospatial::Ellipsoid &ellipsoid CESIUM_DEFAULT_ELLIPSOID)
Estimates the bounding CesiumGeospatial::GlobeRectangle of the given BoundingVolume.