MGL_ptInRegionCoord
Determines if a point is contained in a specified region.
Declaration
ibool MGLAPI MGL_ptInRegionCoord(
int x,
int y,
const region_t *rgn)
Prototype In
mgraph.h
Parameters
x |
x coordinate to test for inclusion |
y |
y coordinate to test for inclusion |
rgn |
Region to test |
Return Value
True if the point is contained in the region, false if not.
Description
This function determines if a specified point is contained within a particular region. Note that if the region has a hole it in, and the point lies within the hole, then the point is classified as not being included in the region.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com