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


