# [−][src]Crate spice_sys

## Structs

SpiceCellC | |

SpiceDLADescrC | |

SpiceDSKDescrC | DSK segment descriptor |

## Functions

axisar_c^{⚠} | construct a rotation matrix that rotates vectors by an angle about an axis. |

b1900_c^{⚠} | returns the Julian Date corresponding to Besselian date 1900.0. |

b1950_c^{⚠} | returns the Julian Date corresponding to Besselian date 1950.0. |

bodc2n_c^{⚠} | translates the NAIF integer code of a body into a common name for that body. |

bodfnd_c^{⚠} | determines whether values exist for some item for a body in the kernel pool. |

bodn2c_c^{⚠} | translates the name of a body or object to the corresponding NAIF integer ID code. |

bodvrd_c^{⚠} | retrieves from the kernel pool the values of an item associated with a body. |

ckcov_c^{⚠} | finds the coverage window for a specified object in a specified CK file. |

ckgp_c^{⚠} | gets pointing for a specified CK ID at a specified SCLK time. |

ckgpav_c^{⚠} | gets pointing and angular velocity for a specified CK ID at a specified SCLK time. |

ckobj_c^{⚠} | finds the set of ID codes for all objects in a specified CK file. |

clight_c^{⚠} | returns the speed of light in vacuo (km/sec) |

conics_c^{⚠} | determines the state of an orbiting body from a set orbital elements. |

cyllat_c^{⚠} | converts from cylindrical to latitudinal coordinates. |

cylrec_c^{⚠} | converts from cylindrical to rectangular coordinates. |

cylsph_c^{⚠} | converts from cylindrical to spherical coordinates. |

det_c^{⚠} | computes the determinant of a 3x3 matrix. |

dpr_c^{⚠} | returns the number of degrees per radian. |

dskobj_c^{⚠} | returns the set of body ID codes of all objects for which data are provided in a DSK file. |

dskp02_c^{⚠} | returns triangular plates from a type 2 DSK segment. |

dsksrf_c^{⚠} | returns the set of surface ID codes for all surfaces associated with a body in a DSK file. |

dskv02_c^{⚠} | returns vertices from a type 2 DSK segment. |

dskxsi_c^{⚠} | computes a ray-surface intercept using data provided by multiple loaded DSK segments and returns information about the source of the data defining the surface on which the intercept was found. |

dskxv_c^{⚠} | computes ray-surface intercepts for a set of rays, using data provided by multiple loaded DSK segments. |

dskz02_c^{⚠} | returns plate model size parameters (plate count and vertex count) for a type 2 DSK segment. |

eul2m_c^{⚠} | constructs a rotation matrix from a set of Euler angles. |

fovray_c^{⚠} | determines if a specified ray is within the FOV of a specified instrument at a given time. |

fovtrg_c^{⚠} | determines if a specified ephemeris object is within the FOV of a specified instrument at a given time. |

furnsh_c^{⚠} | loads an individual kernel or a collection of kernels. |

gcpool_c^{⚠} | returns the character value of a kernel variable from the kernel pool. |

gdpool_c^{⚠} | returns the double precision value of a kernel variable from the kernel pool. |

georec_c^{⚠} | converts from geodetic to rectangular coordinates. |

getfov_c^{⚠} | returns the field-of-view (FOV) configuration for a specified instrument. |

gfdist_c^{⚠} | determines time intervals when a specified constraint on observer-target distance is met. |

gfilum_c^{⚠} | determines time intervals when a specified constraint on the observed phase, solar incidence, or emission angle at a surface point is met. |

gfoclt_c^{⚠} | determines time intervals when an observer sees one target occulted by another, with targets modeled as points, ellipsoids, or digital shapes (DSK). |

gfpa_c^{⚠} | determines time intervals when a specified constraint on the phase angle between the illuminator, target, and observer body centers is met. |

gfposc_c^{⚠} | determines time intervals when a coordinate of an observer-target position vector satisfies a numerical constraint. |

gfrfov_c^{⚠} | determines time intervals when a specified ray intersects the space bounded by the field-of-view (FOV) of a specified instrument. |

gfrr_c^{⚠} | determines time intervals when a specified constraint on the observer- target range rate is met. |

gfsep_c^{⚠} | determines time intervals when the angular separation between the position vectors of two target bodies relative to an observer satisfies a numerical relationship. |

gfsntc_c^{⚠} | determines time intervals when a coordinate of a ray-surface intercept position vector satisfies a numerical constraint. |

gfsubc_c^{⚠} | determines time intervals when a coordinate of a sub-observer point position vector satisfies a numerical constraint. |

gftfov_c^{⚠} | determines time intervals when a specified ephemeris object intersects the space bounded by the field-of-view (FOV) of a specified instrument. |

gipool_c^{⚠} | returns the integer value of a kernel variable from the kernel pool. |

halfpi_c^{⚠} | returns half the value of pi. |

illumf_c^{⚠} | computes the illumination angles at a specified surface point of a target body, modeled as an ellipsoid or a digital shape (DSK), as seen from an observer body, illuminated by a user specified body, with flags indicating whether the point is visible from the observer and whether it is illuminated. |

