You are here: Start » AVL.NET » AVL.CreatePointGraph(AvlNet.Point2D[], float, int, float?, int[][])

AVL.CreatePointGraph(AvlNet.Point2D[], float, int, float?, int[][])

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CreatePointGraph(
	AvlNet.Point2D[] inPoints,
	float inMaxDistance,
	int inMaxRank,
	float? inMaxRelativeDistance,
	out int[][] outGraph
)

Parameters

inPoints
Type: AvlNet.Point2D
inMaxDistance
Type: System.Single
Maximum distance between adjacent point in the graph
inMaxRank
Type: System.Int32
Maximum connections going out of one point
inMaxRelativeDistance
Type: System.Nullable<System.Single>
Maximum distance in relation to the shortest distance for a point, or null.
outGraph
Type: System.Int32

See also