Back to Aurora Vision Library Lite website

You are here: Start » Geometry 2D » Geometry 2D Spatial Transforms » InflateRectangle

InflateRectangle


Header: AVL.h
Namespace: avl

Enlarges a rectangle by a given margin.

Syntax

void avl::InflateRectangle
(
	const avl::Rectangle2D& inRectangle,
	float inMargin,
	avl::Rectangle2D& outRectangle
)

Parameters

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