You are here: Start » AVL.NET » AVS.CreatePointGraph Method

AVS.CreatePointGraph Method

Creates a graph of points that lie close to each other.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CreatePointGraph
(
	IList<AvlNet.Point2D> inPoints,
	int inMaxRank,
	float inMinDistance,
	IList<List<int>> outGraph,
	IList<List<float>> outDistances
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point2D>Input points.
inMaxRankint<1, INF>8Maximum connections going out of one point. Default value: 8.
inMinDistancefloat<0.0f, INF>0.0fMinimum distance between adjacent point in the graph. Default value: 0.0f.
outGraphSystem.Collections.Generic.IList<System.Collections.Generic.List<int>>Graph of points (adjacency list).
outDistancesSystem.Collections.Generic.IList<System.Collections.Generic.List<float>>Distances between adjacent points in the graph.

Function Overrides

See also