PointsBoundingParallelogram
Computes the smallest parallelogram containing an array of points.
Syntax
C++
C#
Python
def PointsBoundingParallelogram( inPoints: list[Point2D], outBoundingParallelogram: Path, /, *, inBoundingParallelogramFeature: BoundingRectangleFeature = BoundingRectangleFeature.MinimalArea, outCenter: Point2D | None = None ) -> ( outLongSide: float, outShortSide: float, outAngle: float )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPoints | list[Point2D] | Input array of points | |
![]() |
inBoundingParallelogramFeature | BoundingRectangleFeature | BoundingRectangleFeature.MinimalArea | Determines what kind of bounding parallelogram will be computed |
![]() |
outBoundingParallelogram | Path | Smallest bounding parallelogram of the input points | |
![]() |
outCenter | Point2D | None | None | Center of the bounding parallelogram |
![]() |
outLongSide | float | Length of the bounding parallelogram long side | |
![]() |
outShortSide | float | Length of the bounding parallelogram short side | |
![]() |
outAngle | float | Angle of the bounding parallelogram |


