Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Normalizations » ReorientRectangle
ReorientRectangle
Header: | AVL.h |
---|---|
Namespace: | avl |
Changes orientation of the given rectangle by multiple of 90 degrees.
Syntax
void avl::ReorientRectangle ( const avl::Rectangle2D& inRectangle, const int inRotationCount, avl::Rectangle2D& outRectangle )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inRectangle | const Rectangle2D& | Input rectangle | ||
inRotationCount | const int | 0 | Defines by what multiplicity of 90 degrees rectangle orientation should be changed | |
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.