You are here: Start » FIL.NET » FIS.ClusterPoints3D Method
FIS.ClusterPoints3D Method
Clusters 3D points using K Means Clustering method.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void ClusterPoints3D ( IList<FilNet.Point3D> inPoints, int inClusters, int inMaxIterations, int? inSeed, int inRunCount, IList<NullableRef<List<FilNet.Point3D>>> outClusters, IList<FilNet.Point3D?> outCentroids, out float outDistanceSum )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.IList<FilNet.Point3D> | Array of points to cluster. | ||
![]() | inClusters | int | <2, +INF> | 2 | Number of clusters to extract. Default value: 2. |
![]() | inMaxIterations | int | <10, 1000> | 200 | Maximal number of KMeans iterations. Default value: 200. |
![]() | inSeed | int? | <0, +INF> | 5489 | Seed used to initialize random number generators. Default value: 5489. |
![]() | inRunCount | int | <1, +INF> | 1 | Defines how many times the algorithm will be executed. Default value: 1. |
![]() | outClusters | System.Collections.Generic.IList<FilNet.NullableRef<System.Collections.Generic.List<FilNet.Point3D>>> | Resulting Point3D clusters. | ||
![]() | outCentroids | System.Collections.Generic.IList<FilNet.Point3D?> | Center of found clusters. | ||
![]() | outDistanceSum | float | Sum of distance squares from points in array to its respective cluster center. |