Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Algorithm: point with N distance of a line between two other points

by LanX (Saint)
on Nov 04, 2010 at 13:30 UTC ( [id://869464]=note: print w/replies, xml ) Need Help??


in reply to Re: Algorithm: point with N distance of a line between two other points
in thread Algorithm: point with N distance of a line between two other points

> Like Limbic~Region already said if the distance is small, an approximation is good enough, i.e. use a straight line instead of an arc.

IMHO one can choose a spherical projection around the point in question which keeps distances¹ fix, no matter how big the region is.

Shouldn't be too difficult to find corresponding techniques in spherical geometry.

Cheers Rolf

1) maybe its even better to choose gnomonic projection, where "great circles are mapped to straight lines" as long as bigger distances have bigger projections.

UPDATE: ah indeed "Thus the shortest route between two locations in reality corresponds to that on the map.". Of course the real distance on the sphere still has to be calculated after back projecting the "nearest" point.

  • Comment on Re^2: Algorithm: point with N distance of a line between two other points

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-16 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found