Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Line intersection, scaled to thousands of points

by Zaxo (Archbishop)
on Jul 18, 2001 at 17:18 UTC ( [id://97640]=note: print w/replies, xml ) Need Help??


in reply to Line intersection, scaled to thousands of points

If your shoreline data already knows which point is next down the beach, this becomes a problem in graph topology - grouping connected pieces of the shoreline "network". Pick a point and walk the list till you see the same point again. Pick an unvisited point, either an island or a neighboring lake, and repeat. This algorithm is linear in the number of points.

Chapter 8 of the wolf book covers this, but is geared to more complex graphs.

After Compline,
Zaxo

  • Comment on Re: Line intersection, scaled to thousands of points

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-25 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found