UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::FGeometrySet3::FNearest Struct Reference

#include <GeometrySet3.h>

Public Attributes

int ID
 
bool bIsPoint
 
FVector3d NearestRayPoint
 
FVector3d NearestGeoPoint
 
double RayParam
 
int PolySegmentIdx
 
double PolySegmentParam
 

Detailed Description

FNearest is returned by nearest-point queries

Member Data Documentation

◆ bIsPoint

bool UE::Geometry::FGeometrySet3::FNearest::bIsPoint

true for point, false for polyline curve

◆ ID

int UE::Geometry::FGeometrySet3::FNearest::ID

ID of point or curve

◆ NearestGeoPoint

FVector3d UE::Geometry::FGeometrySet3::FNearest::NearestGeoPoint

Nearest point on geometry (ie the point, or point on curve)

◆ NearestRayPoint

FVector3d UE::Geometry::FGeometrySet3::FNearest::NearestRayPoint

Nearest point on ray

◆ PolySegmentIdx

int UE::Geometry::FGeometrySet3::FNearest::PolySegmentIdx

if bIsPoint=false, index of nearest segment on polyline curve

◆ PolySegmentParam

double UE::Geometry::FGeometrySet3::FNearest::PolySegmentParam

if bIsPoint=false, parameter of NearestGeoPoint along segment defined by PolySegmentIdx

◆ RayParam

double UE::Geometry::FGeometrySet3::FNearest::RayParam

parameter of nearest point on ray (equivalent to NearestRayPoint)


The documentation for this struct was generated from the following file: