You are here: Start » AVL.NET » Invoke.PathBoundingRectangle_FixedAngle
Computes the smallest rectangle with the given orientation angle containing a path.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void PathBoundingRectangle_FixedAngle ( Avl.Path inPath, float inAngle, out Avl.Rectangle2D outBoundingRectangle, Optional<Avl.Point2D> outCenter, Optional<float> outLongSide, Optional<float> outShortSide )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPath | Avl.Path | Input path. | ||
![]() | inAngle | float | Expected angle of the resulting rectangle. | ||
![]() | outBoundingRectangle | Avl.Rectangle2D | Smallest bounding rectangle of the input path. | ||
![]() | outCenter | Atl.Optional<Avl.Point2D> | Center of the bounding rectangle. | ||
![]() | outLongSide | Atl.Optional<float> | Length of the bounding rectangle long side. | ||
![]() | outShortSide | Atl.Optional<float> | Length of the bounding rectangle short side. |