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
Input value inLine Line2D
Input value inBox Box Box defining a region the input line will be cropped to
Output value outSegment Segment2D | None