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 |
static const FPCGPoint * GetClosestPointFromOtherPoint
(
const UPCGPointData * InPointData,
const FPCGPoint & InPoint,
const double InSearchDistance
)
Remarks
Get the nearest point to a given point (that is not itself) within the search distance. Returns null if not found.