Module spice::core[][src]

Expand description

An idiomatic interface in Rust to CSPICE.

Description

Below you will find the index of the CSPICE functions that are wrapped with an idiomatic Rust interface.

It takes a long time to correctly wrap all functions of the API. Raise an issue to ask a specific function to be implemented and we will do it immediately. Pull requests are warmly welcomed to help speed up this process (do not forget to include a proper documentation and a test).

In the meantime, if you are in a rush and need quickly to use a function not implemented with the Rust interface, use the unsafe C functions here. You can find some inspiration in the source of this lib to deal with the FFI types and unsafe code.

Bindings

CSPICErust-spiceDescription
bodc2n_cTODO
bodfnd_cTODO
bodn2c_cTODO
bodvrd_cTODO
ckcov_cTODO
ckgp_cTODO
ckgpav_cTODO
ckobj_cTODO
dascls_craw::dasclsDAS, close file
dasopr_craw::dasoprDAS, open for read
dlabfs_craw::dlabfsDLA, begin forward search
dskgd_craw::dskgdDSK, return DSK segment descriptor
dskn02_craw::dskn02DSK, type 2, compute normal vector for plate
dskobj_cTODO
dskp02_cneat::dskp02DSK, fetch type 2 plate data
dsksrf_cTODO
dskv02_cneat::dskv02DSK, fetch type 2 vertex data
dskx02_craw::dskx02DSK, ray-surface intercept, type 2
dskz02_craw::dskz02DSK, fetch type 2 model size parameters
furnsh_craw::furnshFurnish a program with SPICE kernels
gcpool_cTODO
gdpool_cTODO
getfov_cTODO
gipool_cTODO
illumf_craw::illumfIllumination angles, general source, return flags
kclear_craw::kclearKeeper clear
latrec_craw::latrecLatitudinal to rectangular coordinates
latsrf_cTODO
occult_craw::occultFind occultation type at time
pckcov_cTODO
pxform_craw::pxformPosition Transformation Matrix
pxfrm2_craw::pxfrm2Position Transform Matrix, Different Epochs
sce2c_cTODO
sce2s_cTODO
scencd_cTODO
scdecd_cTODO
scs2e_cTODO
sct2e_cTODO
spkcov_cTODO
spkcpo_cTODO
spkcpt_cTODO
spkcvo_cTODO
spkcvt_cTODO
spkezr_cTODO
spkobj_cTODO
spkpos_craw::spkposS/P Kernel, position
srfc2s_cTODO
srfcss_cTODO
srfnrm_cTODO
srfs2c_cTODO
srfscc_cTODO
str2et_craw::str2etString to ET
sxform_cTODO
recrad_craw::recradRectangular coordinates to RA and DEC
timout_cneat::timoutTime Output
unload_craw::unloadUnload a kernel
vsep_craw::vsepAngular separation of vectors, 3 dimensions

Re-exports

pub use self::neat::dskp02;
pub use self::neat::dskv02;
pub use self::neat::timout;
pub use self::raw::dascls;
pub use self::raw::dasopr;
pub use self::raw::dlabfs;
pub use self::raw::dskgd;
pub use self::raw::dskn02;
pub use self::raw::dskx02;
pub use self::raw::dskz02;
pub use self::raw::furnsh;
pub use self::raw::illumf;
pub use self::raw::kclear;
pub use self::raw::latrec;
pub use self::raw::pxform;
pub use self::raw::pxfrm2;
pub use self::raw::recrad;
pub use self::raw::spkpos;
pub use self::raw::str2et;
pub use self::raw::unload;
pub use self::raw::vsep;
pub use self::raw::DLADSC;
pub use self::raw::DSKDSC;

Modules

neat

Improvement on the procedurally generated functions.

raw

A Rust idiomatic CSPICE wrapper built with procedural macros.

Constants

TIME_FORMAT

Default date format.

TIME_FORMAT_SIZE

Size of the default date format.