You are here: Start » AVL.NET » AVS.DetectPointSegments Method
AVS.DetectPointSegments Method
Detect points that lie along multiple segments.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void DetectPointSegments ( IList<AvlNet.Point2D> inPoints, float inMaxDistance, int inMaxRank, float inMaxTurnAngle, int inMinPointCount, IList<AvlNet.Segment2D> outPointSegments, IList<AvlNet.Path> outPaths )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoints | System.Collections.Generic.IList<AvlNet.Point2D> | Points to connect. | |||
inMaxDistance | float | <0.0f, INF> | 10.0f | Maximum distance between connected points. Default value: 10.0f. | |
inMaxRank | int | <1, INF> | 4 | Maximum number of neighbour candidates considered when joining points. Default value: 4. | |
inMaxTurnAngle | float | <0.0f, 90.0f> | 5.0f | Maximum angle between consecutive path segments. Default value: 5.0f. | |
inMinPointCount | int | <2, INF> | 3 | Minimum number of points in one path. Default value: 3. | |
outPointSegments | System.Collections.Generic.IList<AvlNet.Segment2D> | Segments connecting first and last point of each path. | |||
outPaths | System.Collections.Generic.IList<AvlNet.Path> | Paths of connected points. |