Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 2D Basics » NormalizeRectangleOrientation_Deprecated

NormalizeRectangleOrientation_Deprecated


Header:AVL.h
Namespace:avl

Changes orientation of the given rectangle according to parameters.

Syntax

C++
 
void avl::NormalizeRectangleOrientation_Deprecated
(
	const avl::Rectangle2D& inRectangle,
	const float inMinAngle,
	const avl::RectangleOrientation::Type inRectangleOrientation,
	avl::Rectangle2D& outRectangle
)

Parameters

Name Type Default Description
inRectangle const Rectangle2D& Input rectangle
inMinAngle const float -90.0f Lower bound of the output rectangle's angle
inRectangleOrientation const RectangleOrientation::Type Horizontal Orientation of the output rectangle
outRectangle Rectangle2D&