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

Method computeUnion

CesiumGeometry/src/Rectangle.cpp:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63Rectangle Rectangle::computeUnion(const Rectangle& other) const noexcept {
64 return Rectangle(
65 glm::min(this->minimumX, other.minimumX),
66 glm::min(this->minimumY, other.minimumY),
67 glm::max(this->maximumX, other.maximumX),
68 glm::max(this->maximumY, other.maximumY));
69}
70
71} // namespace CesiumGeometry

Callers 4

TestRectangle.cppFile · 0.45
mergeMethod · 0.45
measureCombinedImageMethod · 0.45

Calls 1

RectangleFunction · 0.50

Tested by

no test coverage detected