Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Better Logic?

by orbital (Scribe)
on Mar 21, 2001 at 01:43 UTC ( #65832=note: print w/replies, xml ) Need Help??

in reply to Better Logic?

No I can't, because the quadrant doesn't neccessarily have to be or will be for that matter a perfect square. maybe I should have used different data with my example, I need to support this type as well:

@nw=qw(5,35); @ne=qw(30,42); @se=qw(28,3); @sw=qw(1,2);

Replies are listed 'Best First'.
Re: Re: Better Logic?
by merlyn (Sage) on Mar 21, 2001 at 01:50 UTC
    So would something along the line between nw and sw be in or out? What if it's just a bit west of the line but not west of both nw/sw? What if it's a bit east, but still west of either sw or nw?

    In other words, are you now doing real math to see if it's inside? Because your last example wouldn't work with this dataset either. {grin}

    -- Randal L. Schwartz, Perl hacker

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://65832]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2023-09-24 04:15 GMT
Find Nodes?
    Voting Booth?

    No recent polls found