You are here: Start » FIL.NET » FIS.RegionInscribedBox Method
FIS.RegionInscribedBox Method
Computes the largest box contained in a region.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void RegionInscribedBox ( FilNet.Region inRegion, float inMinAspectRatio, float? inMaxAspectRatio, int inMinWidth, int? inMaxWidth, int inMinHeight, int? inMaxHeight, out FilNet.Box? outBox )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | FilNet.Region | Input region. | ||
![]() | inMinAspectRatio | float | <0.0f, INF> | 0.0f | Minimal aspect ratio of found box. Default value: 0.0f. |
![]() | inMaxAspectRatio | float? | <0.0f, INF> | Maximal aspect ratio of found box (reciprocal of inMinAspectRatio by default). Default value: ftl::NIL. | |
![]() | inMinWidth | int | <1, 65535> | 1 | Minimal width of found box. Default value: 1. |
![]() | inMaxWidth | int? | <1, 65535> | Maximal width of found box. Default value: ftl::NIL. | |
![]() | inMinHeight | int | <1, 65535> | 1 | Minimal height of found box. Default value: 1. |
![]() | inMaxHeight | int? | <1, 65535> | Maximal height of found box. Default value: ftl::NIL. | |
![]() | outBox | FilNet.Box? | Found box with largest area. |