crwe crwe wrote:
> Looking at the implementation, it's really simple and i will do
> without matplotlib altogether and roll my own.
It sounds like you have a solution, but if you need to test a LOT of
points, it can be efficient to rasterize, and then get a lightning fast
check.
It that case,
> hi, did you find this?
> http://matplotlib.sourceforge.net/faq/howto_faq.html?highlight=codex%20nxutils#test-whether-a-point-is-inside-a-polygon
I used the search function but no, i didn't find that link :) Shame on me and
thank you Brent.
Looking at the implementation, it's really simple and
On Wed, Mar 18, 2009 at 2:48 PM, crwe crwe wrote:
> Hi all,
>
> i need to draw a polygon (non-convex) into memory, so that i can query which
> pixels are inside the polygon and which not. I came across matplotlib which
> has some Polygon class in it so i presume i could use this (although so far