PathToPathDistance
Computes the minimum distance between two paths.
Syntax
C++
C#
Python
def PathToPathDistance( inPath1: Path, inPath2: Path, inResolution: float, /, *, inPathDistanceMode: PathDistanceMode = PathDistanceMode.PointToPoint, outConnectingSegment: Segment2D | None = None ) -> outDistance: float
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 - ![]() |
||
![]() |
outDistance | float | Minimal distance between input paths | ||
![]() |
outConnectingSegment | Segment2D | None | None | Segment connecting input paths having minimal length |



