MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: testing if a point is inside a polygon

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96284] Re: [mg96189] testing if a point is inside a polygon
  • From: Adriano Pascoletti <adriano.pascoletti at dimi.uniud.it>
  • Date: Wed, 11 Feb 2009 05:16:55 -0500 (EST)
  • References: <200902091032.FAA12225@smc.vnet.net>

Mitch,

the problem was discussed by the mathgroup in 2000 and Luc Barthelet has
collected some results at
http://www.mathematica-users.org/webMathematica/wiki/wiki.jsp?pageName=Notebook:PointInsidePolygon.nb


Adriano Pascoletti


2009/2/9 Mitch Murphy <mitch at lemma.ca>

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



  • Prev by Date: Re: NMinimize Bug in Mathematica 7.0?
  • Next by Date: Re: Mathematicas simplifications
  • Previous by thread: Re: testing if a point is inside a polygon
  • Next by thread: Re: Re: testing if a point is inside a polygon