PointsBoundingRectangle_FixedAngle
Computes the smallest rectangle with the given orientation angle containing an array of points.
Syntax
C++
Python
def PointsBoundingRectangle_FixedAngle( inPoints: list[Point2D], /, *, inAngle: float = 0, outCenter: Point2D | None = None ) -> ( outBoundingRectangle: Rectangle2D, outLongSide: float, outShortSide: float )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPoints | list[Point2D] | Input array of points | |
![]() |
inAngle | float | 0 | Expected angle of the resulting rectangle |
![]() |
outBoundingRectangle | Rectangle2D | Smallest bounding rectangle of the input points | |
![]() |
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 |


