IsEmptyRegion

Determines if a region is empty.

Declaration

ibool NAPI GA_regionFuncs::IsEmptyRegion(
const GA_region *r)

Prototype In

snap/graphics.h

Parameters

r | region to test

Return Value

True if region is empty, false if not.

Description

Determines if a region is empty or not. A region is defined as being empty if the bounding rectangle's right coordinate is less than or equal to the left coordinate, or if the bottom coordinate is less than or equal to the top coordinate.

See Also

IsEqualRegion, UnionRegion, DiffRegion, SectRegion, OffsetRegion, PtInRegion

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