Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Spatial > API/Runtime/GeometryCore/Spatial/FGeometrySet3
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Spatial/GeometrySet3.h |
| Include | #include "Spatial/GeometrySet3.h" |
Syntax
struct FNearest
Remarks
FNearest is returned by nearest-point queries
Variables
| Type | Name | Description | |
|---|---|---|---|
| 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) |