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

AVL.RectangleBoundingBox

Computes the smallest box containing a rectangle.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RectangleBoundingBox
(
	AvlNet.Rectangle2D inRectangle,
	out AvlNet.Box outBoundingBox
)

Parameters

Name Type Range Default Description
inRectangleAvlNet.Rectangle2D
outBoundingBoxAvlNet.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.

See also