Back to Aurora Vision Library Lite website

You are here: Start » Geometry 2D » Geometry 2D Intersections » TestRectangleIntersectsWith

TestRectangleIntersectsWith


Header: AVL.h
Namespace: avl

Tests if two rectangles intersect.

Syntax

void avl::TestRectangleIntersectsWith
(
	const avl::Rectangle2D& inRectangle,
	const avl::Rectangle2D& inReferenceRectangle,
	bool& outRectanglesIntersect
)

Parameters

Name Type Default Description
Input value inRectangle const Rectangle2D&
Input value inReferenceRectangle const Rectangle2D&
Output value outRectanglesIntersect bool&