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


