Back to Adaptive Vision Studio website

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

PointsBoundingRectangle_Deprecated


Computes the smallest rectangle containing an array of points.

Name Type Description
inPoints Point2DArray Input array of points
inRectangleOrientation Real* Expected orientation of the resulting rectangle
inBoundingRectangleFeature BoundingRectangleFeature Determines what kind of bounding rectangle will be computed
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 Incorrect BoundingRectangleFeature in PointsBoundingRectangle.
DomainError No points on input in PointsBoundingRectangle.

Complexity Level

This filter is available on Basic Complexity Level.