TrimSegmentToPolygon


Finds all subsegments that are inside a given polygon.

Syntax

C++
C#
Python
 
def TrimSegmentToPolygon(
	inPolygon: Path,
	inSegment: Segment2D,
	/
)
-> outSubsegments: list[Segment2D]

Parameters

Name Type Default Description
Input value inPolygon Path
Input value inSegment Segment2D
Output value outSubsegments list[Segment2D]