PointToLineDistance
Measures the distance between a point and a line.
Syntax
C++
Python
def PointToLineDistance( inPoint: Point2D, inLine: Line2D, inResolution: float, /, *, outConnectingSegment: Segment2D | None = None ) -> ( outDistance: float, outSignedDistance: float )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inPoint | Point2D | |||
![]() |
inLine | Line2D | |||
![]() |
inResolution | float | 0.0 - ![]() |
Number of real-world units per one pixel | |
![]() |
outDistance | float | |||
![]() |
outConnectingSegment | Segment2D | None | None | ||
![]() |
outSignedDistance | float |



