You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Normalizations » AVL.ReorientRectangle

AVL.ReorientRectangle

Changes orientation of the given rectangle by multiple of 90 degrees.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ReorientRectangle
(
	AvlNet.Rectangle2D inRectangle,
	int inRotationCount,
	out AvlNet.Rectangle2D outRectangle
)

Parameters

Name Type Range Default Description
inRectangleAvlNet.Rectangle2DInput rectangle.
inRotationCountint0Defines by what multiplicity of 90 degrees rectangle orientation should be changed. Default value: 0.
outRectangleAvlNet.Rectangle2D

See also