Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Geometry 2D Features » PointsBoundingRectangle_FixedAngle

PointsBoundingRectangle_FixedAngle


Computes the smallest rectangle with the given orientation angle containing an array of points.

Name Type Description
inPoints Point2DArray Input array of points
inAngle Real Expected angle of the resulting rectangle
outBoundingRectangle Rectangle2D Smallest bounding rectangle of the input points
outCenter Point2D Center of the bounding rectangle
outLongSide Real Length of the bounding rectangle long side
outShortSide Real Length of the bounding rectangle short side

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 Empty array on input in PointsBoundingRectangle_FixedAngle.

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of PointsBoundingRectangle filter group.