CircleBoundingRectangle
Computes the smallest rectangle containing a circle.
Syntax
C++
Python
def CircleBoundingRectangle( inCircle: Circle2D, /, *, inAngle: float | None = None, outCenter: Point2D | None = None ) -> ( outBoundingRectangle: Rectangle2D, outLongSide: float, outShortSide: float )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inCircle | Circle2D | Input circle | |
![]() |
inAngle | float | None | None | Expected angle of the resulting rectangle |
![]() |
outBoundingRectangle | Rectangle2D | Smallest bounding rectangle of the input circle | |
![]() |
outCenter | Point2D | None | None | Center of the bounding rectangle |
![]() |
outLongSide | float | Length of the bounding rectangle long side | |
![]() |
outShortSide | float | Length of the bounding rectangle short side |


