You are here: Start » AVL.NET » Invoke.PointsBoundingRectangle_FixedAngle_OrNil
Computes the smallest rectangle with the given orientation angle containing an array of points; returns NIL when the array is empty.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void PointsBoundingRectangle_FixedAngle_OrNil ( List<Avl.Point2D> inPoints, float inAngle, Conditional<Avl.Rectangle2D> outBoundingRectangle, Conditional<Avl.Point2D> outCenter, Conditional<float> outLongSide, Conditional<float> outShortSide )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inPoints | System.Collections.Generic.List<Avl.Point2D> | Input array of points. | ||
![]()  | inAngle | float | Expected angle of the resulting rectangle. | ||
![]()  | outBoundingRectangle | Atl.Conditional<Avl.Rectangle2D> | Smallest bounding rectangle of the input points. | ||
![]()  | outCenter | Atl.Conditional<Avl.Point2D> | Center of the bounding rectangle. | ||
![]()  | outLongSide | Atl.Conditional<float> | Length of the bounding rectangle long side. | ||
![]()  | outShortSide | Atl.Conditional<float> | Length of the bounding rectangle short side. | 


