You are here: Start » FIL.NET » Function Reference » Region » Region Features » FIL.RegionBoundingParallelogram
Computes the smallest parallelogram containing a region.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RegionBoundingParallelogram ( FilNet.Region inRegion, FilNet.BoundingRectangleFeature inBoundingParallelogramFeature, FilNet.Path outBoundingParallelogram, out FilNet.Point2D outCenter, out float outLongSide, out float outShortSide, out float outAngle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | FilNet.Region | Input region. | ||
![]() | inBoundingParallelogramFeature | FilNet.BoundingRectangleFeature | MinimalArea | Determines what kind of bounding parallelogram will be computed. Default value: MinimalArea. | |
![]() | outBoundingParallelogram | FilNet.Path | Smallest bounding parallelogram of the input points. | ||
![]() | outCenter | FilNet.Point2D | 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. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty region on input in RegionBoundingParallelogram. |
Function Overrides
- RegionBoundingParallelogram(Region, BoundingRectangleFeature, Path)
- RegionBoundingParallelogram(Region, BoundingRectangleFeature, Path, NullableValue<Point2D>, NullableValue<Single>, NullableValue<Single>, NullableValue<Single>)