You are here: Start » AVL.NET » AVL.RectangleBoundingBox Method

AVL.RectangleBoundingBox Method

Computes the smallest box containing a rectangle.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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