Hi,
Le 29/09/2015 15:58, Peter Q. a écrit :
Hi.
I need your help.
Is there a function for distance between two points?
Thanks in advance.
.
Sharing the thoughtful skepticism of Claus, i would say: If the points
are lying on a sphere and you are looking for the shortest direct arc
linking them along the sphere, the Wikipedia page about spherical
trigonometry might help you:
https://en.wikipedia.org/wiki/Spherical_trigonometry
Then, the usual cos(), and sin() Scilab functions will allow you
implementing the relevant spherical formula.
;)
Samuel Gougeon
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users