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
CSPICE | rust-spice | Description |
---|---|---|
bodc2n_c | TODO | |
bodfnd_c | TODO | |
bodn2c_c | TODO | |
bodvrd_c | TODO | |
ckcov_c | TODO | |
ckgp_c | TODO | |
ckgpav_c | TODO | |
ckobj_c | TODO | |
dascls_c | raw::dascls | DAS, close file |
dasopr_c | raw::dasopr | DAS, open for read |
dlabfs_c | raw::dlabfs | DLA, begin forward search |
dskgd_c | raw::dskgd | DSK, return DSK segment descriptor |
dskn02_c | raw::dskn02 | DSK, type 2, compute normal vector for plate |
dskobj_c | TODO | |
dskp02_c | neat::dskp02 | DSK, fetch type 2 plate data |
dsksrf_c | TODO | |
dskv02_c | neat::dskv02 | DSK, fetch type 2 vertex data |
dskx02_c | raw::dskx02 | DSK, ray-surface intercept, type 2 |
dskz02_c | raw::dskz02 | DSK, fetch type 2 model size parameters |
furnsh_c | raw::furnsh | Furnish a program with SPICE kernels |
gcpool_c | TODO | |
gdpool_c | TODO | |
getfov_c | TODO | |
gipool_c | TODO | |
illumf_c | raw::illumf | Illumination angles, general source, return flags |
kclear_c | raw::kclear | Keeper clear |
latrec_c | raw::latrec | Latitudinal to rectangular coordinates |
latsrf_c | TODO | |
occult_c | raw::occult | Find occultation type at time |
pckcov_c | TODO | |
pxform_c | raw::pxform | Position Transformation Matrix |
pxfrm2_c | raw::pxfrm2 | Position Transform Matrix, Different Epochs |
sce2c_c | TODO | |
sce2s_c | TODO | |
scencd_c | TODO | |
scdecd_c | TODO | |
scs2e_c | TODO | |
sct2e_c | TODO | |
spkcov_c | TODO | |
spkcpo_c | TODO | |
spkcpt_c | TODO | |
spkcvo_c | TODO | |
spkcvt_c | TODO | |
spkezr_c | TODO | |
spkobj_c | TODO | |
spkpos_c | raw::spkpos | S/P Kernel, position |
srfc2s_c | TODO | |
srfcss_c | TODO | |
srfnrm_c | TODO | |
srfs2c_c | TODO | |
srfscc_c | TODO | |
str2et_c | raw::str2et | String to ET |
sxform_c | TODO | |
recrad_c | raw::recrad | Rectangular coordinates to RA and DEC |
timout_c | neat::timout | Time Output |
unload_c | raw::unload | Unload a kernel |
vsep_c | raw::vsep | Angular 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. |