FNearest

[FNearest](API\Plugins\GeometricObjects\Spatial\FGeometrySet3\FNearest) is returned by nearest-point queries

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Spatial/GeometrySet3.h

Include

#include "Spatial/GeometrySet3.h"

Syntax

struct FNearest

Remarks

FNearest is returned by nearest-point queries

Variables

Name Description

Public variable

bool

 

bIsPoint

True for point, false for polyline curve

Public variable

int

 

ID

ID of point or curve

Public variable

FVector3d

 

NearestGeoPoint

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

Public variable

FVector3d

 

NearestRayPoint

Nearest point on ray

Public variable

int

 

PolySegmentIdx

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

Public variable

double

 

PolySegmentParam

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

Public variable

double

 

RayParam

Parameter of nearest point on ray (equivalent to NearestRayPoint)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss