| 9 | namespace CesiumGeometry { |
| 10 | |
| 11 | bool Rectangle::contains(const glm::dvec2& position) const noexcept { |
| 12 | return position.x >= this->minimumX && position.y >= this->minimumY && |
| 13 | position.x <= this->maximumX && position.y <= this->maximumY; |
| 14 | } |
| 15 | |
| 16 | bool Rectangle::overlaps(const Rectangle& other) const noexcept { |
| 17 | const double left = glm::max(this->minimumX, other.minimumX); |
no outgoing calls
no test coverage detected