Back to Aurora Vision Library website

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

ReorientRectangle


Header: AVL.h
Namespace: avl
Module: FoundationLite

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

Syntax

C++
C#
 
void avl::ReorientRectangle
(
	const avl::Rectangle2D& inRectangle,
	const int inRotationCount,
	avl::Rectangle2D& outRectangle
)

Parameters

Name Type Default Description
Input value inRectangle const Rectangle2D& Input rectangle
Input value inRotationCount const int 0 Defines by what multiplicity of 90 degrees rectangle orientation should be changed
Output value outRectangle Rectangle2D&

In-place Processing

This function supports in-place data processing - you can pass the same reference to inRectangle and outRectangle

Read more about In-place Computation.