Back to Aurora Vision Library Lite website

You are here: Start » Geometry 2D » Geometry 2D Features » RectangleArea

RectangleArea


Header: AVL.h
Namespace: avl

Computes the area of a rectangle.

Syntax

void avl::RectangleArea
(
	const avl::Rectangle2D& inRectangle,
	float& outArea
)

Parameters

Name Type Default Description
Input value inRectangle const Rectangle2D&
Output value outArea float&

Examples

RectangleArea performed on a rectangle with parameters: X = 25, Y = 175, Angle = 325, Width = 250, Height = 125. The outArea returns a value of 31250.