Back to FabImage Library website

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

NormalizeRectangleOrientation_Deprecated


Header:FIL.h
Namespace:fil

Changes orientation of the given rectangle according to parameters.

Syntax

C++
 
void fil::NormalizeRectangleOrientation_Deprecated
(
	const fil::Rectangle2D& inRectangle,
	const float inMinAngle,
	const fil::RectangleOrientation::Type inRectangleOrientation,
	fil::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&