MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / unprojectRegionSimple

Function unprojectRegionSimple

CesiumGeospatial/src/Projection.cpp:107–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107BoundingRegion unprojectRegionSimple(
108 const Projection& projection,
109 const CesiumGeometry::AxisAlignedBox& box,
110 const CesiumGeospatial::Ellipsoid& ellipsoid) {
111 GlobeRectangle rectangle = unprojectRectangleSimple(
112 projection,
113 CesiumGeometry::Rectangle(
114 box.minimumX,
115 box.minimumY,
116 box.maximumX,
117 box.maximumY));
118 return BoundingRegion(rectangle, box.minimumZ, box.maximumZ, ellipsoid);
119}
120
121glm::dvec2 computeProjectedRectangleSize(
122 const Projection& projection,

Callers

nothing calls this directly

Calls 3

unprojectRectangleSimpleFunction · 0.85
BoundingRegionClass · 0.85
RectangleFunction · 0.50

Tested by

no test coverage detected