ludus::foundation::geometry::PointNeighbor¶
Ludus Wiki · API overview · Browse API
Struct
One nearest result, sorted by squared distance then original source index.
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/point_search.hpp
#include <ludus/foundation/geometry/point_search.hpp>
struct ludus::foundation::geometry::PointNeighbor final
Fields¶
PointIndex¶
uint32 ludus::foundation::geometry::PointNeighbor::PointIndex = ABSENT_POINT_NODE
Original input index; never a tree node index.
Related types: uint32
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/point_search.hpp
DistanceSquared¶
float32 ludus::foundation::geometry::PointNeighbor::DistanceSquared = 0
Squared world units; finite and nonnegative.
Related types: float32
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/point_search.hpp