Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGOctreeQueries
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FPCGPoint * GetClosestPointFromOtherPoint
(
const UPCGPointData* InPointData, |
Get the nearest point to a given point (that is not itself) within the search distance. | SpatialAlgo/PCGOctreeQueries.h | |
static void GetClosestPointFromOtherPoint
(
const UPCGPointData* InPointData, |
Get the nearest point to a given point within the search distance. | SpatialAlgo/PCGOctreeQueries.h |
|
GetClosestPointFromOtherPoint(const UPCGPointData *, const FPCGPoint &, const double)
Description
Get the nearest point to a given point (that is not itself) within the search distance. Returns null if not found.
| Name | GetClosestPointFromOtherPoint |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/SpatialAlgo/PCGOctreeQueries.h |
| Include Path | #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
)
GetClosestPointFromOtherPoint(const UPCGPointData *, const int32, bool &, FPCGPoint &, const double)
Description
Get the nearest point to a given point within the search distance. The point is referenced by its point index in this point data.
| Name | GetClosestPointFromOtherPoint |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/SpatialAlgo/PCGOctreeQueries.h |
| Include Path | #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
)