You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » FIL.TrimLineToRectangle
Creates a segment contained in a rectangle from a line.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void TrimLineToRectangle ( FilNet.Line2D inLine, FilNet.Rectangle2D inRectangle, out FilNet.Segment2D? outSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inLine | FilNet.Line2D | |||
![]() | inRectangle | FilNet.Rectangle2D | Rectangle defining a region the input line will be cropped to. | ||
![]() | outSegment | FilNet.Segment2D? |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite line on input in TrimLineToRectangle. |