You are here: Start » FIL.NET » Invoke.RegionBoundingRectangle
Computes the smallest rectangle containing a region.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void RegionBoundingRectangle ( Fil.Region inRegion, Fil.BoundingRectangleFeature inBoundingRectangleFeature, float inReferenceAngle, Fil.RectangleOrientation inRectangleOrientation, out Fil.Rectangle2D outBoundingRectangle, Optional<Fil.Point2D> outCenter, Optional<float> outLongSide, Optional<float> outShortSide )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | Fil.Region | Input region. | ||
![]() | inBoundingRectangleFeature | Fil.BoundingRectangleFeature | MinimalArea | Determines what kind of bounding rectangle will be computed. Default value: MinimalArea. | |
![]() | inReferenceAngle | float | 0.0f | The middle angle of the valid range of the output rectangle's angle. Default value: 0.0f. | |
![]() | inRectangleOrientation | Fil.RectangleOrientation | Horizontal | Orientation of the output rectangle. Default value: Horizontal. | |
![]() | outBoundingRectangle | Fil.Rectangle2D | The smallest bounding rectangle of the input region. | ||
![]() | 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. |