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

Method fullyContains

CesiumGeometry/src/Rectangle.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24bool Rectangle::fullyContains(const Rectangle& other) const noexcept {
25 return (
26 other.minimumX >= this->minimumX && other.maximumX <= this->maximumX &&
27 other.minimumY >= this->minimumY && other.maximumY <= this->maximumY);
28}
29
30double
31Rectangle::computeSignedDistance(const glm::dvec2& position) const noexcept {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected