/Engine/Source/Runtime/GeometryCore/Public/Spatial/GeometrySet3.h
FNearestis returned by nearest-point queries
struct FNearest
bool
bIsPoint
True for point, false for polyline curve
int
ID
ID of point or curve
FVector3d
NearestGeoPoint
Nearest point on geometry (ie the point, or point on curve)
FVector3d
NearestRayPoint
Nearest point on ray
int
PolySegmentIdx
If bIsPoint=false, index of nearest segment on polyline curve
double
PolySegmentParam
If bIsPoint=false, parameter of NearestGeoPoint along segment defined by PolySegmentIdx
double
RayParam
Parameter of nearest point on ray (equivalent to NearestRayPoint)