CODGlobal::RectIntersect

BOOLCODGlobal::RectIntersect(CRectrect1, CRectrect2)

Determines if two rectangles intersect.

Defined in: OdGlobal.cpp

Return Value

TRUE if they do intersect.

Parameters

rect1

The first rectangle to test.

rect2

The second rectangle to test.

Comments

This method works even if either one of the rectangles has a zero width or height.