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
inPointsSystem.Collections.Generic.IList<AvlNet.Point2D>Array of points to cluster.
inClustersint?<2, +INF>Number of clusters to extract. Default value: atl::NIL.
inMaxDistancefloat?<0.0f, INF>Maximum distance between two closest points in a cluster. Default value: atl::NIL.
outClustersSystem.Collections.Generic.IList<System.Collections.Generic.List<AvlNet.Point2D>>Resulting Point2D clusters.

Function Overrides

See also