illumg_c^{⚠} | computes the illumination angles at a specified surface point of a target body, modeled as an ellipsoid or a digital shape (DSK), as seen from an observer body, illuminated by a user specified body. |

ilumin_c^{⚠} | computes the illumination angles at a specified surface point of a target body, modeled as an ellipsoid or a digital shape (DSK), as seen from an observer body, illuminated by the Sun. |

j1900_c^{⚠} | returns the Julian Date of 1899 DEC 31 12:00:00 (1900 JAN 0.5). |

j1950_c^{⚠} | returns the Julian Date of 1950 JAN 01 00:00:00 (1950 JAN 1.0). |

j2000_c^{⚠} | returns the Julian Date of 2000 JAN 01 12:00:00 (2000 JAN 1.5). |

j2100_c^{⚠} | returns the Julian Date of 2100 JAN 01 12:00:00 (2100 JAN 1.5). |

jyear_c^{⚠} | returns the number of seconds per Julian year. |

kclear_c^{⚠} | Clear the KEEPER subsystem: unload all kernels, clear the kernel pool, and re-initialize the subsystem. |

ktotal_c^{⚠} | Return the current number of kernels that have been loaded via the KEEPER interface that are of a specified type. |

latcyl_c^{⚠} | converts from latitudinal to cylindrical coordinates. |

latrec_c^{⚠} | converts from planetocentric to rectangular coordinates. |

latsph_c^{⚠} | converts from latitudinal to spherical coordinates. |

latsrf_c^{⚠} | maps an array of planetocentric longitude/latitude coordinate pairs to surface points on a body, modeled as an ellipsoid or a digital shape (DSK). |

limbpt_c^{⚠} | computes limb points on a body, modeled as an ellipsoid or a digital shape (DSK). |

m2eul_c^{⚠} | factors a matrix as a product of three rotations about specified axes. |

m2q_c^{⚠} | finds a unit quaternion corresponding to a specified rotation matrix. |

mequ_c^{⚠} | sets one 3x3 matrix equal to another. |

mtxm_c^{⚠} | multiplies the transpose of a 3x3 matrix and a 3x3 matrix. |

mtxv_c^{⚠} | multiplies the transpose of a 3x3 matrix on the left with a 3D vector on the right. |

mxm_c^{⚠} | multiplies two 3x3 matrices. |

mxmt_c^{⚠} | multiplies a 3x3 matrix and the transpose of another 3x3 matrix. |

mxv_c^{⚠} | multiplies a 3x3 matrix with a 3D vector. |

occult_c^{⚠} | 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). |

oscelt_c^{⚠} | determines the set of orbital elements corresponding to the state of a body. |

pckcov_c^{⚠} | finds the coverage window for a reference frame in a binary PCK file. |

pckfrm_c^{⚠} | finds the set of reference frame class ID codes of all frames in a binary PCK file. |

pgrrec_c^{⚠} | converts from planetographic to rectangular coordinates. |

phaseq_c^{⚠} | computes the apparent phase angle between the centers of target, observer, and illuminator ephemeris objects. |

pi_c^{⚠} | returns the value of pi. |

pxform_c^{⚠} | returns the 3x3 matrix rotating a position vector one frame to another. |

pxfrm2_c^{⚠} | returns the 3x3 matrix rotating a position vector from one frame at a specified epoch to another frame at a different epoch. |

q2m_c^{⚠} | find the rotation matrix corresponding to a specified unit quaternion. |

radrec_c^{⚠} | converts from range, right ascension, and declination to rectangular coordinates. |

raxisa_c^{⚠} | computes the axis of the rotation given by a matrix and the angle about that axis. |

reccyl_c^{⚠} | converts from rectangular to cylindrical coordinates. |

recgeo_c^{⚠} | converts from rectangular to geodetic coordinates. |

reclat_c^{⚠} | converts from rectangular to planetocentric coordinates. |

recpgr_c^{⚠} | converts from rectangular to planetographic coordinates. |

recrad_c^{⚠} | converts from rectangular coordinates to range, right ascension, and declination. |

recsph_c^{⚠} | converts from rectangular to spherical coordinates. |

rotate_c^{⚠} | calculates the 3x3 matrix for a rotation of an angle about the X, Y or Z axis. |

rotmat_c^{⚠} | applies a rotation of an angle about the X, Y, or Z axis to a matrix. |

rotvec_c^{⚠} | transform a 3D vector to a new coordinate system rotated by an angle about X, Y, or Z. |

rpd_c^{⚠} | returns the number of radians per degree. |

scdecd_c^{⚠} | converts an encoded SCLK to SCLK string. |

sce2s_c^{⚠} | converts ET seconds past J2000 to SCLK string. |

sce2c_c^{⚠} | converts ET seconds past J2000 to encoded SCLK |

scencd_c^{⚠} | converts an SCLK string to encoded SCLK. |

scs2e_c^{⚠} | converts an SCLK string to ET seconds past J2000. |

sct2e_c^{⚠} | converts an encoded SCLK to ET seconds past J2000. |

