Back to Adaptive Vision Studio website
You are here: Start » Filter Reference » Geometry 2D Features » PointsBoundingRectangle
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 |
Examples
![]() |
The resulting outBoundingRectangle drawn with the input points and with inRectangleOrientation set on Auto
Errors
This filter can throw an exception to report error. Read how to deal with errors here: Error Handling
| Error type | Description |
|---|---|
| DomainError | No points on input in PointsBoundingRectangle. |
| DomainError | Incorrect BoundingRectangleFeature in PointsBoundingRectangle. |
Complexity Level
This filter is available on Basic Complexity Level.



