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

Function projectRegionSimple

CesiumGeospatial/src/Projection.cpp:93–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93CesiumGeometry::AxisAlignedBox projectRegionSimple(
94 const Projection& projection,
95 const BoundingRegion& region) {
96 CesiumGeometry::Rectangle rectangle =
97 projectRectangleSimple(projection, region.getRectangle());
98 return CesiumGeometry::AxisAlignedBox(
99 rectangle.minimumX,
100 rectangle.minimumY,
101 region.getMinimumHeight(),
102 rectangle.maximumX,
103 rectangle.maximumY,
104 region.getMaximumHeight());
105}
106
107BoundingRegion unprojectRegionSimple(
108 const Projection& projection,

Callers

nothing calls this directly

Calls 2

projectRectangleSimpleFunction · 0.85
AxisAlignedBoxFunction · 0.50

Tested by

no test coverage detected