IMeshSpatial::FindNearestTriangle

Windows
MacOS
Linux

Override Hierarchy

References

Module

GeometricObjects

Header

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

Include

#include "Spatial/SpatialInterfaces.h"

Syntax

int FindNearestTriangle
(
    const FVector3d & Point,
    double & NearestDistSqrOut,
    const FQueryOptions & Options
) const

Returns

ID of triangle nearest to Point within MaxDistance, or InvalidID if not found

Parameters

Parameter

Description

Query

point

NearestDistSqrOut

returned nearest squared distance, if triangle is found

MaxDistance

maximum search distance

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