Back to Adaptive Vision Library website

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

TestRectangleIntersectsWith


Tests if two rectangles intersect.

Header:AVL.h

Syntax

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

Parameters

Name Type Default Description
inRectangle const Rectangle2D&
inReferenceRectangle const Rectangle2D&
outRectanglesIntersect bool&