|
Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://xmm.vilspa.esa.es/sas/7.1.0/doc/ssclib/node119.html
Дата изменения: Mon Jul 9 01:26:56 2007 Дата индексирования: Sat Dec 22 09:49:19 2007 Кодировка: Поисковые слова: http www.astronomy.ru forum index.php topic 4644.0.html |
subroutine calcEllipseFromAngle(xSemi, ySemi, angleDeg, xVals, yVals)
real(single), intent(in) :: xSemi, ySemi, angleDeg
real(single), intent(out) :: xVals(:), yVals(size(xVals))
end subroutine calcEllipseFromAngle
Equation 2 can be decomposed into the following pair of parametric equations in
:
here plays the same role as in equations 3 and 4. The subroutine returns points evenly distributed in
.
The matching `phase'-style subroutine is
subroutine calcEllipseFromPhase(xAmp, yAmp, phase, xVals, yVals)
real(single), intent(in) :: xAmp, yAmp, phase
real(single), intent(out) :: xVals(:), yVals(size(xVals))
end subroutine calcEllipseFromPhase
Again the point coordinates returned in xVals and yVals are distributed evenly in
.