Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Normalizations » ReorientRectangle
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Changes orientation of the given rectangle by multiple of 90 degrees.
Syntax
C++
C#
void fil::ReorientRectangle ( const fil::Rectangle2D& inRectangle, const int inRotationCount, fil::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.