TrimSegment


Creates a segment contained in a box from another segment.

Syntax

C++
Python
 
def TrimSegment(
	inSegment: Segment2D,
	inBox: Box,
	/
)
-> outSegment: Segment2D | None

Parameters

Name Type Default Description
Input value inSegment Segment2D
Input value inBox Box
Output value outSegment Segment2D | None