Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Sampling
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/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
| Type | Name | Description | |
|---|---|---|---|
| bool | bNormalized | ||
| TArray< TVector< RealType > > | ClusterVectors | Calculated valuesSet of vectors that represent centers of clusters | |
| TArray< int32 > | VectorIDs | ||
| TArray< TVector< RealType > > | Vectors | Input data | |
| TArray< int32 > | VectorToClusterMap | Mapping from Vector index to ClusterVectors index |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GreedyClusterVectors
(
RealType AngleToleranceDeg |
Run simple greedy clustering algorithm on input ClusterVectors. | |
| void | Initialize
(
EnumerableIDType EnumerableIDs, |
Initialize the internal set of Vectors and IDs using an external integer-Enumerable and associated GetVector(ID) function | |
| int32 | NumClusters () |
||
| int32 | NumVectors () |