You are here: Start » AVL.NET » AVL.CreatePointGraph(AvlNet.Point2D[], int, float?, float?, int[][], float[][], AvlNet.Segment2D[])
AVL.CreatePointGraph(AvlNet.Point2D[], int, float?, float?, int[][], float[][], AvlNet.Segment2D[])
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, int inMaxRank, float? inMaxDistance, float? inMaxRelativeDistance, out int[][] outGraph, out float[][] outDistances, out AvlNet.Segment2D[] diagSegments )
Parameters
- inPoints
- Type: AvlNet.Point2D
Input points - inMaxRank
- Type: System.Int32
Maximum connections going out of one point - inMaxDistance
- Type: System.Nullable<System.Single>
Maximum distance between adjacent point in the graph, or null. - inMaxRelativeDistance
- Type: System.Nullable<System.Single>
Maximum distance in relation to the shortest distance for a point, or null. - outGraph
- Type: System.Int32
Graph of points (adjacency list) - outDistances
- Type: System.Single
Distances between adjacent points in the graph - diagSegments
- Type: AvlNet.Segment2D
Graph edges, useful for visualization
