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 ( IList<AvlNet.Point2D> inPoints, int inMaxRank, IList<List<int>> outGraph, IList<List<float>> outDistances, IList<AvlNet.Segment2D> diagSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoints | System.Collections.Generic.IList<AvlNet.Point2D> | Input points. | |||
inMaxRank | int | <1, INF> | 8 | Maximum connections going out of one point. Default value: 8. | |
outGraph | System.Collections.Generic.IList<System.Collections.Generic.List<int>> | Graph of points (adjacency list). | |||
outDistances | System.Collections.Generic.IList<System.Collections.Generic.List<float>> | Distances between adjacent points in the graph. | |||
diagSegments | System.Collections.Generic.IList<AvlNet.Segment2D> | Graph edges, useful for visualization. |
Function Overrides
- CreatePointGraph(IList<Point2D>, Int32, IList<List<Int32>>, IList<List<Single>>)
- CreatePointGraph(IList<Point2D>, Int32, Nullable<Single>, Nullable<Single>, IList<List<Int32>>, IList<List<Single>>)
- CreatePointGraph(IList<Point2D>, Int32, Nullable<Single>, Nullable<Single>, IList<List<Int32>>, IList<List<Single>>, IList<Segment2D>)