PointToSegmentDistance3D
Measures the distance between a 3D point and a segment in 3D.
Syntax
C++
C#
Python
def PointToSegmentDistance3D( inPoint3D: Point3D, inSegment3D: Segment3D, inResolution: float, /, *, outConnectingSegment3D: Segment3D | None = None ) -> outDistance: float
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inPoint3D | Point3D | |||
![]() |
inSegment3D | Segment3D | |||
![]() |
inResolution | float | 0.0 - ![]() |
Number of real-world units per one pixel | |
![]() |
outDistance | float | |||
![]() |
outConnectingSegment3D | Segment3D | None | None |



