TrimLine
Creates a segment contained in a box from a line.
Syntax
C++
Python
def TrimLine( inLine: Line2D, inBox: Box, / ) -> outSegment: Segment2D | None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inLine | Line2D | ||
![]() |
inBox | Box | Box defining a region the input line will be cropped to | |
![]() |
outSegment | Segment2D | None |


