1 /* 2 3 -Header_File SpiceZpr.h ( CSPICE prototypes ) 4 5 -Abstract 6 7 Define prototypes for CSPICE user-interface-level functions. 8 9 -Disclaimer 10 11 THIS SOFTWARE AND ANY RELATED MATERIALS WERE CREATED BY THE 12 CALIFORNIA INSTITUTE OF TECHNOLOGY (CALTECH) UNDER A U.S. 13 GOVERNMENT CONTRACT WITH THE NATIONAL AERONAUTICS AND SPACE 14 ADMINISTRATION (NASA). THE SOFTWARE IS TECHNOLOGY AND SOFTWARE 15 PUBLICLY AVAILABLE UNDER U.S. EXPORT LAWS AND IS PROVIDED "AS-IS" 16 TO THE RECIPIENT WITHOUT WARRANTY OF ANY KIND, INCLUDING ANY 17 WARRANTIES OF PERFORMANCE OR MERCHANTABILITY OR FITNESS FOR A 18 PARTICULAR USE OR PURPOSE (AS SET FORTH IN UNITED STATES UCC 19 SECTIONS 2312-2313) OR FOR ANY PURPOSE WHATSOEVER, FOR THE 20 SOFTWARE AND RELATED MATERIALS, HOWEVER USED. 21 22 IN NO EVENT SHALL CALTECH, ITS JET PROPULSION LABORATORY, OR NASA 23 BE LIABLE FOR ANY DAMAGES AND/OR COSTS, INCLUDING, BUT NOT 24 LIMITED TO, INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND, 25 INCLUDING ECONOMIC DAMAGE OR INJURY TO PROPERTY AND LOST PROFITS, 26 REGARDLESS OF WHETHER CALTECH, JPL, OR NASA BE ADVISED, HAVE 27 REASON TO KNOW, OR, IN FACT, SHALL KNOW OF THE POSSIBILITY. 28 29 RECIPIENT BEARS ALL RISK RELATING TO QUALITY AND PERFORMANCE OF 30 THE SOFTWARE AND ANY RELATED MATERIALS, AND AGREES TO INDEMNIFY 31 CALTECH AND NASA FOR ALL THIRD-PARTY CLAIMS RESULTING FROM THE 32 ACTIONS OF RECIPIENT IN THE USE OF THE SOFTWARE. 33 34 -Required_Reading 35 36 None. 37 38 -Literature_References 39 40 None. 41 42 -Particulars 43 44 This is the header file containing prototypes for CSPICE user-level 45 C routines. Prototypes for the underlying f2c'd SPICELIB routines 46 are contained in the separate header file SpiceZfc. However, those 47 routines are not part of the official CSPICE API. 48 49 -Author_and_Institution 50 51 N.J. Bachman (JPL) 52 K.R. Gehringer (JPL) 53 W.L. Taber (JPL) 54 F.S. Turner (JPL) 55 E.D. Wright (JPL) 56 57 -Version 58 59 60 61 -CSPICE Version 12.8.0, 07-NOV-2005 (NJB) 62 63 Added prototypes forr 64 65 bodvcd_c 66 qdq2av_c 67 qxq_c 68 srfrec_c 69 70 -CSPICE Version 12.7.0, 06-JAN-2004 (NJB) 71 72 Added prototypes for 73 74 bods2c_c 75 ckcov_c 76 ckobj_c 77 dafopw_c 78 dafrs_c 79 dpgrdr_c 80 drdpgr_c 81 lspcn_c 82 pgrrec_c 83 recpgr_c 84 spkcov_c 85 spkobj_c 86 87 -CSPICE Version 12.6.0, 24-FEB-2003 (NJB) 88 89 Added prototype for 90 91 bodvrd_c 92 deltet_c 93 srfxpt_c 94 95 -CSPICE Version 12.5.0, 14-MAY-2003 (NJB) 96 97 Removed prototype for getcml_. 98 99 100 -CSPICE Version 12.4.0, 25-FEB-2003 (NJB) 101 102 Added prototypes for 103 104 dasac_c 105 dasec_c 106 et2lst_c 107 108 -CSPICE Version 12.3.0, 03-SEP-2002 (NJB) 109 110 Added prototypes for 111 112 appndc_c 113 appndd_c 114 appndi_c 115 bschoc_c 116 bschoi_c 117 bsrchc_c 118 bsrchd_c 119 bsrchi_c 120 card_c 121 ckw05_c 122 copy_c 123 cpos_c 124 cposr_c 125 diff_c 126 elemc_c 127 elemd_c 128 elemi_c 129 esrchc_c 130 insrtc_c 131 insrtd_c 132 insrti_c 133 inter_c 134 isordv_c 135 isrchc_c 136 isrchd_c 137 isrchi_c 138 lparss_c 139 lstlec_c 140 lstled_c 141 lstlei_c 142 lstltc_c 143 lstltd_c 144 lstlti_c 145 lx4dec_c 146 lx4num_c 147 lx4sgn_c 148 lx4uns_c 149 lxqstr_c 150 ncpos_c 151 ncposr_c 152 ordc_c 153 ordd_c 154 ordi_c 155 orderc_c 156 orderd_c 157 orderi_c 158 pos_c 159 posr_c 160 prefix_c 161 remove_c 162 reordc_c 163 reordd_c 164 reordi_c 165 reordl_c 166 removc_c 167 removd_c 168 removi_c 169 repmc_c 170 repmct_c 171 repmd_c 172 repmf_c 173 repmi_c 174 repmot_c 175 scard_c 176 sdiff_c 177 set_c 178 shellc_c 179 shelld_c 180 shelli_c 181 size_c 182 scard_c 183 spkw18_c 184 ssize_c 185 union_c 186 valid_c 187 wncomd_c 188 wncond_c 189 wndifd_c 190 wnelmd_c 191 wnexpd_c 192 wnextd_c 193 wnfetd_c 194 wnfild_c 195 wnfltd_c 196 wnincd_c 197 wninsd_c 198 wnintd_c 199 wnreld_c 200 wnsumd_c 201 wnunid_c 202 wnvald_c 203 zzsynccl_c 204 205 206 -CSPICE Version 12.2.0, 23-OCT-2001 (NJB) 207 208 Added prototypes for 209 210 badkpv_c 211 dcyldr_c 212 dgeodr_c 213 dlatdr_c 214 drdcyl_c 215 drdgeo_c 216 drdlat_c 217 drdsph_c 218 dsphdr_c 219 ekacec_c 220 ekaced_c 221 ekacei_c 222 ekappr_c 223 ekbseg_c 224 ekccnt_c 225 ekcii_c 226 ekdelr_c 227 ekinsr_c 228 ekntab_c 229 ekrcec_c 230 ekrced_c 231 ekrcei_c 232 ektnam_c 233 ekucec_c 234 ekuced_c 235 ekucei_c 236 inelpl_c 237 invort_c 238 kxtrct_c 239 240 Added const qualifier to input array arguments of 241 242 conics_c 243 illum_c 244 pdpool_c 245 prop2b_c 246 q2m_c 247 spkuds_c 248 xposeg_c 249 250 Added const qualifier to the return value of 251 252 tkvrsn_c 253 254 -CSPICE Version 12.1.0, 12-APR-2000 (FST) 255 256 Added prototype for 257 258 getfov_c 259 260 -CSPICE Version 12.0.0, 22-MAR-2000 (NJB) 261 262 Added prototypes for 263 264 lparse_c 265 lparsm_c 266 spkw12_c 267 spkw13_c 268 269 270 -CSPICE Version 11.1.0, 17-DEC-1999 (WLT) 271 272 Added prototype for 273 274 dafrda_c 275 276 -CSPICE Version 11.0.0, 07-OCT-1999 (NJB) (EDW) 277 278 Changed ekaclc_c, ekacld_c, ekacli_c prototypes to make input 279 pointers const-qualified where appropriate. 280 281 Changed prompt_c prototype to accommodate memory leak bug fix. 282 283 Changed ekpsel_c prototype to be consistent with other interfaces 284 having string array outputs. 285 286 Added prototypes for 287 288 axisar_c 289 brcktd_c 290 brckti_c 291 cidfrm_c 292 cgv2el_c 293 clpool_c 294 cmprss_c 295 cnmfrm_c 296 convrt_c 297 cvpool_c 298 dafbbs_c 299 dafbfs_c 300 dafcls_c 301 dafcs_c 302 daffna_c 303 daffpa_c 304 dafgh_c 305 dafgn_c 306 dafgs_c 307 dafopr_c 308 dafps_c 309 dafus_c 310 diags2_c 311 dtpool_c 312 dvdot_c 313 dvhat_c 314 dvpool_c 315 edlimb_c 316 ekops_c 317 ekopw_c 318 eul2xf_c 319 ftncls_c 320 furnsh_c 321 getmsg_c 322 getelm_c 323 gnpool_c 324 ident_c 325 illum_c 326 inedpl_c 327 kdata_c 328 kinfo_c 329 ktotal_c 330 lmpool_c 331 matchi_c 332 matchw_c 333 maxd_c 334 maxi_c 335 mequ_c 336 mind_c 337 mini_c 338 moved_ 339 npedln_c 340 npelpt_c 341 nplnpt_c 342 pcpool_c 343 pdpool_c 344 pipool_c 345 pjelpl_c 346 pxform_c 347 rav2xf_c 348 raxisa_c 349 rquad_c 350 saelgv_c 351 spk14a_c 352 spk14b_c 353 spk14e_c 354 spkapp_c 355 spkapo_c 356 spkcls_c 357 spkezp_c 358 spkgps_c 359 spkopn_c 360 spkpds_c 361 spkpos_c 362 spkssb_c 363 spksub_c 364 spkuds_c 365 spkw02_c 366 spkw03_c 367 spkw05_c 368 spkw08_c 369 spkw09_c 370 spkw10_c 371 spkw15_c 372 spkw17_c 373 stpool_c 374 subpt_c 375 subsol_c 376 swpool_c 377 szpool_c 378 tparse_c 379 trace_c 380 unload_c 381 vaddg_c 382 vhatg_c 383 vlcomg_c 384 vminug_c 385 vrel_c 386 vrelg_c 387 vsepg_c 388 vtmv_c 389 vtmvg_c 390 vzerog_c 391 xf2eul_c 392 xf2rav_c 393 xposeg_c 394 395 396 -CSPICE Version 10.0.0, 09-MAR-1999 (NJB) 397 398 Added prototypes for 399 400 frame_c 401 inrypl_c 402 nvc2pl_c 403 nvp2pl_c 404 pl2nvc_c 405 pl2nvp_c 406 pl2psv_c 407 psv2pl_c 408 sce2c_c 409 vprjp_c 410 vprjpi_c 411 412 Now conditionally includes SpiceEll.h and SpicePln.h. 413 414 415 -CSPICE Version 9.0.0, 25-FEB-1999 (NJB) 416 417 Added prototypes for 418 419 eknseg_c 420 eknelt_c 421 ekpsel_c 422 ekssum_c 423 424 Now conditionally includes SpiceEK.h. 425 426 427 -CSPICE Version 8.0.0, 20-OCT-1998 (NJB) 428 429 Added const qualifier to all input matrix and vector arguments. 430 431 Added prototypes for 432 433 det_c 434 dpmax_c 435 dpmax_ 436 dpmin_c 437 dpmin_ 438 frinfo_c 439 frmnam_c 440 getfat_c 441 intmax_c 442 intmax_ 443 intmin_c 444 intmin_ 445 invert_c 446 namfrm_c 447 vrotv_c 448 vsclg_c 449 450 451 -CSPICE Version 7.0.0, 02-APR-1998 (EDW) 452 453 Added prototypes for 454 455 mequg_c 456 unormg_g 457 vdistg_c 458 vdotg_c 459 vequg_c 460 vnormg_c 461 462 -CSPICE Version 6.0.0, 31-MAR-1998 (NJB) 463 464 Added prototypes for 465 466 ekaclc_c 467 ekacld_c 468 ekacli_c 469 ekcls_c 470 ekffld_c 471 ekfind_c 472 ekgc_c 473 ekgd_c 474 ekgi_c 475 ekifld_c 476 eklef_c 477 ekopr_c 478 ekopn_c 479 ekuef_c 480 481 -CSPICE Version 5.0.1, 05-MAR-1998 (EDW) 482 483 Remove some non printing characters. 484 485 -CSPICE Version 5.0.0, 03-MAR-1998 (NJB) 486 487 Added prototypes for 488 489 etcal_c 490 ltime_c 491 stelab_c 492 tpictr_c 493 twovec_c 494 vsubg_c 495 496 -CSPICE Version 4.0.0, 11-FEB-1998 (EDW) 497 498 Added prototypes for 499 500 timdef_c 501 tsetyr_c 502 503 504 -CSPICE Version 3.0.0, 02-FEB-1998 (NJB) 505 506 Added prototypes for 507 508 pckuof_c 509 tipbod_c 510 511 Type SpiceVoid was replaced with void. 512 513 -CSPICE Version 2.0.0, 06-JAN-1998 (NJB) 514 515 Changed all input-only character pointers to type ConstSpiceChar. 516 517 -CSPICE Version 1.0.0, 25-OCT-1997 (NJB) (KRG) (EDW) 518 519 -Index_Entries 520 521 protoypes of CSPICE functions 522 523 */ 524 525 526 /* 527 Include Files: 528 */ 529 530 531 #ifndef HAVE_SPICEDEFS_H 532 #include "SpiceZdf.h" 533 #endif 534 535 #ifndef HAVE_SPICE_EK_H 536 #include "SpiceEK.h" 537 #endif 538 539 #ifndef HAVE_SPICE_PLANES_H 540 #include "SpicePln.h" 541 #endif 542 543 #ifndef HAVE_SPICE_ELLIPSES_H 544 #include "SpiceEll.h" 545 #endif 546 547 #ifndef HAVE_SPICE_CELLS_H 548 #include "SpiceCel.h" 549 #endif 550 551 #ifndef HAVE_SPICE_SPK_H 552 #include "SpiceSPK.h" 553 #endif 554 555 #ifndef HAVE_SPICEWRAPPERS_H 556 #define HAVE_SPICEWRAPPERS_H 557 558 559 560 561 /* 562 Function prototypes for CSPICE functions are listed below. 563 Each prototype is accompanied by a function abstract and brief I/O 564 description. 565 566 See the headers of the C wrappers for detailed descriptions of the 567 routines' interfaces. 568 569 The list below should be maintained in alphabetical order. 570 */ 571 572 void appndc_c ( ConstSpiceChar * item, 573 SpiceCell * cell ); 574 575 576 void appndd_c ( SpiceDouble item, 577 SpiceCell * cell ); 578 579 580 void appndi_c ( SpiceInt item, 581 SpiceCell * cell ); 582 583 584 void axisar_c ( ConstSpiceDouble axis [3], 585 SpiceDouble angle, 586 SpiceDouble r [3][3] ); 587 588 589 SpiceBoolean badkpv_c ( ConstSpiceChar *caller, 590 ConstSpiceChar *name, 591 ConstSpiceChar *comp, 592 SpiceInt size, 593 SpiceInt divby, 594 SpiceChar type ); 595 596 597 void bodc2n_c ( SpiceInt code, 598 SpiceInt namelen, 599 SpiceChar * name, 600 SpiceBoolean * found ); 601 602 603 void boddef_c ( ConstSpiceChar * name, 604 SpiceInt code ); 605 606 607 SpiceBoolean bodfnd_c ( SpiceInt body, 608 ConstSpiceChar * item ); 609 610 611 void bodn2c_c ( ConstSpiceChar * name, 612 SpiceInt * code, 613 SpiceBoolean * found ); 614 615 616 void bods2c_c ( ConstSpiceChar * name, 617 SpiceInt * code, 618 SpiceBoolean * found ); 619 620 621 void bodvar_c ( SpiceInt body, 622 ConstSpiceChar * item, 623 SpiceInt * dim , 624 SpiceDouble * values ); 625 626 627 void bodvcd_c ( SpiceInt body, 628 ConstSpiceChar * item, 629 SpiceInt maxn, 630 SpiceInt * dim , 631 SpiceDouble * values ); 632 633 634 void bodvrd_c ( ConstSpiceChar * body, 635 ConstSpiceChar * item, 636 SpiceInt maxn, 637 SpiceInt * dim , 638 SpiceDouble * values ); 639 640 641 SpiceDouble brcktd_c ( SpiceDouble number, 642 SpiceDouble end1, 643 SpiceDouble end2 ); 644 645 646 SpiceInt brckti_c ( SpiceInt number, 647 SpiceInt end1, 648 SpiceInt end2 ); 649 650 651 SpiceInt bschoc_c ( ConstSpiceChar * value, 652 SpiceInt ndim, 653 SpiceInt lenvals, 654 const void * array, 655 ConstSpiceInt * order ); 656 657 658 SpiceInt bschoi_c ( SpiceInt value, 659 SpiceInt ndim, 660 ConstSpiceInt * array, 661 ConstSpiceInt * order ); 662 663 664 SpiceInt bsrchc_c ( ConstSpiceChar * value, 665 SpiceInt ndim, 666 SpiceInt lenvals, 667 const void * array ); 668 669 670 SpiceInt bsrchd_c ( SpiceDouble value, 671 SpiceInt ndim, 672 ConstSpiceDouble * array ); 673 674 675 SpiceInt bsrchi_c ( SpiceInt value, 676 SpiceInt ndim, 677 ConstSpiceInt * array ); 678 679 680 SpiceDouble b1900_c ( void ); 681 682 683 SpiceDouble b1950_c ( void ); 684 685 686 SpiceInt card_c ( SpiceCell * cell ); 687 688 689 void cgv2el_c ( ConstSpiceDouble center[3], 690 ConstSpiceDouble vec1 [3], 691 ConstSpiceDouble vec2 [3], 692 SpiceEllipse * ellipse ); 693 694 695 void chkin_c ( ConstSpiceChar * module ); 696 697 698 void chkout_c ( ConstSpiceChar * module ); 699 700 701 void cidfrm_c ( SpiceInt cent, 702 SpiceInt lenout, 703 SpiceInt * frcode, 704 SpiceChar * frname, 705 SpiceBoolean * found ); 706 707 708 void ckcls_c ( SpiceInt handle ); 709 710 711 void ckcov_c ( ConstSpiceChar * ck, 712 SpiceInt idcode, 713 SpiceBoolean needav, 714 ConstSpiceChar * level, 715 SpiceDouble tol, 716 ConstSpiceChar * timsys, 717 SpiceCell * cover ); 718 719 720 void ckobj_c ( ConstSpiceChar * ck, 721 SpiceCell * ids ); 722 723 724 void ckgp_c ( SpiceInt inst, 725 SpiceDouble sclkdp, 726 SpiceDouble tol, 727 ConstSpiceChar * ref, 728 SpiceDouble cmat[3][3], 729 SpiceDouble * clkout, 730 SpiceBoolean * found ); 731 732 733 void ckgpav_c ( SpiceInt inst, 734 SpiceDouble sclkdp, 735 SpiceDouble tol, 736 ConstSpiceChar * ref, 737 SpiceDouble cmat[3][3], 738 SpiceDouble av[3], 739 SpiceDouble * clkout, 740 SpiceBoolean * found ); 741 742 743 void cklpf_c ( ConstSpiceChar * fname, 744 SpiceInt * handle ); 745 746 747 void ckopn_c ( ConstSpiceChar * name, 748 ConstSpiceChar * ifname, 749 SpiceInt ncomch, 750 SpiceInt * handle ); 751 752 753 void ckupf_c ( SpiceInt handle ); 754 755 756 void ckw01_c ( SpiceInt handle, 757 SpiceDouble begtime, 758 SpiceDouble endtime, 759 SpiceInt inst, 760 ConstSpiceChar * ref, 761 SpiceBoolean avflag, 762 ConstSpiceChar * segid, 763 SpiceInt nrec, 764 ConstSpiceDouble sclkdp [], 765 ConstSpiceDouble quats [][4], 766 ConstSpiceDouble avvs [][3] ); 767 768 769 void ckw02_c ( SpiceInt handle, 770 SpiceDouble begtim, 771 SpiceDouble endtim, 772 SpiceInt inst, 773 ConstSpiceChar * ref, 774 ConstSpiceChar * segid, 775 SpiceInt nrec, 776 ConstSpiceDouble start [], 777 ConstSpiceDouble stop [], 778 ConstSpiceDouble quats [][4], 779 ConstSpiceDouble avvs [][3], 780 ConstSpiceDouble rates [] ); 781 782 783 void ckw03_c ( SpiceInt handle, 784 SpiceDouble begtim, 785 SpiceDouble endtim, 786 SpiceInt inst, 787 ConstSpiceChar * ref, 788 SpiceBoolean avflag, 789 ConstSpiceChar * segid, 790 SpiceInt nrec, 791 ConstSpiceDouble sclkdp [], 792 ConstSpiceDouble quats [][4], 793 ConstSpiceDouble avvs [][3], 794 SpiceInt nints, 795 ConstSpiceDouble starts [] ); 796 797 798 void ckw05_c ( SpiceInt handle, 799 SpiceCK05Subtype subtyp, 800 SpiceInt degree, 801 SpiceDouble begtim, 802 SpiceDouble endtim, 803 SpiceInt inst, 804 ConstSpiceChar * ref, 805 SpiceBoolean avflag, 806 ConstSpiceChar * segid, 807 SpiceInt n, 808 ConstSpiceDouble sclkdp[], 809 const void * packets, 810 SpiceDouble rate, 811 SpiceInt nints, 812 ConstSpiceDouble starts[] ); 813 814 815 SpiceDouble clight_c ( void ); 816 817 818 void clpool_c ( void ); 819 820 821 void cmprss_c ( SpiceChar delim, 822 SpiceInt n, 823 ConstSpiceChar * input, 824 SpiceInt lenout, 825 SpiceChar * output ); 826 827 828 void cnmfrm_c ( ConstSpiceChar * cname, 829 SpiceInt lenout, 830 SpiceInt * frcode, 831 SpiceChar * frname, 832 SpiceBoolean * found ); 833 834 835 void conics_c ( ConstSpiceDouble elts[8], 836 SpiceDouble et, 837 SpiceDouble state[6] ); 838 839 840 void convrt_c ( SpiceDouble x, 841 ConstSpiceChar * in, 842 ConstSpiceChar * out, 843 SpiceDouble * y ); 844 845 846 void copy_c ( SpiceCell * a, 847 SpiceCell * b ); 848 849 850 851 SpiceInt cpos_c ( ConstSpiceChar * str, 852 ConstSpiceChar * chars, 853 SpiceInt start ); 854 855 856 SpiceInt cposr_c ( ConstSpiceChar * str, 857 ConstSpiceChar * chars, 858 SpiceInt start ); 859 860 861 void cvpool_c ( ConstSpiceChar * agent, 862 SpiceBoolean * update ); 863 864 865 void cyllat_c ( SpiceDouble r, 866 SpiceDouble lonc, 867 SpiceDouble z, 868 SpiceDouble * radius, 869 SpiceDouble * lon, 870 SpiceDouble * lat ); 871 872 873 void cylrec_c ( SpiceDouble r, 874 SpiceDouble lon, 875 SpiceDouble z, 876 SpiceDouble rectan[3] ); 877 878 879 void cylsph_c ( SpiceDouble r, 880 SpiceDouble lonc, 881 SpiceDouble z, 882 SpiceDouble * radius, 883 SpiceDouble * colat, 884 SpiceDouble * lon ); 885 886 void dafbbs_c ( SpiceInt handle ); 887 888 889 void dafbfs_c ( SpiceInt handle ); 890 891 892 void dafcls_c ( SpiceInt handle ); 893 894 895 void dafcs_c ( SpiceInt handle ); 896 897 898 void daffna_c ( SpiceBoolean * found ); 899 900 901 void daffpa_c ( SpiceBoolean * found ); 902 903 904 void dafgh_c ( SpiceInt * handle ); 905 906 907 void dafgn_c ( SpiceInt lenout, 908 SpiceChar * name ); 909 910 911 void dafgs_c ( SpiceDouble sum[] ); 912 913 914 void dafopr_c ( ConstSpiceChar * fname, 915 SpiceInt * handle ); 916 917 918 void dafopw_c ( ConstSpiceChar * fname, 919 SpiceInt * handle ); 920 921 922 void dafps_c ( SpiceInt nd, 923 SpiceInt ni, 924 ConstSpiceDouble dc [], 925 ConstSpiceInt ic [], 926 SpiceDouble sum [] ); 927 928 929 void dafrda_c ( SpiceInt handle, 930 SpiceInt begin, 931 SpiceInt end, 932 SpiceDouble * data ); 933 934 935 void dafrs_c ( ConstSpiceDouble * sum ); 936 937 938 void dafus_c ( ConstSpiceDouble sum [], 939 SpiceInt nd, 940 SpiceInt ni, 941 SpiceDouble dc [], 942 SpiceInt ic [] ); 943 944 945 void dasac_c ( SpiceInt handle, 946 SpiceInt n, 947 SpiceInt buflen, 948 const void * buffer ); 949 950 951 void dasec_c ( SpiceInt handle, 952 SpiceInt bufsiz, 953 SpiceInt buflen, 954 SpiceInt * n, 955 void * buffer, 956 SpiceBoolean * done ); 957 958 959 void dcyldr_c ( SpiceDouble x, 960 SpiceDouble y, 961 SpiceDouble z, 962 SpiceDouble jacobi[3][3] ); 963 964 965 void deltet_c ( SpiceDouble epoch, 966 ConstSpiceChar * eptype, 967 SpiceDouble * delta ); 968 969 970 SpiceDouble det_c ( ConstSpiceDouble m1[3][3] ); 971 972 973 void diags2_c ( ConstSpiceDouble symmat [2][2], 974 SpiceDouble diag [2][2], 975 SpiceDouble rotate [2][2] ); 976 977 978 void diff_c ( SpiceCell * a, 979 SpiceCell * b, 980 SpiceCell * c ); 981 982 983 void dgeodr_c ( SpiceDouble x, 984 SpiceDouble y, 985 SpiceDouble z, 986 SpiceDouble re, 987 SpiceDouble f, 988 SpiceDouble jacobi[3][3] ); 989 990 991 void dlatdr_c ( SpiceDouble x, 992 SpiceDouble y, 993 SpiceDouble z, 994 SpiceDouble jacobi[3][3] ); 995 996 997 void dpgrdr_c ( ConstSpiceChar * body, 998 SpiceDouble x, 999 SpiceDouble y, 1000 SpiceDouble z, 1001 SpiceDouble re, 1002 SpiceDouble f, 1003 SpiceDouble jacobi[3][3] ); 1004 1005 1006 SpiceDouble dpmax_c ( void ); 1007 1008 1009 SpiceDouble dpmax_ ( void ); 1010 1011 1012 SpiceDouble dpmin_c ( void ); 1013 1014 1015 SpiceDouble dpmin_ ( void ); 1016 1017 1018 SpiceDouble dpr_c ( void ); 1019 1020 1021 void drdcyl_c ( SpiceDouble r, 1022 SpiceDouble lon, 1023 SpiceDouble z, 1024 SpiceDouble jacobi[3][3] ); 1025 1026 1027 void drdgeo_c ( SpiceDouble lon, 1028 SpiceDouble lat, 1029 SpiceDouble alt, 1030 SpiceDouble re, 1031 SpiceDouble f, 1032 SpiceDouble jacobi[3][3] ); 1033 1034 1035 void drdlat_c ( SpiceDouble r, 1036 SpiceDouble lon, 1037 SpiceDouble lat, 1038 SpiceDouble jacobi[3][3] ); 1039 1040 1041 void drdpgr_c ( ConstSpiceChar * body, 1042 SpiceDouble lon, 1043 SpiceDouble lat, 1044 SpiceDouble alt, 1045 SpiceDouble re, 1046 SpiceDouble f, 1047 SpiceDouble jacobi[3][3] ); 1048 1049 1050 void drdsph_c ( SpiceDouble r, 1051 SpiceDouble colat, 1052 SpiceDouble lon, 1053 SpiceDouble jacobi[3][3] ); 1054 1055 1056 void dsphdr_c ( SpiceDouble x, 1057 SpiceDouble y, 1058 SpiceDouble z, 1059 SpiceDouble jacobi[3][3] ); 1060 1061 1062 void dtpool_c ( ConstSpiceChar * name, 1063 SpiceBoolean * found, 1064 SpiceInt * n, 1065 SpiceChar type [1] ); 1066 1067 1068 SpiceDouble dvdot_c ( ConstSpiceDouble s1[6], 1069 ConstSpiceDouble s2[6] ); 1070 1071 1072 void dvhat_c ( ConstSpiceDouble s1[6], 1073 SpiceDouble sout[6] ); 1074 1075 1076 void dvpool_c ( ConstSpiceChar * name ); 1077 1078 1079 void edlimb_c ( SpiceDouble a, 1080 SpiceDouble b, 1081 SpiceDouble c, 1082 ConstSpiceDouble viewpt[3], 1083 SpiceEllipse * limb ); 1084 1085 1086 void ekacec_c ( SpiceInt handle, 1087 SpiceInt segno, 1088 SpiceInt recno, 1089 ConstSpiceChar * column, 1090 SpiceInt nvals, 1091 SpiceInt vallen, 1092 const void * cvals, 1093 SpiceBoolean isnull ); 1094 1095 1096 void ekaced_c ( SpiceInt handle, 1097 SpiceInt segno, 1098 SpiceInt recno, 1099 ConstSpiceChar * column, 1100 SpiceInt nvals, 1101 ConstSpiceDouble * dvals, 1102 SpiceBoolean isnull ); 1103 1104 1105 void ekacei_c ( SpiceInt handle, 1106 SpiceInt segno, 1107 SpiceInt recno, 1108 ConstSpiceChar * column, 1109 SpiceInt nvals, 1110 ConstSpiceInt * ivals, 1111 SpiceBoolean isnull ); 1112 1113 1114 void ekaclc_c ( SpiceInt handle, 1115 SpiceInt segno, 1116 ConstSpiceChar * column, 1117 SpiceInt vallen, 1118 const void * cvals, 1119 ConstSpiceInt * entszs, 1120 ConstSpiceBoolean * nlflgs, 1121 ConstSpiceInt * rcptrs, 1122 SpiceInt * wkindx ); 1123 1124 1125 void ekacld_c ( SpiceInt handle, 1126 SpiceInt segno, 1127 ConstSpiceChar * column, 1128 ConstSpiceDouble * dvals, 1129 ConstSpiceInt * entszs, 1130 ConstSpiceBoolean * nlflgs, 1131 ConstSpiceInt * rcptrs, 1132 SpiceInt * wkindx ); 1133 1134 1135 void ekacli_c ( SpiceInt handle, 1136 SpiceInt segno, 1137 ConstSpiceChar * column, 1138 ConstSpiceInt * ivals, 1139 ConstSpiceInt * entszs, 1140 ConstSpiceBoolean * nlflgs, 1141 ConstSpiceInt * rcptrs, 1142 SpiceInt * wkindx ); 1143 1144 1145 void ekappr_c ( SpiceInt handle, 1146 SpiceInt segno, 1147 SpiceInt * recno ); 1148 1149 1150 void ekbseg_c ( SpiceInt handle, 1151 ConstSpiceChar * tabnam, 1152 SpiceInt ncols, 1153 SpiceInt cnmlen, 1154 const void * cnames, 1155 SpiceInt declen, 1156 const void * decls, 1157 SpiceInt * segno ); 1158 1159 1160 void ekccnt_c ( ConstSpiceChar * table, 1161 SpiceInt * ccount ); 1162 1163 1164 void ekcii_c ( ConstSpiceChar * table, 1165 SpiceInt cindex, 1166 SpiceInt lenout, 1167 SpiceChar * column, 1168 SpiceEKAttDsc * attdsc ); 1169 1170 1171 void ekcls_c ( SpiceInt handle ); 1172 1173 1174 void ekdelr_c ( SpiceInt handle, 1175 SpiceInt segno, 1176 SpiceInt recno ); 1177 1178 1179 void ekffld_c ( SpiceInt handle, 1180 SpiceInt segno, 1181 SpiceInt * rcptrs ); 1182 1183 1184 void ekfind_c ( ConstSpiceChar * query, 1185 SpiceInt lenout, 1186 SpiceInt * nmrows, 1187 SpiceBoolean * error, 1188 SpiceChar * errmsg ); 1189 1190 1191 void ekgc_c ( SpiceInt selidx, 1192 SpiceInt row, 1193 SpiceInt elment, 1194 SpiceInt lenout, 1195 SpiceChar * cdata, 1196 SpiceBoolean * null, 1197 SpiceBoolean * found ); 1198 1199 1200 void ekgd_c ( SpiceInt selidx, 1201 SpiceInt row, 1202 SpiceInt elment, 1203 SpiceDouble * ddata, 1204 SpiceBoolean * null, 1205 SpiceBoolean * found ); 1206 1207 1208 void ekgi_c ( SpiceInt selidx, 1209 SpiceInt row, 1210 SpiceInt elment, 1211 SpiceInt * idata, 1212 SpiceBoolean * null, 1213 SpiceBoolean * found ); 1214 1215 1216 void ekifld_c ( SpiceInt handle, 1217 ConstSpiceChar * tabnam, 1218 SpiceInt ncols, 1219 SpiceInt nrows, 1220 SpiceInt cnmlen, 1221 const void * cnames, 1222 SpiceInt declen, 1223 const void * decls, 1224 SpiceInt * segno, 1225 SpiceInt * rcptrs ); 1226 1227 1228 void ekinsr_c ( SpiceInt handle, 1229 SpiceInt segno, 1230 SpiceInt recno ); 1231 1232 1233 void eklef_c ( ConstSpiceChar * fname, 1234 SpiceInt * handle ); 1235 1236 1237 SpiceInt eknelt_c ( SpiceInt selidx, 1238 SpiceInt row ); 1239 1240 1241 SpiceInt eknseg_c ( SpiceInt handle ); 1242 1243 1244 void ekntab_c ( SpiceInt * n ); 1245 1246 1247 void ekopn_c ( ConstSpiceChar * fname, 1248 ConstSpiceChar * ifname, 1249 SpiceInt ncomch, 1250 SpiceInt * handle ); 1251 1252 1253 void ekopr_c ( ConstSpiceChar * fname, 1254 SpiceInt * handle ); 1255 1256 1257 void ekops_c ( SpiceInt * handle ); 1258 1259 1260 void ekopw_c ( ConstSpiceChar * fname, 1261 SpiceInt * handle ); 1262 1263 1264 void ekpsel_c ( ConstSpiceChar * query, 1265 SpiceInt msglen, 1266 SpiceInt tablen, 1267 SpiceInt collen, 1268 SpiceInt * n, 1269 SpiceInt * xbegs, 1270 SpiceInt * xends, 1271 SpiceEKDataType * xtypes, 1272 SpiceEKExprClass * xclass, 1273 void * tabs, 1274 void * cols, 1275 SpiceBoolean * error, 1276 SpiceChar * errmsg ); 1277 1278 1279 void ekrcec_c ( SpiceInt handle, 1280 SpiceInt segno, 1281 SpiceInt recno, 1282 ConstSpiceChar * column, 1283 SpiceInt lenout, 1284 SpiceInt * nvals, 1285 void * cvals, 1286 SpiceBoolean * isnull ); 1287 1288 1289 void ekrced_c ( SpiceInt handle, 1290 SpiceInt segno, 1291 SpiceInt recno, 1292 ConstSpiceChar * column, 1293 SpiceInt * nvals, 1294 SpiceDouble * dvals, 1295 SpiceBoolean * isnull ); 1296 1297 1298 void ekrcei_c ( SpiceInt handle, 1299 SpiceInt segno, 1300 SpiceInt recno, 1301 ConstSpiceChar * column, 1302 SpiceInt * nvals, 1303 SpiceInt * ivals, 1304 SpiceBoolean * isnull ); 1305 1306 1307 void ekssum_c ( SpiceInt handle, 1308 SpiceInt segno, 1309 SpiceEKSegSum * segsum ); 1310 1311 1312 void ektnam_c ( SpiceInt n, 1313 SpiceInt lenout, 1314 SpiceChar * table ); 1315 1316 1317 void ekucec_c ( SpiceInt handle, 1318 SpiceInt segno, 1319 SpiceInt recno, 1320 ConstSpiceChar * column, 1321 SpiceInt nvals, 1322 SpiceInt vallen, 1323 const void * cvals, 1324 SpiceBoolean isnull ); 1325 1326 1327 void ekuced_c ( SpiceInt handle, 1328 SpiceInt segno, 1329 SpiceInt recno, 1330 ConstSpiceChar * column, 1331 SpiceInt nvals, 1332 ConstSpiceDouble * dvals, 1333 SpiceBoolean isnull ); 1334 1335 1336 void ekucei_c ( SpiceInt handle, 1337 SpiceInt segno, 1338 SpiceInt recno, 1339 ConstSpiceChar * column, 1340 SpiceInt nvals, 1341 ConstSpiceInt * ivals, 1342 SpiceBoolean isnull ); 1343 1344 1345 void ekuef_c ( SpiceInt handle ); 1346 1347 1348 SpiceBoolean elemc_c ( ConstSpiceChar * item, 1349 SpiceCell * set ); 1350 1351 1352 SpiceBoolean elemd_c ( SpiceDouble item, 1353 SpiceCell * set ); 1354 1355 1356 SpiceBoolean elemi_c ( SpiceInt item, 1357 SpiceCell * set ); 1358 1359 1360 SpiceBoolean eqstr_c ( ConstSpiceChar * a, 1361 ConstSpiceChar * b ); 1362 1363 1364 void el2cgv_c ( ConstSpiceEllipse * ellipse, 1365 SpiceDouble center[3], 1366 SpiceDouble smajor[3], 1367 SpiceDouble sminor[3] ); 1368 1369 1370 void erract_c ( ConstSpiceChar * operation, 1371 SpiceInt lenout, 1372 SpiceChar * action ); 1373 1374 1375 void errch_c ( ConstSpiceChar * marker, 1376 ConstSpiceChar * string ); 1377 1378 1379 void errdev_c ( ConstSpiceChar * operation, 1380 SpiceInt lenout, 1381 SpiceChar * device ); 1382 1383 1384 void errdp_c ( ConstSpiceChar * marker, 1385 SpiceDouble number ); 1386 1387 1388 void errint_c ( ConstSpiceChar * marker, 1389 SpiceInt number ); 1390 1391 1392 void errprt_c ( ConstSpiceChar * operation, 1393 SpiceInt lenout, 1394 SpiceChar * list ); 1395 1396 1397 SpiceInt esrchc_c ( ConstSpiceChar * value, 1398 SpiceInt ndim, 1399 SpiceInt lenvals, 1400 const void * array ); 1401 1402 1403 void etcal_c ( SpiceDouble et, 1404 SpiceInt lenout, 1405 SpiceChar * string ); 1406 1407 1408 void et2lst_c ( SpiceDouble et, 1409 SpiceInt body, 1410 SpiceDouble lon, 1411 ConstSpiceChar * type, 1412 SpiceInt timlen, 1413 SpiceInt ampmlen, 1414 SpiceInt * hr, 1415 SpiceInt * mn, 1416 SpiceInt * sc, 1417 SpiceChar * time, 1418 SpiceChar * ampm ); 1419 1420 1421 void et2utc_c ( SpiceDouble et , 1422 ConstSpiceChar * format, 1423 SpiceInt prec, 1424 SpiceInt lenout, 1425 SpiceChar * utcstr ); 1426 1427 1428 void eul2m_c ( SpiceDouble angle3, 1429 SpiceDouble angle2, 1430 SpiceDouble angle1, 1431 SpiceInt axis3, 1432 SpiceInt axis2, 1433 SpiceInt axis1, 1434 SpiceDouble r [3][3] ); 1435 1436 1437 void eul2xf_c ( ConstSpiceDouble eulang[6], 1438 SpiceInt axisa, 1439 SpiceInt axisb, 1440 SpiceInt axisc, 1441 SpiceDouble xform [6][6] ); 1442 1443 1444 SpiceBoolean exists_c ( ConstSpiceChar * name ); 1445 1446 1447 void expool_c ( ConstSpiceChar * name, 1448 SpiceBoolean * found ); 1449 1450 1451 SpiceBoolean failed_c ( void ); 1452 1453 1454 void frame_c ( SpiceDouble x[3], 1455 SpiceDouble y[3], 1456 SpiceDouble z[3] ); 1457 1458 1459 void frinfo_c ( SpiceInt frcode, 1460 SpiceInt * cent, 1461 SpiceInt * clss, 1462 SpiceInt * clssid, 1463 SpiceBoolean * found ); 1464 1465 1466 void frmnam_c ( SpiceInt frcode, 1467 SpiceInt lenout, 1468 SpiceChar * frname ); 1469 1470 1471 void ftncls_c ( SpiceInt unit ); 1472 1473 1474 void furnsh_c ( ConstSpiceChar * file ); 1475 1476 1477 void gcpool_c ( ConstSpiceChar * name, 1478 SpiceInt start, 1479 SpiceInt room, 1480 SpiceInt lenout, 1481 SpiceInt * n, 1482 void * cvals, 1483 SpiceBoolean * found ); 1484 1485 1486 void gdpool_c ( ConstSpiceChar * name, 1487 SpiceInt start, 1488 SpiceInt room, 1489 SpiceInt * n, 1490 SpiceDouble * values, 1491 SpiceBoolean * found ); 1492 1493 1494 void georec_c ( SpiceDouble lon, 1495 SpiceDouble lat, 1496 SpiceDouble alt, 1497 SpiceDouble re, 1498 SpiceDouble f, 1499 SpiceDouble rectan[3] ); 1500 1501 1502 void getcml_c ( SpiceInt * argc, 1503 SpiceChar *** argv ); 1504 1505 1506 void getelm_c ( SpiceInt frstyr, 1507 SpiceInt lineln, 1508 const void * lines, 1509 SpiceDouble * epoch, 1510 SpiceDouble * elems ); 1511 1512 1513 void getfat_c ( ConstSpiceChar * file, 1514 SpiceInt arclen, 1515 SpiceInt typlen, 1516 SpiceChar * arch, 1517 SpiceChar * type ); 1518 1519 1520 void getfov_c ( SpiceInt instid, 1521 SpiceInt room, 1522 SpiceInt shapelen, 1523 SpiceInt framelen, 1524 SpiceChar * shape, 1525 SpiceChar * frame, 1526 SpiceDouble bsight [3], 1527 SpiceInt * n, 1528 SpiceDouble bounds [][3] ); 1529 1530 1531 void getmsg_c ( ConstSpiceChar * option, 1532 SpiceInt lenout, 1533 SpiceChar * msg ); 1534 1535 1536 void gipool_c ( ConstSpiceChar * name, 1537 SpiceInt start, 1538 SpiceInt room, 1539 SpiceInt * n, 1540 SpiceInt * ivals, 1541 SpiceBoolean * found ); 1542 1543 1544 void gnpool_c ( ConstSpiceChar * name, 1545 SpiceInt start, 1546 SpiceInt room, 1547 SpiceInt lenout, 1548 SpiceInt * n, 1549 void * kvars, 1550 SpiceBoolean * found ); 1551 1552 1553 SpiceDouble halfpi_c ( void ); 1554 1555 1556 void ident_c ( SpiceDouble matrix[3][3] ); 1557 1558 1559 void illum_c ( ConstSpiceChar * target, 1560 SpiceDouble et, 1561 ConstSpiceChar * abcorr, 1562 ConstSpiceChar * obsrvr, 1563 ConstSpiceDouble spoint [3], 1564 SpiceDouble * phase, 1565 SpiceDouble * solar, 1566 SpiceDouble * emissn ); 1567 1568 1569 void inedpl_c ( SpiceDouble a, 1570 SpiceDouble b, 1571 SpiceDouble c, 1572 ConstSpicePlane * plane, 1573 SpiceEllipse * ellipse, 1574 SpiceBoolean * found ); 1575 1576 1577 void inelpl_c ( ConstSpiceEllipse * ellips, 1578 ConstSpicePlane * plane, 1579 SpiceInt * nxpts, 1580 SpiceDouble xpt1[3], 1581 SpiceDouble xpt2[3] ); 1582 1583 1584 void insrtc_c ( ConstSpiceChar * item, 1585 SpiceCell * set ); 1586 1587 1588 void insrtd_c ( SpiceDouble item, 1589 SpiceCell * set ); 1590 1591 1592 void insrti_c ( SpiceInt item, 1593 SpiceCell * set ); 1594 1595 1596 void inter_c ( SpiceCell * a, 1597 SpiceCell * b, 1598 SpiceCell * c ); 1599 1600 1601 void inrypl_c ( ConstSpiceDouble vertex [3], 1602 ConstSpiceDouble dir [3], 1603 ConstSpicePlane * plane, 1604 SpiceInt * nxpts, 1605 SpiceDouble xpt [3] ); 1606 1607 1608 SpiceInt intmax_c ( void ); 1609 1610 1611 SpiceInt intmax_ ( void ); 1612 1613 1614 SpiceInt intmin_c ( void ); 1615 1616 1617 SpiceInt intmin_ ( void ); 1618 1619 1620 void invert_c ( ConstSpiceDouble m1[3][3], 1621 SpiceDouble m2[3][3] ); 1622 1623 1624 void invort_c ( ConstSpiceDouble m [3][3], 1625 SpiceDouble mit[3][3] ); 1626 1627 1628 SpiceBoolean isordv_c ( ConstSpiceInt * array, 1629 SpiceInt n ); 1630 1631 1632 SpiceBoolean isrot_c ( ConstSpiceDouble m [3][3], 1633 SpiceDouble ntol, 1634 SpiceDouble dtol ); 1635 1636 1637 1638 SpiceInt isrchc_c ( ConstSpiceChar * value, 1639 SpiceInt ndim, 1640 SpiceInt lenvals, 1641 const void * array ); 1642 1643 1644 SpiceInt isrchd_c ( SpiceDouble value, 1645 SpiceInt ndim, 1646 ConstSpiceDouble * array ); 1647 1648 1649 SpiceInt isrchi_c ( SpiceInt value, 1650 SpiceInt ndim, 1651 ConstSpiceInt * array ); 1652 1653 1654 SpiceBoolean iswhsp_c ( ConstSpiceChar * string ); 1655 1656 1657 SpiceDouble j1900_c ( void ); 1658 1659 1660 SpiceDouble j1950_c ( void ); 1661 1662 1663 SpiceDouble j2000_c ( void ); 1664 1665 1666 SpiceDouble j2100_c ( void ); 1667 1668 1669 SpiceDouble jyear_c ( void ); 1670 1671 1672 void kdata_c ( SpiceInt which, 1673 ConstSpiceChar * kind, 1674 SpiceInt fillen, 1675 SpiceInt typlen, 1676 SpiceInt srclen, 1677 SpiceChar * file, 1678 SpiceChar * filtyp, 1679 SpiceChar * source, 1680 SpiceInt * handle, 1681 SpiceBoolean * found ); 1682 1683 1684 void kinfo_c ( ConstSpiceChar * file, 1685 SpiceInt typlen, 1686 SpiceInt srclen, 1687 SpiceChar * filtyp, 1688 SpiceChar * source, 1689 SpiceInt * handle, 1690 SpiceBoolean * found ); 1691 1692 1693 void ktotal_c ( ConstSpiceChar * kind, 1694 SpiceInt * count ); 1695 1696 1697 void kxtrct_c ( ConstSpiceChar * keywd, 1698 SpiceInt termlen, 1699 const void * terms, 1700 SpiceInt nterms, 1701 SpiceInt stringlen, 1702 SpiceInt substrlen, 1703 SpiceChar * string, 1704 SpiceBoolean * found, 1705 SpiceChar * substr ); 1706 1707 1708 SpiceInt lastnb_c ( ConstSpiceChar * string ); 1709 1710 1711 void latcyl_c ( SpiceDouble radius, 1712 SpiceDouble lon, 1713 SpiceDouble lat, 1714 SpiceDouble * r, 1715 SpiceDouble * lonc, 1716 SpiceDouble * z ); 1717 1718 1719 void latrec_c ( SpiceDouble radius, 1720 SpiceDouble longitude, 1721 SpiceDouble latitude, 1722 SpiceDouble rectan [3] ); 1723 1724 1725 void latsph_c ( SpiceDouble radius, 1726 SpiceDouble lon, 1727 SpiceDouble lat, 1728 SpiceDouble * rho, 1729 SpiceDouble * colat, 1730 SpiceDouble * lons ); 1731 1732 1733 void lcase_c ( SpiceChar * in, 1734 SpiceInt lenout, 1735 SpiceChar * out ); 1736 1737 1738 void ldpool_c ( ConstSpiceChar * filename ); 1739 1740 1741 void lmpool_c ( const void * cvals, 1742 SpiceInt lenvals, 1743 SpiceInt n ); 1744 1745 1746 void lparse_c ( ConstSpiceChar * list, 1747 ConstSpiceChar * delim, 1748 SpiceInt nmax, 1749 SpiceInt lenout, 1750 SpiceInt * n, 1751 void * items ); 1752 1753 1754 void lparsm_c ( ConstSpiceChar * list, 1755 ConstSpiceChar * delims, 1756 SpiceInt nmax, 1757 SpiceInt lenout, 1758 SpiceInt * n, 1759 void * items ); 1760 1761 1762 void lparss_c ( ConstSpiceChar * list, 1763 ConstSpiceChar * delims, 1764 SpiceCell * set ); 1765 1766 1767 SpiceDouble lspcn_c ( ConstSpiceChar * body, 1768 SpiceDouble et, 1769 ConstSpiceChar * abcorr ); 1770 1771 1772 SpiceInt lstlec_c ( ConstSpiceChar * string, 1773 SpiceInt n, 1774 SpiceInt lenvals, 1775 const void * array ); 1776 1777 1778 SpiceInt lstled_c ( SpiceDouble x, 1779 SpiceInt n, 1780 ConstSpiceDouble * array ); 1781 1782 1783 SpiceInt lstlei_c ( SpiceInt x, 1784 SpiceInt n, 1785 ConstSpiceInt * array ); 1786 1787 1788 SpiceInt lstltc_c ( ConstSpiceChar * string, 1789 SpiceInt n, 1790 SpiceInt lenvals, 1791 const void * array ); 1792 1793 1794 SpiceInt lstltd_c ( SpiceDouble x, 1795 SpiceInt n, 1796 ConstSpiceDouble * array ); 1797 1798 1799 SpiceInt lstlti_c ( SpiceInt x, 1800 SpiceInt n, 1801 ConstSpiceInt * array ); 1802 1803 1804 void ltime_c ( SpiceDouble etobs, 1805 SpiceInt obs, 1806 ConstSpiceChar * dir, 1807 SpiceInt targ, 1808 SpiceDouble * ettarg, 1809 SpiceDouble * elapsd ); 1810 1811 1812 void lx4dec_c ( ConstSpiceChar * string, 1813 SpiceInt first, 1814 SpiceInt * last, 1815 SpiceInt * nchar ); 1816 1817 1818 void lx4num_c ( ConstSpiceChar * string, 1819 SpiceInt first, 1820 SpiceInt * last, 1821 SpiceInt * nchar ); 1822 1823 1824 void lx4sgn_c ( ConstSpiceChar * string, 1825 SpiceInt first, 1826 SpiceInt * last, 1827 SpiceInt * nchar ); 1828 1829 1830 void lx4uns_c ( ConstSpiceChar * string, 1831 SpiceInt first, 1832 SpiceInt * last, 1833 SpiceInt * nchar ); 1834 1835 1836 void lxqstr_c ( ConstSpiceChar * string, 1837 SpiceChar qchar, 1838 SpiceInt first, 1839 SpiceInt * last, 1840 SpiceInt * nchar ); 1841 1842 1843 void m2eul_c ( ConstSpiceDouble r[3][3], 1844 SpiceInt axis3, 1845 SpiceInt axis2, 1846 SpiceInt axis1, 1847 SpiceDouble * angle3, 1848 SpiceDouble * angle2, 1849 SpiceDouble * angle1 ); 1850 1851 1852 void m2q_c ( ConstSpiceDouble r[3][3], 1853 SpiceDouble q[4] ); 1854 1855 1856 1857 SpiceBoolean matchi_c ( ConstSpiceChar * string, 1858 ConstSpiceChar * templ, 1859 SpiceChar wstr, 1860 SpiceChar wchr ); 1861 1862 1863 SpiceBoolean matchw_c ( ConstSpiceChar * string, 1864 ConstSpiceChar * templ, 1865 SpiceChar wstr, 1866 SpiceChar wchr ); 1867 1868 1869 SpiceDouble maxd_c ( SpiceInt n, 1870 ... ); 1871 1872 1873 SpiceInt maxi_c ( SpiceInt n, 1874 ... ); 1875 1876 1877 void mequ_c ( ConstSpiceDouble m1 [3][3], 1878 SpiceDouble mout[3][3] ); 1879 1880 1881 void mequg_c ( const void * m1, 1882 SpiceInt nr, 1883 SpiceInt nc, 1884 void * mout ); 1885 1886 1887 SpiceDouble mind_c ( SpiceInt n, 1888 ... ); 1889 1890 1891 SpiceInt mini_c ( SpiceInt n, 1892 ... ); 1893 1894 1895 int moved_ ( SpiceDouble * arrfrm, 1896 SpiceInt * ndim, 1897 SpiceDouble * arrto ); 1898 1899 1900 void mtxm_c ( ConstSpiceDouble m1 [3][3], 1901 ConstSpiceDouble m2 [3][3], 1902 SpiceDouble mout[3][3] ); 1903 1904 1905 void mtxmg_c ( const void * m1, 1906 const void * m2, 1907 SpiceInt row1, 1908 SpiceInt col1, 1909 SpiceInt col2, 1910 void * mout ); 1911 1912 1913 void mtxv_c ( ConstSpiceDouble m1 [3][3], 1914 ConstSpiceDouble vin [3], 1915 SpiceDouble vout[3] ); 1916 1917 1918 void mtxvg_c ( const void * m1, 1919 const void * v2, 1920 SpiceInt ncol1, 1921 SpiceInt nr1r2, 1922 void * vout ); 1923 1924 1925 void mxm_c ( ConstSpiceDouble m1 [3][3], 1926 ConstSpiceDouble m2 [3][3], 1927 SpiceDouble mout[3][3] ); 1928 1929 1930 void mxmg_c ( const void * m1, 1931 const void * m2, 1932 SpiceInt row1, 1933 SpiceInt col1, 1934 SpiceInt col2, 1935 void * mout ); 1936 1937 1938 void mxmt_c ( ConstSpiceDouble m1 [3][3], 1939 ConstSpiceDouble m2 [3][3], 1940 SpiceDouble mout[3][3] ); 1941 1942 1943 void mxmtg_c ( const void * m1, 1944 const void * m2, 1945 SpiceInt nrow1, 1946 SpiceInt nc1c2, 1947 SpiceInt nrow2, 1948 void * mout ); 1949 1950 1951 void mxv_c ( ConstSpiceDouble m1[3][3], 1952 ConstSpiceDouble vin[3], 1953 SpiceDouble vout[3] ); 1954 1955 1956 void mxvg_c ( const void * m1, 1957 const void * v2, 1958 SpiceInt nrow1, 1959 SpiceInt nc1r2, 1960 void * vout ); 1961 1962 1963 void namfrm_c ( ConstSpiceChar * frname, 1964 SpiceInt * frcode ); 1965 1966 1967 SpiceInt ncpos_c ( ConstSpiceChar * str, 1968 ConstSpiceChar * chars, 1969 SpiceInt start ); 1970 1971 1972 SpiceInt ncposr_c ( ConstSpiceChar * str, 1973 ConstSpiceChar * chars, 1974 SpiceInt start ); 1975 1976 1977 void nearpt_c ( ConstSpiceDouble positn[3], 1978 SpiceDouble a, 1979 SpiceDouble b, 1980 SpiceDouble c, 1981 SpiceDouble npoint[3], 1982 SpiceDouble * alt ); 1983 1984 1985 void npedln_c ( SpiceDouble a, 1986 SpiceDouble b, 1987 SpiceDouble c, 1988 ConstSpiceDouble linept[3], 1989 ConstSpiceDouble linedr[3], 1990 SpiceDouble pnear[3], 1991 SpiceDouble * dist ); 1992 1993 1994 void npelpt_c ( ConstSpiceDouble point[3], 1995 ConstSpiceEllipse * ellips, 1996 SpiceDouble pnear[3], 1997 SpiceDouble * dist ); 1998 1999 2000 void nplnpt_c ( ConstSpiceDouble linpt [3], 2001 ConstSpiceDouble lindir [3], 2002 ConstSpiceDouble point [3], 2003 SpiceDouble pnear [3], 2004 SpiceDouble * dist ); 2005 2006 2007 void nvc2pl_c ( ConstSpiceDouble normal[3], 2008 SpiceDouble constant, 2009 SpicePlane * plane ); 2010 2011 2012 void nvp2pl_c ( ConstSpiceDouble normal[3], 2013 ConstSpiceDouble point[3], 2014 SpicePlane * plane ); 2015 2016 2017 SpiceInt ordc_c ( ConstSpiceChar * item, 2018 SpiceCell * set ); 2019 2020 2021 SpiceInt ordd_c ( SpiceDouble item, 2022 SpiceCell * set ); 2023 2024 2025 SpiceInt ordi_c ( SpiceInt item, 2026 SpiceCell * set ); 2027 2028 2029 void orderc_c ( SpiceInt lenvals, 2030 const void * array, 2031 SpiceInt ndim, 2032 SpiceInt * iorder ); 2033 2034 2035 void orderd_c ( ConstSpiceDouble * array, 2036 SpiceInt ndim, 2037 SpiceInt * iorder ); 2038 2039 2040 void orderi_c ( ConstSpiceInt * array, 2041 SpiceInt ndim, 2042 SpiceInt * iorder ); 2043 2044 2045 void oscelt_c ( ConstSpiceDouble state[6], 2046 SpiceDouble et , 2047 SpiceDouble mu , 2048 SpiceDouble elts[8] ); 2049 2050 2051 void pcklof_c ( ConstSpiceChar * fname, 2052 SpiceInt * handle ); 2053 2054 2055 void pckuof_c ( SpiceInt handle ); 2056 2057 2058 void pcpool_c ( ConstSpiceChar * name, 2059 SpiceInt n, 2060 SpiceInt lenvals, 2061 const void * cvals ); 2062 2063 2064 void pdpool_c ( ConstSpiceChar * name, 2065 SpiceInt n, 2066 ConstSpiceDouble * dvals ); 2067 2068 2069 void pgrrec_c ( ConstSpiceChar * body, 2070 SpiceDouble lon, 2071 SpiceDouble lat, 2072 SpiceDouble alt, 2073 SpiceDouble re, 2074 SpiceDouble f, 2075 SpiceDouble rectan[3] ); 2076 2077 2078 SpiceDouble pi_c ( void ); 2079 2080 2081 void pipool_c ( ConstSpiceChar * name, 2082 SpiceInt n, 2083 ConstSpiceInt * ivals ); 2084 2085 2086 void pjelpl_c ( ConstSpiceEllipse * elin, 2087 ConstSpicePlane * plane, 2088 SpiceEllipse * elout ); 2089 2090 2091 void pl2nvc_c ( ConstSpicePlane * plane, 2092 SpiceDouble normal[3], 2093 SpiceDouble * constant ); 2094 2095 2096 void pl2nvp_c ( ConstSpicePlane * plane, 2097 SpiceDouble normal[3], 2098 SpiceDouble point[3] ); 2099 2100 2101 void pl2psv_c ( ConstSpicePlane * plane, 2102 SpiceDouble point[3], 2103 SpiceDouble span1[3], 2104 SpiceDouble span2[3] ); 2105 2106 2107 SpiceInt pos_c ( ConstSpiceChar * str, 2108 ConstSpiceChar * substr, 2109 SpiceInt start ); 2110 2111 2112 SpiceInt posr_c ( ConstSpiceChar * str, 2113 ConstSpiceChar * substr, 2114 SpiceInt start ); 2115 2116 2117 void prefix_c ( ConstSpiceChar * pref, 2118 SpiceInt spaces, 2119 SpiceInt lenout, 2120 SpiceChar * string ); 2121 2122 2123 SpiceChar * prompt_c ( ConstSpiceChar * prmptStr, 2124 SpiceInt lenout, 2125 SpiceChar * buffer ); 2126 2127 2128 void prop2b_c ( SpiceDouble gm, 2129 ConstSpiceDouble pvinit[6], 2130 SpiceDouble dt, 2131 SpiceDouble pvprop[6] ); 2132 2133 2134 void prsdp_c ( ConstSpiceChar * string, 2135 SpiceDouble * dpval ); 2136 2137 2138 void prsint_c ( ConstSpiceChar * string, 2139 SpiceInt * intval ); 2140 2141 2142 void psv2pl_c ( ConstSpiceDouble point[3], 2143 ConstSpiceDouble span1[3], 2144 ConstSpiceDouble span2[3], 2145 SpicePlane * plane ); 2146 2147 2148 void putcml_c ( SpiceInt argc , 2149 SpiceChar ** argv ); 2150 2151 2152 void pxform_c ( ConstSpiceChar * from, 2153 ConstSpiceChar * to, 2154 SpiceDouble et, 2155 SpiceDouble rotate[3][3] ); 2156 2157 2158 void q2m_c ( ConstSpiceDouble q[4], 2159 SpiceDouble r[3][3] ); 2160 2161 2162 void qdq2av_c ( ConstSpiceDouble q[4], 2163 ConstSpiceDouble dq[4], 2164 SpiceDouble av[3] ); 2165 2166 2167 void qxq_c ( ConstSpiceDouble q1[4], 2168 ConstSpiceDouble q2[4], 2169 SpiceDouble qout[4] ); 2170 2171 2172 2173 void radrec_c ( SpiceDouble range, 2174 SpiceDouble ra, 2175 SpiceDouble dec, 2176 SpiceDouble rectan[3] ); 2177 2178 2179 void rav2xf_c ( ConstSpiceDouble rot [3][3], 2180 ConstSpiceDouble av [3], 2181 SpiceDouble xform [6][6] ); 2182 2183 2184 void raxisa_c ( ConstSpiceDouble matrix[3][3], 2185 SpiceDouble axis [3], 2186 SpiceDouble * angle ); 2187 2188 2189 void rdtext_c ( ConstSpiceChar * file, 2190 SpiceInt lenout, 2191 SpiceChar * line, 2192 SpiceBoolean * eof ); 2193 2194 2195 void reccyl_c ( ConstSpiceDouble rectan[3], 2196 SpiceDouble * r, 2197 SpiceDouble * lon, 2198 SpiceDouble * z ); 2199 2200 2201 void recgeo_c ( ConstSpiceDouble rectan[3], 2202 SpiceDouble re, 2203 SpiceDouble f, 2204 SpiceDouble * lon, 2205 SpiceDouble * lat, 2206 SpiceDouble * alt ); 2207 2208 2209 void reclat_c ( ConstSpiceDouble rectan[3], 2210 SpiceDouble * radius, 2211 SpiceDouble * longitude, 2212 SpiceDouble * latitude ); 2213 2214 2215 void recpgr_c ( ConstSpiceChar * body, 2216 SpiceDouble rectan[3], 2217 SpiceDouble re, 2218 SpiceDouble f, 2219 SpiceDouble * lon, 2220 SpiceDouble * lat, 2221 SpiceDouble * alt ); 2222 2223 2224 void recrad_c ( ConstSpiceDouble rectan[3], 2225 SpiceDouble * radius, 2226 SpiceDouble * ra, 2227 SpiceDouble * dec ); 2228 2229 2230 2231 void reordc_c ( ConstSpiceInt * iorder, 2232 SpiceInt ndim, 2233 SpiceInt lenvals, 2234 void * array ); 2235 2236 2237 void reordd_c ( ConstSpiceInt * iorder, 2238 SpiceInt ndim, 2239 SpiceDouble * array ); 2240 2241 2242 void reordi_c ( ConstSpiceInt * iorder, 2243 SpiceInt ndim, 2244 SpiceInt * array ); 2245 2246 2247 void reordl_c ( ConstSpiceInt * iorder, 2248 SpiceInt ndim, 2249 SpiceBoolean * array ); 2250 2251 2252 void removc_c ( ConstSpiceChar * item, 2253 SpiceCell * set ); 2254 2255 2256 void removd_c ( SpiceDouble item, 2257 SpiceCell * set ); 2258 2259 2260 void removi_c ( SpiceInt item, 2261 SpiceCell * set ); 2262 2263 2264 void repmc_c ( ConstSpiceChar * in, 2265 ConstSpiceChar * marker, 2266 ConstSpiceChar * value, 2267 SpiceInt lenout, 2268 SpiceChar * out ); 2269 2270 2271 void repmct_c ( ConstSpiceChar * in, 2272 ConstSpiceChar * marker, 2273 SpiceInt value, 2274 SpiceChar strCase, 2275 SpiceInt lenout, 2276 SpiceChar * out ); 2277 2278 2279 void repmd_c ( ConstSpiceChar * in, 2280 ConstSpiceChar * marker, 2281 SpiceDouble value, 2282 SpiceInt sigdig, 2283 SpiceInt lenout, 2284 SpiceChar * out ); 2285 2286 2287 void repmf_c ( ConstSpiceChar * in, 2288 ConstSpiceChar * marker, 2289 SpiceDouble value, 2290 SpiceInt sigdig, 2291 SpiceChar format, 2292 SpiceInt lenout, 2293 SpiceChar * out ); 2294 2295 2296 void repmi_c ( ConstSpiceChar * in, 2297 ConstSpiceChar * marker, 2298 SpiceInt value, 2299 SpiceInt lenout, 2300 SpiceChar * out ); 2301 2302 2303 void repmot_c ( ConstSpiceChar * in, 2304 ConstSpiceChar * marker, 2305 SpiceInt value, 2306 SpiceChar strCase, 2307 SpiceInt lenout, 2308 SpiceChar * out ); 2309 2310 2311 void reset_c ( void ); 2312 2313 2314 SpiceBoolean return_c ( void ); 2315 2316 2317 void recsph_c ( ConstSpiceDouble rectan[3], 2318 SpiceDouble * r, 2319 SpiceDouble * colat, 2320 SpiceDouble * lon ); 2321 2322 2323 void rotate_c ( SpiceDouble angle, 2324 SpiceInt iaxis, 2325 SpiceDouble mout[3][3] ); 2326 2327 2328 void rotmat_c ( ConstSpiceDouble m1[3][3], 2329 SpiceDouble angle, 2330 SpiceInt iaxis, 2331 SpiceDouble mout[3][3] ); 2332 2333 2334 void rotvec_c ( ConstSpiceDouble v1[3], 2335 SpiceDouble angle, 2336 SpiceInt iaxis, 2337 SpiceDouble vout[3] ); 2338 2339 2340 SpiceDouble rpd_c ( void ); 2341 2342 2343 void rquad_c ( SpiceDouble a, 2344 SpiceDouble b, 2345 SpiceDouble c, 2346 SpiceDouble root1[2], 2347 SpiceDouble root2[2] ); 2348 2349 2350 void saelgv_c ( ConstSpiceDouble vec1 [3], 2351 ConstSpiceDouble vec2 [3], 2352 SpiceDouble smajor[3], 2353 SpiceDouble sminor[3] ); 2354 2355 2356 void scard_c ( SpiceInt card, 2357 SpiceCell * cell ); 2358 2359 2360 void scdecd_c ( SpiceInt sc, 2361 SpiceDouble sclkdp, 2362 SpiceInt sclklen, 2363 SpiceChar * sclkch ); 2364 2365 2366 void sce2s_c ( SpiceInt sc, 2367 SpiceDouble et, 2368 SpiceInt sclklen, 2369 SpiceChar * sclkch ); 2370 2371 2372 void sce2c_c ( SpiceInt sc, 2373 SpiceDouble et, 2374 SpiceDouble * sclkdp ); 2375 2376 2377 void sce2t_c ( SpiceInt sc, 2378 SpiceDouble et, 2379 SpiceDouble * sclkdp ); 2380 2381 2382 void scencd_c ( SpiceInt sc, 2383 ConstSpiceChar * sclkch, 2384 SpiceDouble * sclkdp ); 2385 2386 2387 void scfmt_c ( SpiceInt sc, 2388 SpiceDouble ticks, 2389 SpiceInt clkstrlen, 2390 SpiceChar * clkstr ); 2391 2392 2393 void scpart_c ( SpiceInt sc, 2394 SpiceInt * nparts, 2395 SpiceDouble * pstart, 2396 SpiceDouble * pstop ); 2397 2398 2399 void scs2e_c ( SpiceInt sc, 2400 ConstSpiceChar * sclkch, 2401 SpiceDouble * et ); 2402 2403 2404 void sct2e_c ( SpiceInt sc, 2405 SpiceDouble sclkdp, 2406 SpiceDouble * et ); 2407 2408 2409 void sctiks_c ( SpiceInt sc, 2410 ConstSpiceChar * clkstr, 2411 SpiceDouble * ticks ); 2412 2413 2414 void sdiff_c ( SpiceCell * a, 2415 SpiceCell * b, 2416 SpiceCell * c ); 2417 2418 2419 SpiceBoolean set_c ( SpiceCell * a, 2420 ConstSpiceChar * op, 2421 SpiceCell * b ); 2422 2423 2424 void setmsg_c ( ConstSpiceChar * msg ); 2425 2426 2427 void shellc_c ( SpiceInt ndim, 2428 SpiceInt lenvals, 2429 void * array ); 2430 2431 2432 void shelld_c ( SpiceInt ndim, 2433 SpiceDouble * array ); 2434 2435 2436 void shelli_c ( SpiceInt ndim, 2437 SpiceInt * array ); 2438 2439 2440 void sigerr_c ( ConstSpiceChar * message ); 2441 2442 2443 SpiceInt size_c ( SpiceCell * size ); 2444 2445 2446 SpiceDouble spd_c ( void ); 2447 2448 2449 void sphcyl_c ( SpiceDouble radius, 2450 SpiceDouble colat, 2451 SpiceDouble slon, 2452 SpiceDouble * r, 2453 SpiceDouble * lon, 2454 SpiceDouble * z ); 2455 2456 2457 void sphlat_c ( SpiceDouble r, 2458 SpiceDouble colat, 2459 SpiceDouble lons, 2460 SpiceDouble * radius, 2461 SpiceDouble * lon, 2462 SpiceDouble * lat ); 2463 2464 2465 void sphrec_c ( SpiceDouble r, 2466 SpiceDouble colat, 2467 SpiceDouble lon, 2468 SpiceDouble rectan[3] ); 2469 2470 2471 void spk14a_c ( SpiceInt handle, 2472 SpiceInt ncsets, 2473 ConstSpiceDouble coeffs [], 2474 ConstSpiceDouble epochs [] ); 2475 2476 2477 void spk14b_c ( SpiceInt handle, 2478 ConstSpiceChar * segid, 2479 SpiceInt body, 2480 SpiceInt center, 2481 ConstSpiceChar * frame, 2482 SpiceDouble first, 2483 SpiceDouble last, 2484 SpiceInt chbdeg ); 2485 2486 2487 void spk14e_c ( SpiceInt handle ); 2488 2489 2490 void spkapo_c ( SpiceInt targ, 2491 SpiceDouble et, 2492 ConstSpiceChar * ref, 2493 ConstSpiceDouble sobs[6], 2494 ConstSpiceChar * abcorr, 2495 SpiceDouble ptarg[3], 2496 SpiceDouble * lt ); 2497 2498 2499 void spkapp_c ( SpiceInt targ, 2500 SpiceDouble et, 2501 ConstSpiceChar * ref, 2502 ConstSpiceDouble sobs [6], 2503 ConstSpiceChar * abcorr, 2504 SpiceDouble starg [6], 2505 SpiceDouble * lt ); 2506 2507 2508 void spkcls_c ( SpiceInt handle ); 2509 2510 2511 void spkcov_c ( ConstSpiceChar * spk, 2512 SpiceInt idcode, 2513 SpiceCell * cover ); 2514 2515 2516 void spkez_c ( SpiceInt target, 2517 SpiceDouble epoch, 2518 ConstSpiceChar * frame, 2519 ConstSpiceChar * abcorr, 2520 SpiceInt observer, 2521 SpiceDouble state[6], 2522 SpiceDouble * lt ); 2523 2524 2525 void spkezp_c ( SpiceInt targ, 2526 SpiceDouble et, 2527 ConstSpiceChar * ref, 2528 ConstSpiceChar * abcorr, 2529 SpiceInt obs, 2530 SpiceDouble ptarg[3], 2531 SpiceDouble * lt ); 2532 2533 2534 void spkezr_c ( ConstSpiceChar * target, 2535 SpiceDouble epoch, 2536 ConstSpiceChar * frame, 2537 ConstSpiceChar * abcorr, 2538 ConstSpiceChar * observer, 2539 SpiceDouble state[6], 2540 SpiceDouble * lt ); 2541 2542 2543 void spkgeo_c ( SpiceInt targ, 2544 SpiceDouble et, 2545 ConstSpiceChar * ref, 2546 SpiceInt obs, 2547 SpiceDouble state[6], 2548 SpiceDouble * lt ); 2549 2550 2551 void spkgps_c ( SpiceInt targ, 2552 SpiceDouble et, 2553 ConstSpiceChar * ref, 2554 SpiceInt obs, 2555 SpiceDouble pos[3], 2556 SpiceDouble * lt ); 2557 2558 2559 void spklef_c ( ConstSpiceChar * filename, 2560 SpiceInt * handle ); 2561 2562 2563 void spkobj_c ( ConstSpiceChar * spk, 2564 SpiceCell * ids ); 2565 2566 2567 void spkopa_c ( ConstSpiceChar * file, 2568 SpiceInt * handle ); 2569 2570 2571 void spkopn_c ( ConstSpiceChar * name, 2572 ConstSpiceChar * ifname, 2573 SpiceInt ncomch, 2574 SpiceInt * handle ); 2575 2576 2577 void spkpds_c ( SpiceInt body, 2578 SpiceInt center, 2579 ConstSpiceChar * frame, 2580 SpiceInt type, 2581 SpiceDouble first, 2582 SpiceDouble last, 2583 SpiceDouble descr[5] ); 2584 2585 2586 void spkpos_c ( ConstSpiceChar * targ, 2587 SpiceDouble et, 2588 ConstSpiceChar * ref, 2589 ConstSpiceChar * abcorr, 2590 ConstSpiceChar * obs, 2591 SpiceDouble ptarg[3], 2592 SpiceDouble * lt ); 2593 2594 2595 void spkssb_c ( SpiceInt targ, 2596 SpiceDouble et, 2597 ConstSpiceChar * ref, 2598 SpiceDouble starg[6] ); 2599 2600 2601 void spksub_c ( SpiceInt handle, 2602 SpiceDouble descr[5], 2603 ConstSpiceChar * ident, 2604 SpiceDouble begin, 2605 SpiceDouble end, 2606 SpiceInt newh ); 2607 2608 2609 void spkuds_c ( ConstSpiceDouble descr [5], 2610 SpiceInt * body, 2611 SpiceInt * center, 2612 SpiceInt * frame, 2613 SpiceInt * type, 2614 SpiceDouble * first, 2615 SpiceDouble * last, 2616 SpiceInt * begin, 2617 SpiceInt * end ); 2618 2619 2620 void spkuef_c ( SpiceInt handle ); 2621 2622 2623 void spkw02_c ( SpiceInt handle, 2624 SpiceInt body, 2625 SpiceInt center, 2626 ConstSpiceChar * frame, 2627 SpiceDouble first, 2628 SpiceDouble last, 2629 ConstSpiceChar * segid, 2630 SpiceDouble intlen, 2631 SpiceInt n, 2632 SpiceInt polydg, 2633 ConstSpiceDouble cdata [], 2634 SpiceDouble btime ); 2635 2636 2637 void spkw03_c ( SpiceInt handle, 2638 SpiceInt body, 2639 SpiceInt center, 2640 ConstSpiceChar * frame, 2641 SpiceDouble first, 2642 SpiceDouble last, 2643 ConstSpiceChar * segid, 2644 SpiceDouble intlen, 2645 SpiceInt n, 2646 SpiceInt polydg, 2647 ConstSpiceDouble cdata [], 2648 SpiceDouble btime ); 2649 2650 2651 void spkw05_c ( SpiceInt handle, 2652 SpiceInt body, 2653 SpiceInt center, 2654 ConstSpiceChar * frame, 2655 SpiceDouble first, 2656 SpiceDouble last, 2657 ConstSpiceChar * segid, 2658 SpiceDouble gm, 2659 SpiceInt n, 2660 ConstSpiceDouble states [][6], 2661 ConstSpiceDouble epochs [] ); 2662 2663 2664 void spkw08_c ( SpiceInt handle, 2665 SpiceInt body, 2666 SpiceInt center, 2667 ConstSpiceChar * frame, 2668 SpiceDouble first, 2669 SpiceDouble last, 2670 ConstSpiceChar * segid, 2671 SpiceInt degree, 2672 SpiceInt n, 2673 ConstSpiceDouble states[][6], 2674 SpiceDouble epoch1, 2675 SpiceDouble step ); 2676 2677 2678 void spkw09_c ( SpiceInt handle, 2679 SpiceInt body, 2680 SpiceInt center, 2681 ConstSpiceChar * frame, 2682 SpiceDouble first, 2683 SpiceDouble last, 2684 ConstSpiceChar * segid, 2685 SpiceInt degree, 2686 SpiceInt n, 2687 ConstSpiceDouble states[][6], 2688 ConstSpiceDouble epochs[] ); 2689 2690 2691 void spkw10_c ( SpiceInt handle, 2692 SpiceInt body, 2693 SpiceInt center, 2694 ConstSpiceChar * frame, 2695 SpiceDouble first, 2696 SpiceDouble last, 2697 ConstSpiceChar * segid, 2698 ConstSpiceDouble consts [8], 2699 SpiceInt n, 2700 ConstSpiceDouble elems [], 2701 ConstSpiceDouble epochs [] ); 2702 2703 2704 void spkw12_c ( SpiceInt handle, 2705 SpiceInt body, 2706 SpiceInt center, 2707 ConstSpiceChar * frame, 2708 SpiceDouble first, 2709 SpiceDouble last, 2710 ConstSpiceChar * segid, 2711 SpiceInt degree, 2712 SpiceInt n, 2713 ConstSpiceDouble states[][6], 2714 SpiceDouble epoch0, 2715 SpiceDouble step ); 2716 2717 2718 void spkw13_c ( SpiceInt handle, 2719 SpiceInt body, 2720 SpiceInt center, 2721 ConstSpiceChar * frame, 2722 SpiceDouble first, 2723 SpiceDouble last, 2724 ConstSpiceChar * segid, 2725 SpiceInt degree, 2726 SpiceInt n, 2727 ConstSpiceDouble states[][6], 2728 ConstSpiceDouble epochs[] ); 2729 2730 2731 void spkw15_c ( SpiceInt handle, 2732 SpiceInt body, 2733 SpiceInt center, 2734 ConstSpiceChar * frame, 2735 SpiceDouble first, 2736 SpiceDouble last, 2737 ConstSpiceChar * segid, 2738 SpiceDouble epoch, 2739 ConstSpiceDouble tp [3], 2740 ConstSpiceDouble pa [3], 2741 SpiceDouble p, 2742 SpiceDouble ecc, 2743 SpiceDouble j2flg, 2744 ConstSpiceDouble pv [3], 2745 SpiceDouble gm, 2746 SpiceDouble j2, 2747 SpiceDouble radius ); 2748 2749 2750 void spkw17_c ( SpiceInt handle, 2751 SpiceInt body, 2752 SpiceInt center, 2753 ConstSpiceChar * frame, 2754 SpiceDouble first, 2755 SpiceDouble last, 2756 ConstSpiceChar * segid, 2757 SpiceDouble epoch, 2758 ConstSpiceDouble eqel [9], 2759 SpiceDouble rapol, 2760 SpiceDouble decpol ); 2761 2762 2763 void spkw18_c ( SpiceInt handle, 2764 SpiceSPK18Subtype subtyp, 2765 SpiceInt body, 2766 SpiceInt center, 2767 ConstSpiceChar * frame, 2768 SpiceDouble first, 2769 SpiceDouble last, 2770 ConstSpiceChar * segid, 2771 SpiceInt degree, 2772 SpiceInt n, 2773 const void * packts, 2774 ConstSpiceDouble epochs[] ); 2775 2776 2777 void srfrec_c ( SpiceInt body, 2778 SpiceDouble lon, 2779 SpiceDouble lat, 2780 SpiceDouble rectan[3] ); 2781 2782 2783 void srfxpt_c ( ConstSpiceChar * method, 2784 ConstSpiceChar * target, 2785 SpiceDouble et, 2786 ConstSpiceChar * abcorr, 2787 ConstSpiceChar * obsrvr, 2788 ConstSpiceChar * dref, 2789 ConstSpiceDouble dvec [3], 2790 SpiceDouble spoint [3], 2791 SpiceDouble * dist, 2792 SpiceDouble * trgepc, 2793 SpiceDouble obspos [3], 2794 SpiceBoolean * found ); 2795 2796 2797 void ssize_c ( SpiceInt size, 2798 SpiceCell * cell ); 2799 2800 2801 void stelab_c ( ConstSpiceDouble pobj[3], 2802 ConstSpiceDouble vobs[3], 2803 SpiceDouble appobj[3] ); 2804 2805 2806 void stpool_c ( ConstSpiceChar * item, 2807 SpiceInt nth, 2808 ConstSpiceChar * contin, 2809 SpiceInt lenout, 2810 SpiceChar * string, 2811 SpiceInt * size, 2812 SpiceBoolean * found ); 2813 2814 2815 void str2et_c ( ConstSpiceChar * date, 2816 SpiceDouble * et ); 2817 2818 2819 void subpt_c ( ConstSpiceChar * method, 2820 ConstSpiceChar * target, 2821 SpiceDouble et, 2822 ConstSpiceChar * abcorr, 2823 ConstSpiceChar * obsrvr, 2824 SpiceDouble spoint [3], 2825 SpiceDouble * alt ); 2826 2827 2828 void subsol_c ( ConstSpiceChar * method, 2829 ConstSpiceChar * target, 2830 SpiceDouble et, 2831 ConstSpiceChar * abcorr, 2832 ConstSpiceChar * obsrvr, 2833 SpiceDouble spoint[3] ); 2834 2835 2836 SpiceDouble sumad_c ( ConstSpiceDouble array[], 2837 SpiceInt n ); 2838 2839 2840 SpiceInt sumai_c ( ConstSpiceInt array[], 2841 SpiceInt n ); 2842 2843 2844 void surfnm_c ( SpiceDouble a, 2845 SpiceDouble b, 2846 SpiceDouble c, 2847 ConstSpiceDouble point[3], 2848 SpiceDouble normal[3] ); 2849 2850 2851 void surfpt_c ( ConstSpiceDouble positn[3], 2852 ConstSpiceDouble u[3], 2853 SpiceDouble a, 2854 SpiceDouble b, 2855 SpiceDouble c, 2856 SpiceDouble point[3], 2857 SpiceBoolean * found ); 2858 2859 2860 void swpool_c ( ConstSpiceChar * agent, 2861 SpiceInt nnames, 2862 SpiceInt lenvals, 2863 const void * names ); 2864 2865 2866 void sxform_c ( ConstSpiceChar * from, 2867 ConstSpiceChar * to, 2868 SpiceDouble et, 2869 SpiceDouble xform[6][6] ); 2870 2871 2872 void szpool_c ( ConstSpiceChar * name, 2873 SpiceInt * n, 2874 SpiceBoolean * found ); 2875 2876 2877 void timdef_c ( ConstSpiceChar * action, 2878 ConstSpiceChar * item, 2879 SpiceInt lenout, 2880 SpiceChar * value ); 2881 2882 2883 void timout_c ( SpiceDouble et, 2884 ConstSpiceChar * pictur, 2885 SpiceInt lenout, 2886 SpiceChar * output ); 2887 2888 2889 void tipbod_c ( ConstSpiceChar * ref, 2890 SpiceInt body, 2891 SpiceDouble et, 2892 SpiceDouble tipm[3][3] ); 2893 2894 2895 void tisbod_c ( ConstSpiceChar * ref, 2896 SpiceInt body, 2897 SpiceDouble et, 2898 SpiceDouble tsipm[6][6] ); 2899 2900 2901 ConstSpiceChar * tkvrsn_c ( ConstSpiceChar * item ); 2902 2903 2904 void tparse_c ( ConstSpiceChar * string, 2905 SpiceInt lenout, 2906 SpiceDouble * sp2000, 2907 SpiceChar * errmsg ); 2908 2909 2910 void tpictr_c ( ConstSpiceChar * sample, 2911 SpiceInt lenpictur, 2912 SpiceInt lenerror, 2913 SpiceChar * pictur, 2914 SpiceBoolean * ok, 2915 SpiceChar * error ); 2916 2917 2918 SpiceDouble trace_c ( ConstSpiceDouble matrix[3][3] ); 2919 2920 2921 void trcoff_c ( void ); 2922 2923 2924 void tsetyr_c ( SpiceInt year ); 2925 2926 2927 SpiceDouble twopi_c ( void ); 2928 2929 2930 void twovec_c ( ConstSpiceDouble axdef [3], 2931 SpiceInt indexa, 2932 ConstSpiceDouble plndef [3], 2933 SpiceInt indexp, 2934 SpiceDouble mout [3][3] ); 2935 2936 2937 SpiceDouble tyear_c ( void ); 2938 2939 2940 void ucase_c ( SpiceChar * in, 2941 SpiceInt lenout, 2942 SpiceChar * out ); 2943 2944 2945 void ucrss_c ( ConstSpiceDouble v1[3], 2946 ConstSpiceDouble v2[3], 2947 SpiceDouble vout[3] ); 2948 2949 2950 void union_c ( SpiceCell * a, 2951 SpiceCell * b, 2952 SpiceCell * c ); 2953 2954 2955 SpiceDouble unitim_c ( SpiceDouble epoch, 2956 ConstSpiceChar * insys, 2957 ConstSpiceChar * outsys ); 2958 2959 2960 void unload_c ( ConstSpiceChar * file ); 2961 2962 2963 void unorm_c ( ConstSpiceDouble v1[3], 2964 SpiceDouble vout[3], 2965 SpiceDouble * vmag ); 2966 2967 2968 void unormg_c ( ConstSpiceDouble * v1, 2969 SpiceInt ndim, 2970 SpiceDouble * vout, 2971 SpiceDouble * vmag ); 2972 2973 2974 void utc2et_c ( ConstSpiceChar * utcstr, 2975 SpiceDouble * et ); 2976 2977 2978 void vadd_c ( ConstSpiceDouble v1[3], 2979 ConstSpiceDouble v2[3], 2980 SpiceDouble vout[3] ) ; 2981 2982 2983 void vaddg_c ( ConstSpiceDouble * v1, 2984 ConstSpiceDouble * v2, 2985 SpiceInt ndim, 2986 SpiceDouble * vout ); 2987 2988 2989 void valid_c ( SpiceInt size, 2990 SpiceInt n, 2991 SpiceCell * a ); 2992 2993 2994 void vcrss_c ( ConstSpiceDouble v1[3], 2995 ConstSpiceDouble v2[3], 2996 SpiceDouble vout[3] ); 2997 2998 2999 SpiceDouble vdist_c ( ConstSpiceDouble v1[3], 3000 ConstSpiceDouble v2[3] ); 3001 3002 3003 SpiceDouble vdistg_c ( ConstSpiceDouble * v1, 3004 ConstSpiceDouble * v2, 3005 SpiceInt ndim ); 3006 3007 3008 SpiceDouble vdot_c ( ConstSpiceDouble v1[3], 3009 ConstSpiceDouble v2[3] ); 3010 3011 SpiceDouble vdotg_c ( ConstSpiceDouble * v1, 3012 ConstSpiceDouble * v2, 3013 SpiceInt ndim ); 3014 3015 void vequ_c ( ConstSpiceDouble vin[3], 3016 SpiceDouble vout[3] ); 3017 3018 3019 void vequg_c ( ConstSpiceDouble * vin, 3020 SpiceInt ndim, 3021 SpiceDouble * vout ); 3022 3023 3024 void vhat_c ( ConstSpiceDouble v1 [3], 3025 SpiceDouble vout[3] ); 3026 3027 3028 void vhatg_c ( ConstSpiceDouble v1 [3], 3029 SpiceInt ndim, 3030 SpiceDouble vout[3] ); 3031 3032 3033 void vlcom_c ( SpiceDouble a, 3034 ConstSpiceDouble v1[3], 3035 SpiceDouble b, 3036 ConstSpiceDouble v2[3], 3037 SpiceDouble sum[3] ); 3038 3039 3040 void vlcom3_c ( SpiceDouble a, 3041 ConstSpiceDouble v1[3], 3042 SpiceDouble b, 3043 ConstSpiceDouble v2[3], 3044 SpiceDouble c, 3045 ConstSpiceDouble v3[3], 3046 SpiceDouble sum[3] ); 3047 3048 3049 void vlcomg_c ( SpiceInt n, 3050 SpiceDouble a, 3051 ConstSpiceDouble * v1, 3052 SpiceDouble b, 3053 ConstSpiceDouble * v2, 3054 SpiceDouble * sum ); 3055 3056 3057 void vminug_c ( ConstSpiceDouble * vin, 3058 SpiceInt ndim, 3059 SpiceDouble * vout ); 3060 3061 3062 void vminus_c ( ConstSpiceDouble v1[3], 3063 SpiceDouble vout[3] ); 3064 3065 3066 SpiceDouble vnorm_c ( ConstSpiceDouble v1[3] ); 3067 3068 3069 SpiceDouble vnormg_c ( ConstSpiceDouble * v1, 3070 SpiceInt ndim ); 3071 3072 3073 void vpack_c ( SpiceDouble x, 3074 SpiceDouble y, 3075 SpiceDouble z, 3076 SpiceDouble v[3] ); 3077 3078 3079 void vperp_c ( ConstSpiceDouble a[3], 3080 ConstSpiceDouble b[3], 3081 SpiceDouble p[3] ); 3082 3083 3084 void vprjp_c ( ConstSpiceDouble vin [3], 3085 ConstSpicePlane * plane, 3086 SpiceDouble vout [3] ); 3087 3088 3089 void vprjpi_c ( ConstSpiceDouble vin [3], 3090 ConstSpicePlane * projpl, 3091 ConstSpicePlane * invpl, 3092 SpiceDouble vout [3], 3093 SpiceBoolean * found ); 3094 3095 3096 void vproj_c ( ConstSpiceDouble a[3], 3097 ConstSpiceDouble b[3], 3098 SpiceDouble p[3] ); 3099 3100 3101 SpiceDouble vrel_c ( ConstSpiceDouble v1[3], 3102 ConstSpiceDouble v2[3] ); 3103 3104 3105 SpiceDouble vrelg_c ( ConstSpiceDouble * v1, 3106 ConstSpiceDouble * v2, 3107 SpiceInt ndim ); 3108 3109 3110 void vrotv_c ( ConstSpiceDouble v[3], 3111 ConstSpiceDouble axis[3], 3112 SpiceDouble theta, 3113 SpiceDouble r[3] ); 3114 3115 3116 void vscl_c ( SpiceDouble s, 3117 ConstSpiceDouble v1[3], 3118 SpiceDouble vout[3] ); 3119 3120 3121 void vsclg_c ( SpiceDouble s, 3122 ConstSpiceDouble * v1, 3123 SpiceInt ndim, 3124 SpiceDouble * vout ); 3125 3126 3127 SpiceDouble vsep_c ( ConstSpiceDouble v1[3], 3128 ConstSpiceDouble v2[3] ); 3129 3130 3131 void vsub_c ( ConstSpiceDouble v1[3], 3132 ConstSpiceDouble v2[3], 3133 SpiceDouble vout[3] ); 3134 3135 3136 void vsubg_c ( ConstSpiceDouble * v1, 3137 ConstSpiceDouble * v2, 3138 SpiceInt ndim, 3139 SpiceDouble * vout ); 3140 3141 3142 SpiceDouble vsepg_c ( ConstSpiceDouble * v1, 3143 ConstSpiceDouble * v2, 3144 SpiceInt ndim ); 3145 3146 3147 SpiceDouble vtmv_c ( ConstSpiceDouble v1 [3], 3148 ConstSpiceDouble matrix [3][3], 3149 ConstSpiceDouble v2 [3] ); 3150 3151 3152 SpiceDouble vtmvg_c ( const void * v1, 3153 const void * matrix, 3154 const void * v2, 3155 SpiceInt nrow, 3156 SpiceInt ncol ); 3157 3158 3159 void vupack_c ( ConstSpiceDouble v[3], 3160 SpiceDouble * x, 3161 SpiceDouble * y, 3162 SpiceDouble * z ); 3163 3164 SpiceBoolean vzero_c ( ConstSpiceDouble v[3] ); 3165 3166 3167 SpiceBoolean vzerog_c ( ConstSpiceDouble * v, 3168 SpiceInt ndim ); 3169 3170 3171 void wncomd_c ( SpiceDouble left, 3172 SpiceDouble right, 3173 SpiceCell * window, 3174 SpiceCell * result ); 3175 3176 3177 void wncond_c ( SpiceDouble left, 3178 SpiceDouble right, 3179 SpiceCell * window ); 3180 3181 3182 void wndifd_c ( SpiceCell * a, 3183 SpiceCell * b, 3184 SpiceCell * c ); 3185 3186 3187 SpiceBoolean wnelmd_c ( SpiceDouble point, 3188 SpiceCell * window ); 3189 3190 3191 void wnexpd_c ( SpiceDouble left, 3192 SpiceDouble right, 3193 SpiceCell * window ); 3194 3195 3196 void wnextd_c ( SpiceChar side, 3197 SpiceCell * window ); 3198 3199 3200 void wnfetd_c ( SpiceCell * window, 3201 SpiceInt n, 3202 SpiceDouble * left, 3203 SpiceDouble * right ); 3204 3205 3206 void wnfild_c ( SpiceDouble small, 3207 SpiceCell * window ); 3208 3209 3210 void wnfltd_c ( SpiceDouble small, 3211 SpiceCell * window ); 3212 3213 3214 SpiceBoolean wnincd_c ( SpiceDouble left, 3215 SpiceDouble right, 3216 SpiceCell * window ); 3217 3218 3219 void wninsd_c ( SpiceDouble left, 3220 SpiceDouble right, 3221 SpiceCell * window ); 3222 3223 3224 void wnintd_c ( SpiceCell * a, 3225 SpiceCell * b, 3226 SpiceCell * c ); 3227 3228 3229 SpiceBoolean wnreld_c ( SpiceCell * a, 3230 ConstSpiceChar * op, 3231 SpiceCell * b ); 3232 3233 3234 void wnsumd_c ( SpiceCell * window, 3235 SpiceDouble * meas, 3236 SpiceDouble * avg, 3237 SpiceDouble * stddev, 3238 SpiceInt * shortest, 3239 SpiceInt * longest ); 3240 3241 3242 void wnunid_c ( SpiceCell * a, 3243 SpiceCell * b, 3244 SpiceCell * c ); 3245 3246 3247 void wnvald_c ( SpiceInt size, 3248 SpiceInt n, 3249 SpiceCell * window ); 3250 3251 3252 3253 void xf2eul_c ( ConstSpiceDouble xform [6][6], 3254 SpiceInt axisa, 3255 SpiceInt axisb, 3256 SpiceInt axisc, 3257 SpiceDouble eulang [6], 3258 SpiceBoolean * unique ); 3259 3260 3261 void xf2rav_c ( ConstSpiceDouble xform [6][6], 3262 SpiceDouble rot [3][3], 3263 SpiceDouble av [3] ); 3264 3265 3266 void xpose_c ( ConstSpiceDouble m1 [3][3], 3267 SpiceDouble mout[3][3] ); 3268 3269 3270 void xpose6_c ( ConstSpiceDouble m1 [6][6], 3271 SpiceDouble mout[6][6] ); 3272 3273 3274 void xposeg_c ( const void * matrix, 3275 SpiceInt nrow, 3276 SpiceInt ncol, 3277 void * xposem ); 3278 3279 3280 void zzgetcml_c( SpiceInt * argc, 3281 SpiceChar *** argv, 3282 SpiceBoolean init ); 3283 3284 3285 void zzsynccl_c( SpiceTransDir xdir, 3286 SpiceCell * cell ); 3287 3288 #endif 3289 3290