You are here: Start » AVL.NET » Invoke.TrimSegmentToRectangle
Creates a segment contained in a rectangle from another segment.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void TrimSegmentToRectangle ( Avl.Segment2D inSegment, Avl.Rectangle2D inRectangle, Conditional<Avl.Segment2D> outSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSegment | Avl.Segment2D | |||
![]() | inRectangle | Avl.Rectangle2D | Rectangle defining a region the input segment will be cropped to. | ||
![]() | outSegment | Atl.Conditional<Avl.Segment2D> |