|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjpl.mipl.diviner.spice.jni.SpiceLib
public class SpiceLib
Wrapper for the C language SPICE Toolkit.
| Field Summary | |
|---|---|
static short |
ABORT
a SPICE toolkit error action |
static short |
DEFAULT
a SPICE toolkit error action |
static short |
IGNORE
a SPICE toolkit error action |
static short |
REPORT
a SPICE toolkit error action |
static short |
RETURN
a SPICE toolkit error action |
| Constructor Summary | |
|---|---|
SpiceLib()
Creates new SpiceLib |
|
| Method Summary | |
|---|---|
static void |
bodvar(int Id,
String item)
Return the values of some item for any body in the kernel pool. |
static void |
chkin(String module)
|
static void |
chkout(String module)
|
static void |
ckcls()
|
static void |
ckopn(String fname,
String ifname,
int ncomch)
|
static void |
ckw02(BigDecimal begtim,
BigDecimal endtim,
int inst,
String ref,
String segid,
long nrec,
BigDecimal[] start,
BigDecimal[] stop,
BigDecimal[] quats,
BigDecimal[] avvs,
BigDecimal[] rates)
|
static BigDecimal |
dpr()
Return the number of degrees per radian. |
static String |
erract(String op,
int lenout,
String list)
|
static String |
errprt(String op,
int lenout,
String list)
|
static String |
et2utc(BigDecimal et,
String format,
int prec)
Converts an ephemeris time in double form to an utc time in string form, formated as specified. |
static boolean |
failed()
|
static void |
furnsh(String file)
|
static void |
gcpool(String name,
int start,
int room,
int lenout,
int n,
String[] cvals,
int found)
|
static BigDecimal |
getColat()
|
static int |
getDim()
|
static BigDecimal |
getDist()
|
static BigDecimal |
getLon()
|
static BigDecimal |
getLt()
|
static void |
getmsg(String type,
int err_size,
String err)
|
static BigDecimal[] |
getPnear()
|
static BigDecimal[] |
getPTarg()
|
static BigDecimal |
getR()
|
static String |
getsms(int len)
|
static BigDecimal[] |
getValues()
|
static int |
gipool(String name,
int start,
int room,
int n,
int ivals,
int found)
|
static BigDecimal |
halfpi()
Return the value of halp PI. |
static BigDecimal |
lspcn(String body,
BigDecimal et,
String abberation)
|
static BigDecimal[] |
m2q(BigDecimal[][] r)
|
static void |
main(String[] Args)
|
static BigDecimal[] |
mxv(BigDecimal[][] m1,
BigDecimal[] vin)
|
static void |
npedln(BigDecimal a,
BigDecimal b,
BigDecimal c,
BigDecimal[] linept,
BigDecimal[] linedr)
|
static void |
nplnpt(BigDecimal[] linpt,
BigDecimal[] lindir,
BigDecimal[] point)
|
static BigDecimal[] |
nvp2pl_surfnm_vprjp(BigDecimal[] normal,
BigDecimal[] point,
BigDecimal a,
BigDecimal b,
BigDecimal c,
BigDecimal[] fixed_point)
|
static BigDecimal |
pi()
Return the value of halp PI. |
static BigDecimal[][] |
pxform(String from,
String to,
BigDecimal et)
|
static void |
recsph(BigDecimal[] rectan)
|
static void |
reset()
|
static BigDecimal[][] |
rotate(BigDecimal angle,
int iaxis)
|
static BigDecimal |
rpd()
|
static String |
sce2s(int sc,
BigDecimal et)
Converts an ephemeris time in double form to an utc time in string form, formated as specified. |
static BigDecimal |
scencd(int sc,
String sclkch)
|
static BigDecimal |
scs2e(int spacecraftId,
String sclkTime)
Converts a spacecraft clock time to an ephemeris time. |
static void |
setErract(short action)
Sets the action which the toolkit will take when an error is detected. |
static void |
spkezp(int targ,
BigDecimal et,
String ref,
String abcorr,
int obs)
|
static String |
timout(BigDecimal et,
String format)
Converts an ephemeris time in double form to an ephemeris time in string form, formated as specified. |
static void |
unload(String file)
|
static BigDecimal |
utc2et(String scet)
Converts an ephemeris time in double form to an utc time in string form, formated as specified. |
static BigDecimal[] |
vcrss(BigDecimal[] v1,
BigDecimal[] v2)
|
static BigDecimal |
vdot(BigDecimal[] v1,
BigDecimal[] v2)
|
static BigDecimal |
vnorm(BigDecimal[] v1)
|
static BigDecimal |
vsep(BigDecimal[] v1,
BigDecimal[] v2)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final short ABORT
public static final short IGNORE
public static final short REPORT
public static final short RETURN
public static final short DEFAULT
| Constructor Detail |
|---|
public SpiceLib()
| Method Detail |
|---|
public static void setErract(short action)
action - must be ABORT, IGNORE, REPORT, RETURN, or DEFAULT
SpiceException - if an error was detected in the SPICE toolkit
public static String timout(BigDecimal et,
String format)
throws SpiceException
et - the ephemeris time to be converted.format - the desired format of the output. See the
comments in timout_c.c for details about acceptable formats.
SpiceException
public static String et2utc(BigDecimal et,
String format,
int prec)
throws SpiceException
et - the ephemeris time to be converted.format - the desired format of the output. See the
comments in timout_c.c for details about acceptable formats.prec - Digits of precision in fractional seconds or days.
SpiceException
public static String sce2s(int sc,
BigDecimal et)
throws SpiceException
sc - NAIF spacecraft clock ID code.et - the ephemeris time to be converted.
SpiceException
public static BigDecimal utc2et(String scet)
throws SpiceException
et - the ephemeris time to be converted.format - the desired format of the output. See the
comments in timout_c.c for details about acceptable formats.prec - Digits of precision in fractional seconds or days.
SpiceException
public static BigDecimal scs2e(int spacecraftId,
String sclkTime)
throws SpiceException
the - NAIF integer code for the spacecraft
SpiceException
public static void bodvar(int Id,
String item)
throws SpiceException
Id - ID code of bodyitem - Item for which values are desired. ("RADII", "NUT_PREC_ANGLES", etc. )
SpiceException
public static BigDecimal[] getValues()
throws SpiceException
SpiceException
public static int getDim()
throws SpiceException
SpiceException
public static BigDecimal dpr()
throws SpiceException
SpiceException
public static String getsms(int len)
throws SpiceException
Id - ID code of bodyitem - Item for which values are desired. ("RADII", "NUT_PREC_ANGLES", etc. )
SpiceException
public static BigDecimal halfpi()
throws SpiceException
SpiceException
public static BigDecimal lspcn(String body,
BigDecimal et,
String abberation)
throws SpiceException
SpiceException
public static BigDecimal[] mxv(BigDecimal[][] m1,
BigDecimal[] vin)
throws SpiceException
SpiceException
public static void npedln(BigDecimal a,
BigDecimal b,
BigDecimal c,
BigDecimal[] linept,
BigDecimal[] linedr)
throws SpiceException
SpiceException
public static void nplnpt(BigDecimal[] linpt,
BigDecimal[] lindir,
BigDecimal[] point)
throws SpiceException
SpiceException
public static BigDecimal[] getPnear()
throws SpiceException
SpiceException
public static BigDecimal getDist()
throws SpiceException
SpiceException
public static BigDecimal[] nvp2pl_surfnm_vprjp(BigDecimal[] normal,
BigDecimal[] point,
BigDecimal a,
BigDecimal b,
BigDecimal c,
BigDecimal[] fixed_point)
throws SpiceException
SpiceException
public static BigDecimal pi()
throws SpiceException
SpiceException
public static BigDecimal[][] pxform(String from,
String to,
BigDecimal et)
throws SpiceException
SpiceException
public static void recsph(BigDecimal[] rectan)
throws SpiceException
SpiceException
public static BigDecimal getR()
throws SpiceException
SpiceException
public static BigDecimal getColat()
throws SpiceException
SpiceException
public static BigDecimal getLon()
throws SpiceException
SpiceException
public static void spkezp(int targ,
BigDecimal et,
String ref,
String abcorr,
int obs)
throws SpiceException
SpiceException
public static BigDecimal[] getPTarg()
throws SpiceException
SpiceException
public static BigDecimal getLt()
throws SpiceException
SpiceException
public static BigDecimal[] vcrss(BigDecimal[] v1,
BigDecimal[] v2)
throws SpiceException
SpiceException
public static BigDecimal vdot(BigDecimal[] v1,
BigDecimal[] v2)
throws SpiceException
SpiceException
public static BigDecimal vnorm(BigDecimal[] v1)
throws SpiceException
SpiceException
public static BigDecimal vsep(BigDecimal[] v1,
BigDecimal[] v2)
throws SpiceException
SpiceException
public static void furnsh(String file)
throws SpiceException
SpiceException
public static void unload(String file)
throws SpiceException
SpiceException
public static void getmsg(String type,
int err_size,
String err)
throws SpiceException
SpiceException
public static boolean failed()
throws SpiceException
SpiceException
public static void reset()
throws SpiceException
SpiceException
public static int gipool(String name,
int start,
int room,
int n,
int ivals,
int found)
throws SpiceException
SpiceException
public static void gcpool(String name,
int start,
int room,
int lenout,
int n,
String[] cvals,
int found)
throws SpiceException
SpiceException
public static void chkin(String module)
throws SpiceException
SpiceException
public static void chkout(String module)
throws SpiceException
SpiceException
public static String errprt(String op,
int lenout,
String list)
throws SpiceException
SpiceException
public static String erract(String op,
int lenout,
String list)
throws SpiceException
SpiceException
public static BigDecimal scencd(int sc,
String sclkch)
public static void ckopn(String fname,
String ifname,
int ncomch)
public static BigDecimal rpd()
throws SpiceException
SpiceException
public static BigDecimal[][] rotate(BigDecimal angle,
int iaxis)
throws SpiceException
SpiceException
public static BigDecimal[] m2q(BigDecimal[][] r)
throws SpiceException
SpiceException
public static void ckw02(BigDecimal begtim,
BigDecimal endtim,
int inst,
String ref,
String segid,
long nrec,
BigDecimal[] start,
BigDecimal[] stop,
BigDecimal[] quats,
BigDecimal[] avvs,
BigDecimal[] rates)
throws SpiceException
SpiceExceptionpublic static void ckcls()
public static void main(String[] Args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||