Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/GeometryCore/Public/Spatial/GeometrySet3.h |
Include |
#include "Spatial/GeometrySet3.h" |
struct FNearest
FNearest is returned by nearest-point queries
Name | Description | ||
---|---|---|---|
|
bIsPoint |
True for point, false for polyline curve |
|
|
int |
ID |
ID of point or curve |
|
NearestGeoPoint |
Nearest point on geometry (ie the point, or point on curve) |
|
|
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) |