You are here: Start » AVL.NET » AVS.CircleBoundingRectangle Method
AVS.CircleBoundingRectangle Method
Computes the smallest rectangle containing a circle.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void CircleBoundingRectangle ( AvlNet.Circle2D inCircle, float? inAngle, out AvlNet.Rectangle2D outBoundingRectangle, NullableValue<AvlNet.Point2D> outCenter, NullableValue<float> outLongSide, NullableValue<float> outShortSide )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inCircle | AvlNet.Circle2D | Input circle. | |||
inAngle | float? | Expected angle of the resulting rectangle. Default value: atl::NIL. | |||
outBoundingRectangle | AvlNet.Rectangle2D | Smallest bounding rectangle of the input circle. | |||
outCenter | AvlNet.NullableValue<AvlNet.Point2D> | Center of the bounding rectangle. Can be null to skip this parameter calculation. | |||
outLongSide | AvlNet.NullableValue<float> | Length of the bounding rectangle long side. Can be null to skip this parameter calculation. | |||
outShortSide | AvlNet.NullableValue<float> | Length of the bounding rectangle short side. Can be null to skip this parameter calculation. |
Function Overrides
- CircleBoundingRectangle(Circle2D, Rectangle2D)
- CircleBoundingRectangle(Circle2D, Nullable<Single>, Rectangle2D)
- CircleBoundingRectangle(Circle2D, Nullable<Single>, Rectangle2D, Point2D, Single, Single)