Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FGeometrySet3
FNearest is returned by nearest-point queries
| Name | FNearest |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Spatial/GeometrySet3.h |
| Include Path | #include "Spatial/GeometrySet3.h" |
Syntax
struct FNearest
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsPoint | bool | True for point, false for polyline curve | Spatial/GeometrySet3.h | |
| ID | int | ID of point or curve | Spatial/GeometrySet3.h | |
| NearestGeoPoint | FVector3d | Nearest point on geometry (ie the point, or point on curve) | Spatial/GeometrySet3.h | |
| NearestRayPoint | FVector3d | Nearest point on ray | Spatial/GeometrySet3.h | |
| PolySegmentIdx | int | If bIsPoint=false, index of nearest segment on polyline curve | Spatial/GeometrySet3.h | |
| PolySegmentParam | double | If bIsPoint=false, parameter of NearestGeoPoint along segment defined by PolySegmentIdx | Spatial/GeometrySet3.h | |
| RayParam | double | Parameter of nearest point on ray (equivalent to NearestRayPoint) | Spatial/GeometrySet3.h |