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