Navigation
API > API/Plugins > API/Plugins/PCG
| Name | UPCGOctreeQueries |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/SpatialAlgo/PCGOctreeQueries.h |
| Include Path | #include "SpatialAlgo/PCGOctreeQueries.h" |
Syntax
UCLASS (MinimalAPI)
class UPCGOctreeQueries : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UPCGOctreeQueries
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DefaultSearchDistance | double | Can only be used with not UFUNCTION, as UFUNCTION requires the value to be explicitly defined. | SpatialAlgo/PCGOctreeQueries.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ForEachPointInsideSphere
(
const UPCGBasePointData* InPointData, |
Query the internal octree to call a func on all points within some sphere. | SpatialAlgo/PCGOctreeQueries.h | |
static const FPCGPoint * GetClosestPoint
(
const UPCGPointData* InPointData, |
Get the closest point to a given position within the search distance, If bInDiscardCenter is true, will reject any points that are exactly at the center. | SpatialAlgo/PCGOctreeQueries.h | |
static void GetClosestPoint
(
const UPCGPointData* InPointData, |
Get the closest point to a given position within the search distance. | SpatialAlgo/PCGOctreeQueries.h |
|
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 |
|
static int32 GetClosestPointIndex
(
const UPCGBasePointData* InPointData, |
SpatialAlgo/PCGOctreeQueries.h | ||
static int32 GetClosestPointIndexFromOtherPointIndex
(
const UPCGBasePointData* InPointData, |
SpatialAlgo/PCGOctreeQueries.h | ||
static const FPCGPoint * GetFarthestPoint
(
const UPCGPointData* InPointData, |
Get the farthest point from a given position within the search distance. Returns null if not found. | SpatialAlgo/PCGOctreeQueries.h | |
static void GetFarthestPoint
(
const UPCGPointData* InPointData, |
Get the farthest point from a given position, within the search distance. | SpatialAlgo/PCGOctreeQueries.h |
|
static const FPCGPoint * GetFarthestPointFromOtherPoint
(
const UPCGPointData* InPointData, |
Get the farthest point from a given point (that is not itself) within the search distance. | SpatialAlgo/PCGOctreeQueries.h | |
static void GetFarthestPointFromOtherPoint
(
const UPCGPointData* InPointData, |
Get the farthest point from a given point within the search distance. | SpatialAlgo/PCGOctreeQueries.h |
|
static int32 GetFarthestPointIndex
(
const UPCGBasePointData* InPointData, |
SpatialAlgo/PCGOctreeQueries.h | ||
static int32 GetFarthestPointIndexFromOtherPointIndex
(
const UPCGBasePointData* InPointData, |
SpatialAlgo/PCGOctreeQueries.h | ||
static TArray< FPCGPoint > GetPointsInsideBounds
(
const UPCGPointData* InPointData, |
Query the internal octree to return all the points within some bounds. | SpatialAlgo/PCGOctreeQueries.h |
|
static TArray< FPCGPoint > GetPointsInsideSphere
(
const UPCGPointData* InPointData, |
Query the internal octree to return all the points within some sphere. | SpatialAlgo/PCGOctreeQueries.h |
|