[AstroPy] how to judge a point is in some rectangle or not?

Marshall Perrin mperrin@stsci....
Sun Jul 1 08:36:45 CDT 2012

On Jul 1, 2012, at 3:34 PM, "gonghang.naoc" <ghang.naoc@gmail.com> wrote:

> Suppose we know the coordinates of the rectangle and the point,  is there a python script can handle this problem?
> What if the rectangle becomes a polygon?


See http://ask.scipy.org/en/topic/5-efficient-inside-polygon-test-for-an-array

 - Marshall

> Thanks!
> _______________________________________________
> AstroPy mailing list
> AstroPy@scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy

More information about the AstroPy mailing list