You are here: Start » AVL.NET » AVL.PathToLineDistanceProfile
Computes the profile of distances between a line and the characteristic points of a path.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void PathToLineDistanceProfile ( AvlNet.Path inPath, AvlNet.Line2D inLine, float inResolution, AvlNet.Profile outDistanceProfile, IList<float> outDistances, IList<AvlNet.Segment2D> outConnectingSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPath | AvlNet.Path | Input path. | |||
inLine | AvlNet.Line2D | Input line. | |||
inResolution | float | <0.0f, INF> | 1.0f | Number of real-world units per one pixel. Default value: 1.0f. | |
outDistanceProfile | AvlNet.Profile | Profile of distances between input line and consecutive points of input path. | |||
outDistances | System.Collections.Generic.IList<float> | Distances between input line and consecutive points of input path. | |||
outConnectingSegments | System.Collections.Generic.IList<AvlNet.Segment2D> | Segments connecting input line and consecutive points of input path having minimal length. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite line on input in PathToLineDistanceProfile. |