You are here: Start » AVL.NET » Invoke.CircleBoundingRectangle
Computes the smallest rectangle containing a circle.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void CircleBoundingRectangle ( Avl.Circle2D inCircle, Optional<float> inAngle, out Avl.Rectangle2D outBoundingRectangle, Optional<Avl.Point2D> outCenter, Optional<float> outLongSide, Optional<float> outShortSide )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inCircle | Avl.Circle2D | Input circle. | ||
![]() | inAngle | Atl.Optional<float> | Expected angle of the resulting rectangle. Default value: atl::NIL. | ||
![]() | outBoundingRectangle | Avl.Rectangle2D | Smallest bounding rectangle of the input circle. | ||
![]() | 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. |