Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/SpatialAlgo > API/Plugins/PCG/SpatialAlgo/UPCGOctreeQueries > API/Plugins/PCG/SpatialAlgo/UPCGOctreeQueries/GetClosestPointFromOtherPoint
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/SpatialAlgo/PCGOctreeQueries.h |
| Include | #include "SpatialAlgo/PCGOctreeQueries.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/SpatialAlgo/PCGOctreeQueries.cpp |
UFUNCTION (BlueprintCallable, Category=PointData)
static void GetClosestPointFromOtherPoint
(
const UPCGPointData * InPointData,
const int32 InPointIndex,
bool & bOutFound,
FPCGPoint & OutPoint,
const double InSearchDistance
)
Remarks
Get the nearest point to a given point within the search distance. The point is referenced by its point index in this point data.