You are here: Start » FIL.NET » Invoke.PointsBoundingRectangle_FixedAngle
Computes the smallest rectangle with the given orientation angle containing an array of points.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void PointsBoundingRectangle_FixedAngle ( List<Fil.Point2D> inPoints, float inAngle, out Fil.Rectangle2D outBoundingRectangle, Optional<Fil.Point2D> outCenter, Optional<float> outLongSide, Optional<float> outShortSide )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.List<Fil.Point2D> | Input array of points. | ||
![]() | inAngle | float | Expected angle of the resulting rectangle. | ||
![]() | outBoundingRectangle | Fil.Rectangle2D | Smallest bounding rectangle of the input points. | ||
![]() | outCenter | Ftl.Optional<Fil.Point2D> | Center of the bounding rectangle. | ||
![]() | outLongSide | Ftl.Optional<float> | Length of the bounding rectangle long side. | ||
![]() | outShortSide | Ftl.Optional<float> | Length of the bounding rectangle short side. |