You are here: Start » AVL.NET » Invoke.RegionBoundingRectangle_FixedAngle
Computes the smallest rectangle with the given orientation angle containing a region.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void RegionBoundingRectangle_FixedAngle ( Avl.Region inRegion, float inAngle, out Avl.Rectangle2D outBoundingRectangle, Optional<Avl.Point2D> outCenter, Optional<float> outLongSide, Optional<float> outShortSide )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inRegion | Avl.Region | Input region. | ||
![]()  | inAngle | float | Expected angle of the resulting rectangle. | ||
![]()  | outBoundingRectangle | Avl.Rectangle2D | Smallest bounding rectangle of the input region. | ||
![]()  | outCenter | Atl.Optional<Avl.Point2D> | Center of the bounding rectangle. | ||
![]()  | outLongSide | Atl.Optional<float> | Length of the bounding rectangle long side. | ||
![]()  | outShortSide | Atl.Optional<float> | Length of the bounding rectangle short side. | 


