Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^8: Polygon Creation -- Request for Algorithm Suggestions

by huck (Prior)
on Nov 24, 2017 at 20:22 UTC ( [id://1204208]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %dirs = (
        # IN   [ preferred output directions ]
    ...
        'sw' => [ -1,  1, 'ne' ],
        'w'  => [ -1,  0, 'e'  ],
    );
    
  2. or download this
    OUTER2:
    while (1) {
    ...
        print "Can't find anywhere to go! ('$in_dir': $x, $y)\n";
        last OUTER2;
    }
    
  3. or download this
    Found a bit of horizontal top edge at 22, 1
     indir  w to  w code B path                    ne  e  (23,1)
    ...
     indir  s to  w code S path        sw  w nw  n ne  e  (21,2)
     indir  w to sw code T path                       ne  (22,1)
    Can't find anywhere to go! ('sw': 22, 1)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (8)
As of 2024-04-25 11:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found