Back to Aurora Vision Library website

You are here: Start » Function Reference » Geometry 2D » Geometry 2D Features » RectangleBoundingBox

RectangleBoundingBox


Header: AVL.h
Namespace: avl
Module: FoundationLite

Computes the smallest box containing a rectangle.

Syntax

C++
C#
 
void avl::RectangleBoundingBox
(
	const avl::Rectangle2D& inRectangle,
	avl::Box& outBoundingBox
)

Parameters

Name Type Default Description
Input value inRectangle const Rectangle2D&
Output value 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.