You are here: Start » AVL.NET » AVL.RegionInscribedBox
Computes the largest box contained in a region.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void RegionInscribedBox ( AvlNet.Region inRegion, float inMinAspectRatio, int inMinWidth, int inMinHeight, out AvlNet.Box? outBox )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegion | AvlNet.Region | Input region. | |||
inMinAspectRatio | float | <0.0f, INF> | 0.0f | Minimal aspect ratio of found box. Default value: 0.0f. | |
inMinWidth | int | <1, INF> | 1 | Minimal width of found box. Default value: 1. | |
inMinHeight | int | <1, INF> | 1 | Minimal height of found box. Default value: 1. | |
outBox | AvlNet.Box? | Found box with largest area. |