CSPICE_WNELMD determine whether a point is an element of a double
precision window.
Given:
point value which may or may not exist in one of the intervals in
window.
[1,1] = size(point); double = class(point)
window SPICE window containing zero or more intervals.
[2n,1] = size(window); double = class(window)
the call:
boolean = cspice_wnelmd( point, window )
returns:
A boolean with value true if 'point' exists as an element of
'window'.
a(i) < point < b(i)
 
for some interval [ a(i), b(i) ] in 'window', false
otherwise.
Any numerical results shown for this example may differ between
platforms as the results depend on the SPICE kernels used as input
and the machine specific arithmetic implementation.
%
% Let 'window' contain the intervals
%
window = [ [ 1; 3 ]; [ 7; 11 ]; [ 23; 27 ]; ];
%
% Then the following expressions take the value true.
%
cspice_wnelmd( 1.0, window )
cspice_wnelmd( 9.0, window )
%
% and the following expressions take the value false.
%
cspice_wnelmd( 0.0, window )
cspice_wnelmd( 13.0, window )
cspice_wnelmd( 29.0, window )
None.
For important details concerning this module's function, please refer to
the CSPICE routine wnelmd_c.
MICE.REQ
WINDOWS.REQ
Mice Version 1.0.2, 12MAR2012, EDW (JPL), SCK (JPL)
Edited I/O section to conform to NAIF standard for Mice documentation.
"logical" call replaced with "zzmice_logical."
Corrected version ID in 23JUL2009 entry, "1.0.0" to "1.0.1."
Mice Version 1.0.1, 23JUL2009, EDW (JPL)
Replaced 'boolean' calls with 'logical' as 'boolean' functionally
aliases 'logical'.
Mice Version 1.0.0, 17JUL2007, EDW (JPL)
element of a d.p. window