sincpt_c^{⚠} | computes the surface intercept point of the ray on a body, modeled as an ellipsoid or a digital shape (DSK), at a specified epoch. |

spd_c^{⚠} | returns the number of seconds in a day. |

sphcyl_c^{⚠} | converts from spherical to cylindrical coordinates. |

sphlat_c^{⚠} | converts from spherical to latitudinal coordinates. |

sphrec_c^{⚠} | converts from spherical to rectangular coordinates. |

spkcov_c^{⚠} | finds the coverage window for a specified object in a specified SPK file. |

spkcpo_c^{⚠} | returns the state of a target body relative to a constant-position observer location. |

spkcpt_c^{⚠} | returns the state of a constant-position target location relative to an observing body. |

spkcvo_c^{⚠} | returns the state of a target body relative to a constant-velocity observer location. |

spkcvt_c^{⚠} | returns the state of a constant-velocity target location relative to an observing body. |

spkezr_c^{⚠} | returns the state of a target body relative to an observing body. |

spkobj_c^{⚠} | finds the set of ID codes for all objects in a specified SPK file. |

spkpos_c^{⚠} | returns the position of a target body relative to an observing body. |

srfc2s_c^{⚠} | translates a surface ID code, together with a body ID code, to the corresponding surface name. |

srfcss_c^{⚠} | translates a surface ID code, together with a body name, to the corresponding surface name. |

srfnrm_c^{⚠} | maps an array of surface points on a body, modeled as an ellipsoid or a digital shape (DSK), to the corresponding outward surface normal vectors. |

srfrec_c^{⚠} | converts from planetocentric lat/lon of a surface point on a body to rectangular coordinates. |

srfs2c_c^{⚠} | translates a surface string, together with a body name, to the corresponding surface ID code. |

srfscc_c^{⚠} | translates a surface string, together with a body ID code, to the corresponding surface ID code. |

str2et_c^{⚠} | converts a time string to ET seconds past J2000. |

subpnt_c^{⚠} | computes the sub-observer point on a body, modeled as an ellipsoid or a digital shape (DSK), at a particular epoch. |

subslr_c^{⚠} | computes the sub-solar point on a body, modeled as an ellipsoid or a digital shape (DSK), as seen by an observer at a particular epoch. |

sxform_c^{⚠} | returns the 6x6 matrix rotating a state vector from one frame to another. |

termpt_c^{⚠} | computes umbral or penumbral terminator points on a body, modeled as an ellipsoid or a digital shape (DSK). |

timout_c^{⚠} | converts ET seconds past J2000 to a time string. |

trace_c^{⚠} | returns the trace of a 3x3 matrix. |

twopi_c^{⚠} | returns twice the value of pi. |

twovec_c^{⚠} | builds the transformation to a frame based on two vectors. |

tyear_c^{⚠} | returns the number of seconds per tropical year. |

ucrss_c^{⚠} | computes the normalized cross product of two 3D vectors. |

unload_c^{⚠} | unloads an individual kernel or a collection of kernels. |

unorm_c^{⚠} | normalizes a 3D vector and return its magnitude. |

vadd_c^{⚠} | adds two 3D vectors. |

vcrss_c^{⚠} | computes the cross product of two 3D vectors. |

vdist_c^{⚠} | returns the distance between two 3D vectors. |

vdot_c^{⚠} | computes the dot product of two 3D vectors. |

vequ_c^{⚠} | makes one 3D vector equal to another. |

vhat_c^{⚠} | finds the unit vector along a 3D vector. |

vlcom3_c^{⚠} | computes the vector linear combination a |

vlcom_c^{⚠} | computes the vector linear combination a |

vminus_c^{⚠} | negates a 3D vector. |

vnorm_c^{⚠} | computes the magnitude of a 3D vector. |

vpack_c^{⚠} | packs three scalar components into a vector. |

vperp_c^{⚠} | finds the component of a 3D vector that is perpendicular to a second 3D vector. |

vproj_c^{⚠} | finds the projection of one 3D vector onto another 3D vector. |

vrel_c^{⚠} | returns the relative difference between two 3D vectors |

vrotv_c^{⚠} | rotates a 3D vector about a specified axis 3D vector by a specified angle. |

vscl_c^{⚠} | multiplies a scalar and a 3D vector. |

vsep_c^{⚠} | finds the separation angle between two 3D vectors. |

vsub_c^{⚠} | computes the difference between two 3D vectors. |

vtmv_c^{⚠} | multiplies the transpose of a 3D vector, a 3x3 matrix, and a 3D vector. |

vupack_c^{⚠} | unpacks three scalar components from a vector. |

vzero_c^{⚠} | indicates whether a 3D vector is the zero vector. |

xfmsta_c^{⚠} | transforms states between coordinate systems -- rectangular, cylindrical, latitudinal, spherical, geodetic, and planetographic. |

xpose_c^{⚠} | transposes a 3x3 matrix. |

## Type Definitions

SpiceBoolean | |

SpiceChar | |

SpiceDouble | |

SpiceFloat | |

SpiceInt | |

SpiceLong | |

SpiceShort |