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



