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

Method getPointDistance

CesiumGeometry/src/Plane.cpp:30–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 : Plane(normal, -glm::dot(normal, point)) {}
29
30double Plane::getPointDistance(const glm::dvec3& point) const noexcept {
31 return glm::dot(this->_normal, point) + this->_distance;
32}
33
34glm::dvec3
35Plane::projectPointOntoPlane(const glm::dvec3& point) const noexcept {

Callers 6

projectPointOntoPlaneMethod · 0.95
TestPlane.cppFile · 0.80
_computeBoundingBoxMethod · 0.80
computeBoundingPlanesFunction · 0.80
closestPointPolygonFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected