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

Re: Speeding up point-in-polygon -- take two

by roboticus (Chancellor)
on Aug 28, 2006 at 14:20 UTC ( #569984=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     *--------------------*
      \       A          /
    ...
     /      \     \   /
    *--------*     \ /
                    *
    
  2. or download this
     *--------------------*
      \       A          /
    ...
     / A(2) \     \   /
    *--------*     \ /
                    *
    
  3. or download this
    sub _pointIsInQuadrilateral {
      my ($a_point, $a_x, $a_y) = @_;
    ...
      # Point is inside quadrilateral!
      return 1;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://569984]
help
Chatterbox?
[Corion]: But in general, it seems to be an interesting approach I should think about - whenever I'm searching for something, to consider if I could search for the end of the token instead of the start of the token

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2016-12-06 15:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (108 votes). Check out past polls.