Index Page
cspice_eknseg
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X 

Abstract
I/O
Examples
Particulars
Required Reading
Version
Index_Entries

Abstract


   CSPICE_EKNSEG returns the integer number of segments in the
   EK file identified by the input integer file handle.

   For important details concerning this module's function, please refer to
   the CSPICE routine eknseg_c.

I/O


   Given:
   
      handle   a scalar integer file handle for an EK file loaded 
               in the kernel subsystem by a cspice_eklef call.
   
   the call:

      nseg = cspice_eknseg ( handle )


   returns:
   
   
      nseg   the  scalar integer number of segments in the  EK identified
             by 'handle'.

Examples

   
      ;;
      ;; Open the file named by 'EK1', returning the file handle
      ;; associated with the open file to the variable named
      ;; handle.
      ;;
      EK1 = 'test1.ek'
      cspice_ekopr, EK1, handle
   
      ;;
      ;; Return the number of segments in 'EK1'.
      ;;
      nseg = cspice_eknseg( handle )
      print, 'Number of segments = ', nseg
   
      ;;
      ;; SAFELY close the file.
      ;;
      cspice_ekcls, handle

   IDL outputs:
   
      Number of segments =            6

Particulars


   None.

Required Reading


   ICY.REQ
   EK.REQ

Version


   -Icy Version 1.0.2, 01-FEB-2008, EDW (JPL)

      Completed the previously empty I/O section.

   -Icy Version 1.0.1, 09-DEC-2005, EDW (JPL)

      Added Examples section.

   -Icy Version 1.0.0, 16-JUN-2003, EDW (JPL)

Index_Entries

 
   return number of segments in an E-kernel 
 



Wed Apr  5 17:58:00 2017