You are here: Start » AVL.NET » Invoke.ClusterPoints2D_SingleLink

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
inPointsSystem.Collections.Generic.List<Avl.Point2D>Array of points to cluster.
inClustersAtl.Optional<int><2, +INF>Number of clusters to extract. Default value: atl::NIL.
inMaxDistanceAtl.Optional<float><0.0f, INF>Maximum distance between two closest points in a cluster. Default value: atl::NIL.
outClustersSystem.Collections.Generic.List<System.Collections.Generic.List<Avl.Point2D>>Resulting Point2D clusters.

See also