file
Distance.hContents
- Reference
Namespaces
- namespace Magnum::Math::Geometry::Distance deprecated in 2018.10
- namespace Magnum
- Root namespace.
- namespace Magnum::Math
- Math library.
- namespace Magnum::Math::Geometry deprecated in 2018.10
Functions
-
template<class T>auto linePointSquared(const Vector2<T>& a, const Vector2<T>& b, const Vector2<T>& point) -> T deprecated in 2018.10
- Distance of line and point in 2D, squared.
-
template<class T>auto linePoint(const Vector2<T>& a, const Vector2<T>& b, const Vector2<T>& point) -> T deprecated in 2018.10
- Distance of line and point in 2D.
-
template<class T>auto linePointSquared(const Vector3<T>& a, const Vector3<T>& b, const Vector3<T>& point) -> T deprecated in 2018.10
- Distance of line and point in 3D, squared.
-
template<class T>auto linePoint(const Vector3<T>& a, const Vector3<T>& b, const Vector3<T>& point) -> T deprecated in 2018.10
- Distance of line and point in 3D.
-
template<class T>auto lineSegmentPointSquared(const Vector2<T>& a, const Vector2<T>& b, const Vector2<T>& point) -> T deprecated in 2018.10
- Distance of point from line segment in 2D, squared.
-
template<class T>auto lineSegmentPoint(const Vector2<T>& a, const Vector2<T>& b, const Vector2<T>& point) -> T deprecated in 2018.10
- Dístance of point from line segment in 2D.
-
template<class T>auto lineSegmentPointSquared(const Vector3<T>& a, const Vector3<T>& b, const Vector3<T>& point) -> T deprecated in 2018.10
- Distance of point from line segment in 3D, squared.
-
template<class T>auto lineSegmentPoint(const Vector3<T>& a, const Vector3<T>& b, const Vector3<T>& point) -> T deprecated in 2018.10
- Dístance of point from line segment in 3D.
-
template<class T>auto pointPlaneScaled(const Vector3<T>& point, const Vector4<T>& plane) -> T deprecated in 2018.10
- Distance of point from plane, scaled by the length of the planes normal.
-
template<class T>auto pointPlane(const Vector3<T>& point, const Vector4<T>& plane) -> T deprecated in 2018.10
- Distance of point from plane.
-
template<class T>auto pointPlaneNormalized(const Vector3<T>& point, const Vector4<T>& plane) -> T deprecated in 2018.10
- Distance of point from plane with normalized normal.