MGL_emptyRegion

Determines if a region is empty.

Declaration

ibool MGLAPI MGL_emptyRegion(
    const region_t *r)

Prototype In

mgraph.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

MGL_equalRegion, MGL_unionRegion, MGL_diffRegion, MGL_sectRegion, MGL_offsetRegion, MGL_ptInRegion, MGL_ptInRegionCoord

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