You are here: Start » AVL.NET » AVL.CropLine(AvlNet.Line2D, AvlNet.Box, AvlNet.Segment2D?)
AVL.CropLine(AvlNet.Line2D, AvlNet.Box, AvlNet.Segment2D?)
Creates a segment contained in a box from a line.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void CropLine( AvlNet.Line2D inLine, AvlNet.Box inBox, out AvlNet.Segment2D? outSegment )
Parameters
- inLine
- Type: AvlNet.Line2D
- inBox
- Type: AvlNet.Box
Box defining a region the input line will be cropped to - outSegment
- Type: System.Nullable<AvlNet.Segment2D>
Examples
![]() |
![]() |
CropLine performed on line and box.
Errors
| Error type | Description |
|---|---|
| DomainError | Indefinite line on input in CropLine. |


