PathToPointDistance
Computes the smallest distance between a path and a point.
Syntax
C++
C#
Python
def PathToPointDistance( inPoint: Point2D, inPath: Path, inResolution: float, /, *, outConnectingSegment: Segment2D | None = None ) -> outDistance: float
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inPoint | Point2D | Input point | ||
![]() |
inPath | Path | Input path | ||
![]() |
inResolution | float | 0.0 - ![]() |
||
![]() |
outDistance | float | Minimal distance between input path and input point | ||
![]() |
outConnectingSegment | Segment2D | None | None | Segment connecting input path and input point having minimal length |



