Expand description
A Rust idiomatic CSPICE wrapper built with procedural macros.
Structs
- A cell is a data structure intended to provide safe array access within the applications.
Constants
Functions
- Translate the SPICE integer code of a body into a common name for that body.
- Determine whether values exist for some item for any body in the kernel pool.
- Translate the name of a body or object to the corresponding SPICE integer ID code.
- Fetch from the kernel pool the double precision values of an item associated with a body.
- close a das file.
- Open a DAS file for reading.
- Return the value of Delta ET (ET-UTC) for an input epoch.
- Begin a forward segment search in a DLA file.
- Return the DSK descriptor from a DSK segment identified by a DAS handle and DLA descriptor.
- Compute the unit normal vector for a specified plate from a type 2 DSK segment.
- Find the set of body ID codes of all objects for which topographic data are provided in a specified DSK file.
- Fetch triangular plates from a type 2 DSK segment.
- Fetch vertices from a type 2 DSK segment.
- 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.
- Return plate model size parameters—plate count and vertex count—for a type 2 DSK segment.
- Load one or more SPICE kernels into a program.
- Return the d.p. value of a kernel variable from the kernel pool.
- Convert geodetic coordinates to rectangular coordinates.
- Return the field-of-view (FOV) parameters for a specified instrument. The instrument is specified by its NAIF ID code.
- 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.
- Clear the KEEPER subsystem: unload all kernels, clear the kernel pool, and re-initialize the subsystem. Existing watches on kernel variables are retained.
- Fetch vertices from a type 2 DSK segment.
- Return the current number of kernels that have been loaded via the KEEPER interface that are of a specified type.
- Convert from latitudinal coordinates to rectangular coordinates.
- Multiply a 3x3 double precision matrix with a 3-dimensional double precision vector.
- 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)
- Return the matrix that transforms position vectors from one specified frame to another at a specified epoch.
- Return the 3x3 matrix that transforms position vectors from one specified frame at a specified epoch to another specified frame at another specified epoch.
- Convert range, right ascension, and declination to rectangular coordinates
- Convert rectangular coordinates to planetographic coordinates.
- Convert rectangular coordinates to range, right ascension, and declination.
- 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.
- Close a SPK file opened for read or write.
- 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.
- Create a new SPK file, returning the handle of the opened file
- Return the position of a target body relative to an observing body, optionally corrected for light time (planetary aberration) and stellar aberration.
- Write a type 9 segment to an SPK file.
- 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.
- 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.
- Determine the intersection of a line-of-sight vector with the surface of an ellipsoid.
- 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.
- Transform time from one uniform scale to another. The uniform time scales are TAI, GPS, TT, TDT, TDB, ET, JED, JDTDB, JDTDT.
- Unload a SPICE kernel.
- Compute the cross product of two 3-dimensional vectors.
- Compute the dot product of two double precision, 3-dimensional vectors.
- Find the separation angle in radians between two double precision, 3-dimensional vectors. This angle is defined as zero if either vector is zero.
- Transpose a 3x3 matrix.