Back to FabImage Library Lite website

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

TestRectangleIntersectsWith


Header: FIL.h
Namespace: fil

Tests if two rectangles intersect.

Syntax

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

Parameters

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