You are here: Start » AVL.NET » Invoke.RegionBoundingParallelogram
Computes the smallest parallelogram containing a region.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void RegionBoundingParallelogram ( Avl.Region inRegion, Avl.BoundingRectangleFeature inBoundingParallelogramFeature, Avl.Path outBoundingParallelogram, Optional<Avl.Point2D> outCenter, Optional<float> outLongSide, Optional<float> outShortSide, Optional<float> outAngle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | Avl.Region | Input region. | ||
![]() | inBoundingParallelogramFeature | Avl.BoundingRectangleFeature | MinimalArea | Determines what kind of bounding parallelogram will be computed. Default value: MinimalArea. | |
![]() | outBoundingParallelogram | Avl.Path | Smallest bounding parallelogram of the input points. | ||
![]() | outCenter | Atl.Optional<Avl.Point2D> | Center of the bounding parallelogram. | ||
![]() | outLongSide | Atl.Optional<float> | Length of the bounding parallelogram long side. | ||
![]() | outShortSide | Atl.Optional<float> | Length of the bounding parallelogram short side. | ||
![]() | outAngle | Atl.Optional<float> | Angle of the bounding parallelogram. |