You are here: Start » AVL.NET » AVS.RegionInscribedBox Method

AVS.RegionInscribedBox Method

Computes the largest box contained in a region.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void RegionInscribedBox
(
	AvlNet.Region inRegion,
	float inMinAspectRatio,
	int inMinWidth,
	int inMinHeight,
	out AvlNet.Box? outBox
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
inMinAspectRatiofloat<0.0f, INF>0.0fMinimal aspect ratio of found box. Default value: 0.0f.
inMinWidthint<1, 65535>1Minimal width of found box. Default value: 1.
inMinHeightint<1, 65535>1Minimal height of found box. Default value: 1.
outBoxAvlNet.Box?Found box with largest area.

Function Overrides

See also