testing if a point is inside a polygon
- To: mathgroup at smc.vnet.net
- Subject: [mg96189] testing if a point is inside a polygon
- From: Mitch Murphy <mitch at lemma.ca>
- Date: Mon, 9 Feb 2009 05:32:10 -0500 (EST)
is there a way to test whether a point is inside a polygon? ie. PointInsidePolygonQ[point_,polygon_] -> True or False i'm trying to do something like ... ListContourPlot[table,RegionFunction->CountryData["Canada","Polygon"]] to create what would be called a "clipping mask" in photoshop. cheers, Mitch
- Follow-Ups:
- Re: Re: Re: testing if a point is
- From: DrMajorBob <btreat1@austin.rr.com>
- Re: Re: Re: testing if a point is
- From: DrMajorBob <btreat1@austin.rr.com>
- Re: testing if a point is inside a polygon
- From: Adriano Pascoletti <adriano.pascoletti@dimi.uniud.it>
- Re: testing if a point is inside a polygon
- From: Frank Scherbaum <Frank.Scherbaum@geo.uni-potsdam.de>
- Re: Re: Re: testing if a point is