Back to Adaptive Vision Studio website

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

CropLineToRectangle


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 CropLineToRectangle.

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of CropLine filter group.