PathToPathDistanceProfile
Computes the profile of distances between two paths.
Syntax
C++
C#
Python
def PathToPathDistanceProfile( inPath1: Path, inPath2: Path, inResolution: float, outDistanceProfile: Profile, /, *, inPathDistanceMode: PathDistanceMode = PathDistanceMode.PointToPoint ) -> ( outDistances: list[float], outConnectingSegments: list[Segment2D] )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inPath1 | Path | First input path | ||
![]() |
inPath2 | Path | Second input path | ||
![]() |
inPathDistanceMode | PathDistanceMode | PathDistanceMode.PointToPoint | Distance measuring method | |
![]() |
inResolution | float | 0.0 - ![]() |
||
![]() |
outDistanceProfile | Profile | Profile of distances between second path and consecutive points of first path | ||
![]() |
outDistances | list[float] | Distances between second path and consecutive points of first path | ||
![]() |
outConnectingSegments | list[Segment2D] | Segments connecting second path and consecutive points of first path having minimal length |



