PathToLineDistanceProfile
Computes the profile of distances between a line and the characteristic points of a path.
Syntax
C++
C#
Python
def PathToLineDistanceProfile( inPath: Path, inLine: Line2D, inResolution: float, outDistanceProfile: Profile, / ) -> ( outDistances: list[float], outConnectingSegments: list[Segment2D] )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inPath | Path | Input path | ||
![]() |
inLine | Line2D | Input line | ||
![]() |
inResolution | float | 0.0 - ![]() |
Number of real-world units per one pixel | |
![]() |
outDistanceProfile | Profile | Profile of distances between input line and consecutive points of input path | ||
![]() |
outDistances | list[float] | Distances between input line and consecutive points of input path | ||
![]() |
outConnectingSegments | list[Segment2D] | Segments connecting input line and consecutive points of input path having minimal length |



