CSPICE_WNDIFD returns the difference of two double precision
a SPICE window
[2l,1] = size(a); double = class(a)
b SPICE window
[2m,1] = size(b); double = class(b)
Two SPICE windows containing zero or more intervals.
c = cspice_wndifd( a, b )
c the window difference (in the SPICE sense) of 'a' and 'b', every
point contained in 'a', but not contained in 'b'.
[2n,1] = size(c); double = class(c)
'c' can overwrite 'a' or 'b'.
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 'a' contain the intervals
a = [ [ 1; 3 ]; [ 7; 11 ]; [ 23; 27 ]; ];
% and b contain the intervals
b = [ [ 2; 4 ]; [ 8; 10 ]; [ 16; 18 ]; ];
% Then the difference of 'a' and 'b', 'c':
c = cspice_wndifd(a, b)
Representing the intervals:
[ 1, 2 ] [ 7, 8 ] [ 10, 11 ] [ 23, 27 ]
For important details concerning this module's function, please refer to
the CSPICE routine wndifd_c.
-Mice Version 1.0.1, 12-MAR-2012, EDW (JPL), SCK (JPL)
Edited I/O section to conform to NAIF standard for Mice documentation.
-Mice Version 1.0.0, 23-JUL-2007, EDW (JPL)
difference two d.p. windows