MGL_ptInRegion

Determines if a point is contained in a specified region.

Declaration

ibool MGL_ptInRegion(
point_t p,
region_t rgn)

Prototype In

mgraph.h

Parameters

p | point structure containing coordinate to test
rgn | Region to test

Return Value

True if the point is contained in the region, false if not.

Description

This function is the same as MGL_ptInRegionCoord, however it takes the coordinate of the point to test as a point not two coordinates.

See Also

MGL_ptInRegion

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