TVectorSetAnalysis3

[TVectorSetAnalysis3](API\Plugins\GeometricObjects\Sampling\TVectorSetAnalysis3) computes various analyses of a set of input Vectors (currently mainly clustering.

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Sampling/VectorSetAnalysis.h

Include

#include "Sampling/VectorSetAnalysis.h"

Syntax

template<typename RealType>
class TVectorSetAnalysis3

Remarks

TVectorSetAnalysis3 computes various analyses of a set of input Vectors (currently mainly clustering.

Variables

Name Description

Public variable

bool

 

bNormalized

Public variable

TArray< FVector...

 

ClusterVectors

Calculated valuesSet of vectors that represent centers of clusters

Public variable

TArray< int32 >

 

VectorIDs

Public variable

TArray< FVector...

 

Vectors

Input data

Public variable

TArray< int32 >

 

VectorToClusterMap

Mapping from Vector index to ClusterVectors index

Functions

Name Description

Public function

void

 

GreedyClusterVectors

(
    RealType AngleToleranceDeg
)

Run simple greedy clustering algorithm on input ClusterVectors.

Public function

void

 

Initialize

(
    EnumerableIDType EnumerableIDs,
    TFunctionRef< FVector3< RealType >(...,
    int32 NumVectorsHint,
    bool bIsNormalizedHint
)

Initialize the internal set of Vectors and IDs using an external integer-Enumerable and associated GetVector(ID) function

Public function Const

int32

 

NumClusters()

Public function Const

int32

 

NumVectors()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss