Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.stsci.edu/~sontag/spicedocs/cspice/wnfetd_c.html
Дата изменения: Sat Dec 17 06:10:16 2005 Дата индексирования: Mon Apr 11 00:13:13 2016 Кодировка: Поисковые слова: http astrokuban.info astrokuban |
Fetch a particular interval from a double precision window.
WINDOWS
VARIABLE I/O DESCRIPTION -------- --- -------------------------------------------------- window I Input window. n I Index of interval to be fetched. left, right O Left, right endpoints of the nth interval.
window is a window containing zero or more intervals. window must be declared as a double precision SpiceCell. n is the index of a particular interval within the window. Indices range from 0 to N-1, where N is the number of intervals in the window.
left, right are the left and right endpoints of the nth interval in the input window.
None.
None.
Let window contain the intervals [ 1, 3 ] [ 7, 11 ] [ 23, 27 ] Then the following calls wnfetd_c ( &window, -1, &left, &right ); (1) wnfetd_c ( &window, 1, &left, &right ); (2) wnfetd_c ( &window, 5, &left, &right ); (3) yield the following values of left and right left right --------- --------- Undefined Undefined 7 11 Undefined Undefined
None.
1) If the input window does not have double precision type, the error SPICE(TYPEMISMATCH) is signaled. 2) If n is less than zero, the error SPICE(NOINTERVAL) is signaled. 3) If the interval does not exist, ie., n is greater than the number of intervals in the window, the error SPICE(NOINTERVAL) is signaled.
None.
N.J. Bachman (JPL) W.L. Taber (JPL) I.M. Underwood (JPL)
None.
-CSPICE Version 1.0.0, 22-AUG-2002 (NJB) (WLT) (IMU)
fetch an interval from a d.p. window