Ah, yes. The code was written with the assumption that the paths were
treated as filled (which doesn't really matter whether they are closed
or not). I have added a "filled" kwarg to Path.intersects_path and
Path.intersects_bbox that when True treats the path(s) as filled, and
when False does
Michael Droettboom wrote:
I just added a test of intersects_bbox to SVN that seems to be working
correctly for short paths containing masked values. It would appear
that masked values *should* be dealt with correctly (that is, in exactly
the same way as they are drawn) by the intersection code
On Tue, Sep 9, 2008 at 2:02 AM, Eric Firing <[EMAIL PROTECTED]> wrote:
> Evan Mason wrote:
>
>> Hi, wonder if anyone can help me with path and bbox. I have a set of
>> ocean drifter tracks and I want to know if they pass through a particular
>> boxed area. This is straightforward to do but I wan
I just added a test of intersects_bbox to SVN that seems to be working
correctly for short paths containing masked values. It would appear
that masked values *should* be dealt with correctly (that is, in exactly
the same way as they are drawn) by the intersection code. However,
there is proba
Evan Mason wrote:
> Hi, wonder if anyone can help me with path and bbox. I have a set of
> ocean drifter tracks and I want to know if they pass through a
> particular boxed area. This is straightforward to do but I wanted to
> try to do it with matplotlib.transforms and matplotlib.path, which
Hi, wonder if anyone can help me with path and bbox. I have a set of ocean
drifter tracks and I want to know if they pass through a particular boxed
area. This is straightforward to do but I wanted to try to do it with
matplotlib.transforms and matplotlib.path, which look well-suited to this
kind