Back to FabImage Studio website

You are here: Start » Filter Reference » Geometry 2D » Geometry 2D Spatial Transforms » TrimLineToRectangle

TrimLineToRectangle


Module: FoundationLite

Creates a segment contained in a rectangle from a line.

Name Type Description
Input value inLine Line2D
Input value inRectangle Rectangle2D Rectangle defining a region the input line will be cropped to
Output value 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.