You are here: Start » AVL.NET » Function Reference » Region » Region Spatial Transforms » AVL.ResizeRegion_Relative

AVL.ResizeRegion_Relative

Resizes region relatively along each axis.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ResizeRegion_Relative
(
	AvlNet.Region inRegion,
	float inHorizontalScale,
	float inVerticalScale,
	AvlNet.Region outRegion
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
inHorizontalScalefloat<0.0f, INF>1.0fDefault value: 1.0f.
inVerticalScalefloat<0.0f, INF>1.0fDefault value: 1.0f.
outRegionAvlNet.RegionOutput region.

Examples

ResizeRegion_Relative performed on the sample region with inHorizontalScale and inVerticalScale both set to 0,5.

Errors

List of possible exceptions:

Error type Description
DomainError Output region too big in ResizeRegion_Relative.

See also