Magnum/Math/Geometry/Intersection.h file

Contents

Namespaces

namespace Magnum::Math::Geometry::Intersection deprecated
namespace Magnum
Root namespace.
namespace Magnum::Math
Math library.
namespace Magnum::Math::Geometry deprecated

Functions

template<class T>
auto lineSegmentLineSegment(const Vector2<T>& p, const Vector2<T>& r, const Vector2<T>& q, const Vector2<T>& s) -> std::pair<T, T> deprecated
Intersection of two line segments in 2D.
template<class T>
auto lineSegmentLine(const Vector2<T>& p, const Vector2<T>& r, const Vector2<T>& q, const Vector2<T>& s) -> T deprecated
Intersection of line segment and line in 2D.
template<class T>
auto planeLine(const Vector3<T>& planePosition, const Vector3<T>& planeNormal, const Vector3<T>& p, const Vector3<T>& r) -> T deprecated
Intersection of a plane and line.
template<class T>
auto pointFrustum(const Vector3<T>& point, const Frustum<T>& frustum) -> bool deprecated
Intersection of a point and a frustum.
template<class T>
auto boxFrustum(const Range3D<T>& box, const Frustum<T>& frustum) -> bool deprecated
Intersection of a range and a frustum.