GA_disjointRect

Determines if two rectangles are disjoint.

Declaration

ibool GA_disjointRect(
GA_rect r1,
GA_rect r2)

Prototype In

snap/graphics.h

Parameters

r1 | First rectangle to test
r2 | Second rectangle to test

Return Value

True if the rectangles are disjoint, false if they overlap.

Description

This function determines whether two rectangles are disjoint, which is true if the rectangles do not overlap at any coordinates.

See Also

GA_emptyRect, GA_equalRect, GA_unionRect, GA_sectRect

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com