You are here: Start » AVL.NET » AVL.PathToLineDistanceProfile Method
AVL.PathToLineDistanceProfile Method
Computes the profile of distances between a line and the characteristic points of a path.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void PathToLineDistanceProfile( AvlNet.Path inPath, AvlNet.Line2D inLine, float inResolution, out AvlNet.Profile outDistanceProfile )
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. |
Errors
| Error type | Description |
|---|---|
| DomainError | Indefinite line on input in PathToLineDistanceProfile. |


