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

AVL.CreatePointGraph

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CreatePointGraph
(
	AvlNet.Point2D[] inPoints,
	int inMaxRank,
	out int[][] outGraph,
	out float[][] outDistances
)

Parameters

Name Type Range Default Description
inPointsAvlNet.Point2D[]Input points.
inMaxRankint<1, INF>8Maximum connections going out of one point. Default value: 8.
outGraphint[][]Graph of points (adjacency list).
outDistancesfloat[][]Distances between adjacent points in the graph.

See also