Back to FabImage Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Features » RectangleBoundingBox

RectangleBoundingBox
Header: | FIL.h |
---|---|
Namespace: | fil |
Computes the smallest box containing a rectangle.
Syntax
void fil::RectangleBoundingBox ( const fil::Rectangle2D& inRectangle, fil::Box& outBoundingBox )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inRectangle | const Rectangle2D& | ||
![]() |
outBoundingBox | Box& |
Examples
![]() |
RectangleBoundingBox performed on a rectangle (blue) with parameters: X = 25, Y = 175, Angle = 325, Width = 250, Height = 125.
The result (red box) is returned in outBoundingBox.