Creates a segment contained in a box from another segment.
Syntax
C++
C#
Python
def TrimSegment(
inSegment: Segment2D,
inBox: Box,
/
)
-> outSegment: Segment2D | None
Parameters
|
Name |
Type |
Default |
Description |
 |
inSegment |
Segment2D |
|
|
 |
inBox |
Box |
|
|
 |
outSegment |
Segment2D | None |
|
|