ludus::foundation::math::SegmentClosest¶
Ludus Wiki · API overview · Browse API
Struct
Closest-points-between-segments result: parameters S,T in [0,1], the two closest points, and the squared distance.
All meaningful only on Success.
Declared in modules/foundation/math/include/ludus/foundation/math/geometry.hpp
#include <ludus/foundation/math/geometry.hpp>
struct ludus::foundation::math::SegmentClosest
Fields¶
S¶
float64 ludus::foundation::math::SegmentClosest::S = 0.0
Related types: float64
Declared in modules/foundation/math/include/ludus/foundation/math/geometry.hpp
T¶
float64 ludus::foundation::math::SegmentClosest::T = 0.0
Related types: float64
Declared in modules/foundation/math/include/ludus/foundation/math/geometry.hpp
PointOnFirst¶
Vector3 ludus::foundation::math::SegmentClosest::PointOnFirst = {0, 0, 0}
Related types: Vector3
Declared in modules/foundation/math/include/ludus/foundation/math/geometry.hpp
PointOnSecond¶
Vector3 ludus::foundation::math::SegmentClosest::PointOnSecond = {0, 0, 0}
Related types: Vector3
Declared in modules/foundation/math/include/ludus/foundation/math/geometry.hpp
SquaredDistance¶
float64 ludus::foundation::math::SegmentClosest::SquaredDistance = 0.0
Related types: float64
Declared in modules/foundation/math/include/ludus/foundation/math/geometry.hpp