Start » Filter Reference » Geometry 2D » Geometry 2D Spatial Transforms » TrimLineToRectangle
Module: | FoundationLite |
---|
Creates a segment contained in a rectangle from a line.
Name | Type | Description | |
---|---|---|---|
inLine | Line2D | ||
inRectangle | Rectangle2D | Rectangle defining a region the input line will be cropped to | |
outSegment | Segment2D? |
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite line on input in TrimLineToRectangle. |
Complexity Level
This filter is available on Advanced Complexity Level.
Filter Group
This filter is member of TrimLine filter group.