Picard Master


Registrado: 18 Ene 2004Mensajes: 218Ubicación: Palamos (Girona) España
|
Publicado: Jue 13 Oct, 2005 9:38 am Asunto: Otra formula |
|
|
Podeis echarme una mano con esta formula? se trata de obtener el angulo desde un puinto determinado hasta la posicion del mouse,pero no se como se come
| Código: |
Course between points
We obtain the initial course, tc1, (at point 1) from point 1 to point 2 by the following. The formula fails if the initial point is a pole. We can special case this with:
IF (cos(lat1) < EPS) // EPS a small number ~ machine precision
IF (lat1 > 0)
tc1= pi // starting from N pole
ELSE
tc1= 2*pi // starting from S pole
ENDIF
ENDIF
|
Gracias a todos para mas informacion por si me he dejado algo :
[url] http://williams.best.vwh.net/avform.htm#Crs [/url] _________________ El hombre es el unico ser que tropieza dos veces en la misma piedra ( en mi caso infinitas veces) |
|