Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore
| Name | UGeometryScriptLibrary_PointSetSamplingFunctions |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/PointSetFunctions.h |
| Include Path | #include "GeometryScript/PointSetFunctions.h" |
Syntax
UCLASS (MinimalAPI, Meta=(ScriptName="GeometryScript_PointSetSampling"))
class UGeometryScriptLibrary_PointSetSamplingFunctions : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UGeometryScriptLibrary_PointSetSamplingFunctions
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ExpandBy | double | GeometryScript/PointSetFunctions.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void DownsamplePoints
(
const TArray< FVector >& Points, |
Find a subset of the given Points of a specified size. | GeometryScript/PointSetFunctions.h |
|
static void FlattenPoints
(
const TArray< FVector >& PointsIn3D, |
Convert an array of points from 3D to 2D, by transforming into the given ReferenceFrame and taking the X,Y coordinates Note that to transform into the ReferenceFrame, we apply the inverse of the ReferenceFrame's transform. | GeometryScript/PointSetFunctions.h |
|
static void GetPointsFromIndexList
(
const TArray< FVector >& AllPoints, |
Create an array of the subset of AllPoints indicated by the Indices list | GeometryScript/PointSetFunctions.h |
|
static void KMeansClusterToArrays
(
const TArray< FVector >& Points, |
Use K-Means clustering to cluster the given points into a target number of clusters, and return the clusters as an array of lists of point indices. | GeometryScript/PointSetFunctions.h |
|
static void KMeansClusterToIDs
(
const TArray< FVector >& Points, |
Use K-Means clustering to cluster the given points into a target number of clusters, and return an array with a cluster index per point. | GeometryScript/PointSetFunctions.h |
|
static void OffsetTransforms
(
UPARAM(ref) TArray< FTransform >& Transforms, |
Offset the location of all Transforms by Offset in the given Direction, either locally in the space of the transform or in world space. | GeometryScript/PointSetFunctions.h |
|
| Create an array of the positions of the input Transforms | GeometryScript/PointSetFunctions.h |
|
|
static void UnflattenPoints
(
const TArray< FVector2D >& PointsIn2D, |
Convert an array of points from 2D to 3D, by transforming out of the given ReferenceFrame, with the given Height for the non-flat axis (default Z). | GeometryScript/PointSetFunctions.h |
|
static static UPARAM
(
DisplayName |
Make a Axis Aligned Bounding Box that bounds the given Points, optionally expanded by some additional amount on each side | GeometryScript/PointSetFunctions.h |
|