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