- Abstract
Fetch a particular interval from a double precision window.
- Required_Reading
WINDOWS
- Brief_I/O
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.
- Detailed_Input
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.
- Detailed_Output
left,
right are the left and right endpoints of the nth interval
in the input window.
- Parameters
None.
- Particulars
None.
- Examples
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
- Restrictions
None.
- Exceptions
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.
- Files
None.
- Author_and_Institution
N.J. Bachman (JPL)
W.L. Taber (JPL)
I.M. Underwood (JPL)
- Literature_References
None.
- Version
-CSPICE Version 1.0.0, 22-AUG-2002 (NJB) (WLT) (IMU)
- Index_Entries
fetch an interval from a d.p. window
- Link to routine source