Expand description
A Rust idiomatic CSPICE wrapper built with procedural macros.
Structs§
- Cell
- A cell is a data structure intended to provide safe array access within the applications.
Constants§
Functions§
- bodc2n
- Translate the SPICE integer code of a body into a common name for that body.
- bodfnd
- Determine whether values exist for some item for any body in the kernel pool.
- bodn2c
- Translate the name of a body or object to the corresponding SPICE integer ID code.
- bodvrd
- Fetch from the kernel pool the double precision values of an item associated with a body.
- dascls
- close a das file.
- dasopr
- Open a DAS file for reading.
- deltet
- Return the value of Delta ET (ET-UTC) for an input epoch.
- dlabfs
- Begin a forward segment search in a DLA file.
- dskgd
- Return the DSK descriptor from a DSK segment identified by a DAS handle and DLA descriptor.
- dskn02
- Compute the unit normal vector for a specified plate from a type 2 DSK segment.
- dskobj
- Find the set of body ID codes of all objects for which topographic data are provided in a specified DSK file.
- dskp02
- Fetch triangular plates from a type 2 DSK segment.
- dskv02
- Fetch vertices from a type 2 DSK segment.
- dskx02
- Determine the plate ID and body-fixed coordinates of the intersection of a specified ray with the surface defined by a type 2 DSK plate model.
- dskz02
- Return plate model size parameters—plate count and vertex count—for a type 2 DSK segment.
- furnsh
- Load one or more SPICE kernels into a program.
- gdpool
- Return the d.p. value of a kernel variable from the kernel pool.
- georec
- Convert geodetic coordinates to rectangular coordinates.
- getfov
- Return the field-of-view (FOV) parameters for a specified instrument. The instrument is specified by its NAIF ID code.
- illumf
- Compute the illumination angles—phase, incidence, and emission—at a specified point on a target body. Return logical flags indicating whether the surface point is visible from the observer’s position and whether the surface point is illuminated.
- kclear
- Clear the KEEPER subsystem: unload all kernels, clear the kernel pool, and re-initialize the subsystem. Existing watches on kernel variables are retained.
- kdata
- Fetch vertices from a type 2 DSK segment.
- ktotal
- Return the current number of kernels that have been loaded via the KEEPER interface that are of a specified type.
- latrec
- Convert from latitudinal coordinates to rectangular coordinates.
- mxv
- Multiply a 3x3 double precision matrix with a 3-dimensional double precision vector.
- occult
- Determines the occultation condition (not occulted, partially, etc.) of one target relative to another target as seen by an observer at a given time, with targets modeled as points, ellipsoids, or digital shapes (DSK)
- pxform
- Return the matrix that transforms position vectors from one specified frame to another at a specified epoch.
- pxfrm2
- Return the 3x3 matrix that transforms position vectors from one specified frame at a specified epoch to another specified frame at another specified epoch.
- radrec
- Convert range, right ascension, and declination to rectangular coordinates
- recpgr
- Convert rectangular coordinates to planetographic coordinates.
- recrad
- Convert rectangular coordinates to range, right ascension, and declination.
- sincpt
- Compute, for a given observer and a ray emanating from the observer, the surface intercept of the ray on a target body at a specified epoch, optionally corrected for light time and stellar aberration.
- spkcls
- Close a SPK file opened for read or write.
- spkezr
- Return the state (position and velocity) of a target body relative to an observing body, optionally corrected for light time (planetary aberration) and stellar aberration.
- spkopn
- Create a new SPK file, returning the handle of the opened file
- spkpos
- Return the position of a target body relative to an observing body, optionally corrected for light time (planetary aberration) and stellar aberration.
- spkw09
- Write a type 9 segment to an SPK file.
- str2et
- Convert a string representing an epoch to a double precision value representing the number of TDB seconds past the J2000 epoch corresponding to the input epoch.
- subpnt
- Compute the rectangular coordinates of the sub-observer point on a target body at a specified epoch, optionally corrected for light time and stellar aberration.
- surfpt
- Determine the intersection of a line-of-sight vector with the surface of an ellipsoid.
- timout
- Convert an input epoch represented in TDB seconds past the TDB epoch of J2000 to a character string formatted to the specifications of a user’s format picture.
- unitim
- Transform time from one uniform scale to another. The uniform time scales are TAI, GPS, TT, TDT, TDB, ET, JED, JDTDB, JDTDT.
- unload
- Unload a SPICE kernel.
- vcrss
- Compute the cross product of two 3-dimensional vectors.
- vdot
- Compute the dot product of two double precision, 3-dimensional vectors.
- vsep
- Find the separation angle in radians between two double precision, 3-dimensional vectors. This angle is defined as zero if either vector is zero.
- xpose
- Transpose a 3x3 matrix.