Back to Adaptive Vision Studio website

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


Creates a segment contained in a box from a line.

Name Type Description
inLine Line2D
inBox Box Box defining a region the input line will be cropped to
outSegment Segment2D?


CropLine performed on line and box.


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

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of CropLine filter group.