A function that works for me, assuming the Earth is close
enough to a sphere (which may or may not be true in your
application), follows below.
Hope this helps, Arien
# computes the place where you end up, if you travel a
certain distance along a great circle,
# which is uniquely defined by a
On Tue, 7 Nov 2006, justin bem wrote:
> Try this :
> >it<-seq(0,2*pi, l=100)
> >xt<-r*cos(it)
> >yt<-r*sin(it)
> >points(xt,yt,type="l",col="blue")
>
> a circle of radium r is define by
>xt=r*cos(t)
>yt=r*sin(t)
Isn't this suggestion on the plane, when the question was a
Try this :
>it<-seq(0,2*pi, l=100)
>xt<-r*cos(it)
>yt<-r*sin(it)
>points(xt,yt,type="l",col="blue")
a circle of radium r is define by
xt=r*cos(t)
yt=r*sin(t)
Justin BEM
Elève Ingénieur Statisticien Economiste
BP 294 Yaoundé.
Tél (00237)9597295.
- Message d'origine --