You are here: Start » FIL.NET » Invoke.ClusterPoints2D_SingleLink
Clusters data using hierarchical single-link algorithm.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void ClusterPoints2D_SingleLink ( List<Fil.Point2D> inPoints, Optional<int> inClusters, Optional<float> inMaxDistance, List<List<Fil.Point2D>> outClusters )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.List<Fil.Point2D> | Array of points to cluster. | ||
![]() | inClusters | Ftl.Optional<int> | <2, +INF> | Number of clusters to extract. Default value: ftl::NIL. | |
![]() | inMaxDistance | Ftl.Optional<float> | <0.0f, INF> | Maximum distance between two closest points in a cluster. Default value: ftl::NIL. | |
![]() | outClusters | System.Collections.Generic.List<System.Collections.Generic.List<Fil.Point2D>> | Resulting Point2D clusters. |