You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Features » 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 | |
---|---|---|---|---|---|
![]() | inRectangle | AvlNet.Rectangle2D | |||
![]() | outBoundingBox | AvlNet.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.