|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspice.basic.CSPICE
public class CSPICE
Class CSPICE provides a native API enabling higher-level JNISpice methods to call selected CSPICE and DSKLIB_C routines.
In many cases the functionality provided here is also provided
in an object-oriented fashion by a higher-level API. Users should
consult in particular the documentation for the package spice.basic
before resorting to direct calls to methods in this package.
Unlike the rest of the rest of the JNISpice system, the methods of this class have interfaces that rely, with few exceptions, on primitive scalars and arrays of primitive types. The method interfaces tend to parallel those of the corresponding native functions, but differences exist where slavish adherence to parallel structure would result in (even more) unwieldy calling sequences. For example, coordinate conversion routines typically return their outputs as a double precision array.
Output arguments pose a challenge: many CSPICE functions return multiple output arguments, yet Java has no mechanism expressly meant to handle output arguments. In Java, compound data to be returned from a method are typically packaged as an object. Output arguments may be clumsily simulated by use of arrays; this is the work-around employed by JNISpice. If an underlying C function returns multiple arguments, then (with few exceptions), the corresponding method provides "output" arguments in the form of arrays whose contents are modified by the native C function. Scalar output arguments that would be passed by reference in C are passed as arrays of length 1 here.
Concerning error handling: this class uses static
initialization code to set the CSPICE error handling system
to RETURN mode and the CSPICE error output device to NULL.
When a SPICE error is signaled by CSPICE, the calling JNISpice
wrapper will capture error messages, reset the CSPICE
error status, then throw a SpiceErrorException
reflecting the CSPICE error. After the calling application has
caught and handled the exception, the CSPICE system normally is ready to
resume operation.
All methods in this class are static and synchronized.
Changed argument list of CSPICE.dskw02 Added methods: CSPICE.dasac CSPICE.dasdc CSPICE.dashfn CSPICE.dasopw CSPICE.dasrfr CSPICE.dlabbs CSPICE.dlafps CSPICE.dskgtl CSPICE.dskmi2 CSPICE.dskobj CSPICE.dskrb2 CSPICE.dsksrf CSPICE.dskstl CSPICE.dskxsi CSPICE.dskxv CSPICE.illumf CSPICE.inedpl CSPICE.latsrf CSPICE.limbpt CSPICE.occult CSPICE.oscltx CSPICE.pckcls CSPICE.pckfrm CSPICE.pckobj CSPICE.pckopn CSPICE.pckw02 CSPICE.pltar CSPICE.pltexp CSPICE.pltnp CSPICE.pltnrm CSPICE.pltvol CSPICE.pxfrm2 CSPICE.spkcpo CSPICE.spkcpt CSPICE.spkcvo CSPICE.spkcvt CSPICE.srfc2s CSPICE.srfcss CSPICE.srfnrm CSPICE.srfs2c CSPICE.srfscc CSPICE.termpt CSPICE.tparse
Changed argument list of method llgridPl02. The input grid is now 2-dimensional.
Last update was 11-MAR-2014 (NJB)(EDW)
Added methods: CSPICE.ccifrm CSPICE.gfilum CSPICE.gfpa CSPICE.gfrr CSPICE.gfstol
27-FEB-2014 (NJB)
Added method CSPICE.gfilum.
Added method CSPICE.getfat.
Constructor Summary | |
---|---|
CSPICE()
|
Method Summary | |
---|---|
static double[][] |
axisar(double[] axis,
double angle)
Compute a rotation matrix from a rotation axis and angle. |
static double |
b1900()
Return the Julian Date corresponding to Besselian Date 1900.0. |
static double |
b1950()
Return the Julian Date corresponding to Besselian Date 1950.0. |
static boolean |
badkpv(java.lang.String caller,
java.lang.String name,
java.lang.String comp,
int size,
int divby,
java.lang.String type)
Throw an exception if a given kernel variable does not have specified attributes. |
static java.lang.String |
bodc2n(int code)
Translate the SPICE integer code of a body into a common name for that body. |
static java.lang.String |
bodc2s(int code)
Translate the SPICE integer code of a body into a common name for that body, or a string representation of the code if no name is associated with the code. |
static boolean |
bodfnd(int code,
java.lang.String item)
Determine whether values exist for some item for any body in the kernel pool. |
static int |
bodn2c(java.lang.String name)
Translate the name of a body into the SPICE integer ID code for that body. |
static int |
bods2c(java.lang.String name)
Translate the name of a body into the SPICE integer ID code for that body; translate a string representation of an integer to an integer. |
static double[] |
bodvcd(int body,
java.lang.String item)
Return the values of some item for any body in the kernel pool. |
static void |
ccifrm(int frclss,
int clssid,
int[] frcode,
java.lang.String[] frname,
int[] center,
boolean[] found)
Map a frame class and frame class ID to a reference frame ID code, name, and center. |
static double[] |
cgv2el(double[] center,
double[] gv1,
double[] gv2)
Create a SPICE ellipse from a center and generating vectors. |
static void |
ckcls(int handle)
Close a CK file. |
static double[] |
ckcov(java.lang.String ck,
int idcode,
boolean needav,
java.lang.String level,
double tol,
java.lang.String timsys,
int size,
double[] cover)
Return a coverage window for a specified instrument and CK file. |
static void |
ckgp(int inst,
double sclkdp,
double tol,
java.lang.String ref,
double[][] cmat,
double[] clkout,
boolean[] found)
Get instrument pointing for a specified spacecraft clock time. |
static void |
ckgpav(int inst,
double sclkdp,
double tol,
java.lang.String ref,
double[][] cmat,
double[] av,
double[] clkout,
boolean[] found)
Get instrument pointing and angular velocity for a specified spacecraft clock time. |
static int |
ckmeta(int CKID,
java.lang.String meta)
Return the SCLK or SPK ID associated with an instrument ID code. |
static int[] |
ckobj(java.lang.String file,
int size,
int[] ids)
Return an ordered array of unique ID codes of instruments for which a specified CK file contains data. |
static int |
ckopn(java.lang.String fname,
java.lang.String ifname,
int ncomch)
Open a new CK file. |
static void |
ckupf(int handle)
Unload a CK from the CKBSR system. |
static void |
ckw01(int handle,
double begtim,
double endtim,
int inst,
java.lang.String ref,
boolean avflag,
java.lang.String segid,
int nrec,
double[] sclkdp,
double[] quats,
double[] avvs)
Write a type 1 segment to a CK file. |
static void |
ckw02(int handle,
double begtim,
double endtim,
int inst,
java.lang.String ref,
java.lang.String segid,
int nrec,
double[] start,
double[] stop,
double[] quats,
double[] avvs,
double[] rates)
Write a type 2 segment to a CK file. |
static void |
ckw03(int handle,
double begtim,
double endtim,
int inst,
java.lang.String ref,
boolean avflag,
java.lang.String segid,
int nrec,
double[] sclkdp,
double[] quats,
double[] avvs,
int nints,
double[] starts)
Write a type 3 segment to a CK file. |
static double |
clight()
Return the speed of light. |
static void |
clpool()
Clear the kernel pool. |
static double[] |
conics(double[] elts,
double et)
Convert conic elements to a state at a given epoch. |
static double |
convrt(double x,
java.lang.String in,
java.lang.String out)
Convert a measurement from one physical unit to another. |
static boolean |
cvpool(java.lang.String agent)
Determine whether or not any of the variables that are to be watched and have a specified agent on their distribution list have been updated. |
static double[] |
cyllat(double r,
double lon,
double z)
Convert from cylindrical coordinates to latitudinal coordinates. |
static double[] |
cylrec(double r,
double lon,
double z)
Convert from cylindrical coordinates to rectangular coordinates. |
static double[] |
cylsph(double r,
double lon,
double z)
Convert from cylindrical coordinates to spherical coordinates. |
static void |
dafac(int handle,
java.lang.String[] buffer)
Add comments from a buffer to a DAF. |
static void |
dafbbs(int handle)
Begin a backward search for arrays in a DAF. |
static void |
dafbfs(int handle)
Begin a forward search for arrays in a DAF. |
static void |
dafcls(int handle)
Close the DAF associated with a given handle. |
static void |
dafcs(int handle)
Select a DAF that already has a search in progress as the one to continue searching. |
static void |
dafdc(int handle)
Delete comments from a DAF. |
static void |
dafec(int handle,
int bufsiz,
int lenout,
int[] n,
java.lang.String[] buffer,
boolean[] done)
Extract comments from a DAF into a buffer. |
static boolean |
daffna()
Find the next (forward) array in the current DAF. |
static boolean |
daffpa()
Find the previous (backward) array in the current DAF. |
static double[] |
dafgda(int handle,
int begin,
int end)
Return double precision data from the specified address range. |
static java.lang.String |
dafgn()
Return (get) the name for the current array in the current DAF. |
static double[] |
dafgs(int size)
Return (get) the summary for the current array in the current DAF. |
static double[] |
dafgsr(int handle,
int recno,
int begin,
int end)
Return the specified summary record. |
static int |
dafopr(java.lang.String fname)
Open a DAF for subsequent read requests. |
static int |
dafopw(java.lang.String fname)
Open a DAF for writing. |
static java.lang.String |
dafrcr(int handle,
int recno)
Read a DAF character record. |
static void |
dafrfr(int handle,
int[] nd,
int[] ni,
java.lang.String[] ifname,
int[] fward,
int[] bward,
int[] free)
Obtain a file record object from a DAF. |
static void |
dafus(double[] sum,
int nd,
int ni,
double[] dc,
int[] ic)
Unpack a DAF summary. |
static void |
dasac(int handle,
java.lang.String[] buffer)
Append buffered comments to a DAS file. |
static void |
dascls(int handle)
Close the DAS file associated with a given handle. |
static void |
dasdc(int handle)
Delete comments from a DAS file. |
static void |
dasec(int handle,
int bufsiz,
int lenout,
int[] n,
java.lang.String[] buffer,
boolean[] done)
Extract comments from a DAS file into a buffer. |
static java.lang.String |
dashfn(int handle)
Map a DAS file handle to the corresponding file name. |
static int |
dasopr(java.lang.String fname)
Open a DAS file for subsequent read requests. |
static int |
dasopw(java.lang.String fname)
Open a DAS file for write access. |
static void |
dasrfr(int handle,
java.lang.String[] idword,
java.lang.String[] ifname,
int[] nresvr,
int[] nresvc,
int[] ncomr,
int[] ncomc)
Read file record paramters from a DAS file. |
static double[][] |
dcyldr(double x,
double y,
double z)
Return the Jacobian matrix of the rectangular to cylindrical transformation. |
static double |
deltet(double epoch,
java.lang.String eptype)
Return the difference between TDB and UTC at a specified epoch. |
static double |
det(double[][] m)
Return the determinant of a 3x3 matrix. |
static double[][] |
dgeodr(double x,
double y,
double z,
double re,
double f)
Return the Jacobian matrix of the rectangular to geodetic transformation. |
static void |
dlabbs(int handle,
int[] descr,
boolean[] found)
Begin a backward search for arrays in a DLA. |
static void |
dlabfs(int handle,
int[] descr,
boolean[] found)
Begin a forward search for arrays in a DLA. |
static void |
dlafns(int handle,
int[] descr,
int[] nxtdsc,
boolean[] found)
Find the next (forward) segment in a DLA. |
static void |
dlafps(int handle,
int[] descr,
int[] prvdsc,
boolean[] found)
Find the previous (backward) segment in a DLA. |
static double[][] |
dlatdr(double x,
double y,
double z)
Return the Jacobian matrix of the rectangular to latitudinal transformation. |
static double[][] |
dpgrdr(java.lang.String body,
double x,
double y,
double z,
double re,
double f)
Return the Jacobian matrix of the rectangular to planetographic transformation. |
static double |
dpr()
Return the number of degrees per radian. |
static double[][] |
drdcyl(double radius,
double longitude,
double z)
Return the Jacobian matrix of the cylindrical to rectangular transformation. |
static double[][] |
drdgeo(double longitude,
double latitude,
double altitude,
double re,
double f)
Return the Jacobian matrix of the geodetic to rectangular transformation. |
static double[][] |
drdlat(double radius,
double longitude,
double latitude)
Return the Jacobian matrix of the latitudinal to rectangular transformation. |
static double[][] |
drdpgr(java.lang.String body,
double longitude,
double latitude,
double altitude,
double re,
double f)
Return the Jacobian matrix of the planetographic to rectangular transformation. |
static double[][] |
drdsph(double radius,
double colatitude,
double longitude)
Return the Jacobian matrix of the spherical to rectangular transformation. |
static void |
dskb02(int handle,
int[] dladsc,
int[] nv,
int[] np,
int[] nvxtot,
double[][] vtxbds,
double[] voxsiz,
double[] voxori,
int[] vgrext,
int[] cgscal,
int[] vtxnpl,
int[] voxnpt,
int[] voxnpl)
Return bookkeeping data from a DSK type 2 segment. |
static double[] |
dskd02(int handle,
int[] dladsc,
int item,
int start,
int room)
Fetch double precision data from a type 2 DSK segment. |
static double[] |
dskgd(int handle,
int[] dladsc)
|
static double |
dskgtl(int keywrd)
Retrieve the value of a specified DSK tolerance or margin parameter. |
static int[] |
dski02(int handle,
int[] dladsc,
int item,
int start,
int room)
Fetch integer data from a type 2 DSK segment. |
static void |
dskmi2(int nv,
double[] vrtces,
int np,
int[] plates,
double finscl,
int corscl,
int worksz,
int voxpsz,
int voxlsz,
boolean makvtl,
int spxisz,
double[] spaixd,
int[] spaixi)
Make spatial index for a DSK type 2 segment. |
static double[] |
dskn02(int handle,
int[] dladsc,
int plid)
Compute the unit normal vector for a specified plate from a type 2 DSK segment. |
static int[] |
dskobj(java.lang.String dsk,
int size,
int[] ids)
Find the set of body ID codes of all objects for which topographic data are provided in a specified DSK file. |
static int |
dskopn(java.lang.String fname,
java.lang.String ifname,
int ncomch)
Open a new DSK file for subsequent write operations. |
static int[][] |
dskp02(int handle,
int[] dladsc,
int start,
int room)
Fetch plates from a type 2 DSK segment. |
static void |
dskrb2(int nv,
double[] vrtces,
int np,
int[] plates,
int corsys,
double[] corpar,
double[] mncor3,
double[] mxcor3)
Derive range bounds on third coordinate for a plate set. |
static int[] |
dsksrf(java.lang.String dsk,
int bodyid,
int size,
int[] srfids)
Find the set of surface ID codes for all surfaces associated with a given body in a specified DSK file. |
static void |
dskstl(int keywrd,
double dpval)
Set the value of a specified DSK tolerance or margin parameter. |
static double[][] |
dskv02(int handle,
int[] dladsc,
int start,
int room)
Fetch vertices from a type 2 DSK segment. |
static void |
dskw02(int handle,
int center,
int surfce,
int dclass,
java.lang.String frame,
int corsys,
double[] corpar,
double mncor1,
double mxcor1,
double mncor2,
double mxcor2,
double mncor3,
double mxcor3,
double first,
double last,
int nv,
double[] vrtces,
int np,
int[] plates,
double[] spaixd,
int[] spaixi)
Write a type 2 segment to a DSK file. |
static void |
dskx02(int handle,
int[] dladsc,
double[] vertex,
double[] raydir,
int[] plid,
double[] xpt,
boolean[] found)
Determine the plate ID and body-fixed coordinates of the intersection of a specified ray with the surface defined by a type 2 DSK plate model. |
static void |
dskxsi(boolean pri,
java.lang.String target,
int nsurf,
int[] srflst,
double et,
java.lang.String fixref,
double[] vertex,
double[] raydir,
int maxd,
int maxi,
double[] xpt,
int[] handle,
int[] dladsc,
double[] dskdsc,
double[] dc,
int[] ic,
boolean[] found)
Compute a ray-surface intercept using data provided by multiple loaded DSK segments. |
static void |
dskxv(boolean pri,
java.lang.String target,
int nsurf,
int[] srflst,
double et,
java.lang.String fixref,
int nrays,
double[][] vtxarr,
double[][] dirarr,
double[][] xptarr,
boolean[] fndarr)
Compute ray-surface intercepts for a set of rays, using data provided by multiple loaded DSK segments. |
static void |
dskz02(int handle,
int[] dladsc,
int[] nv,
int[] np)
Return plate model size parameters---plate count and vertex count---for a type 2 DSK segment. |
static double[][] |
dsphdr(double x,
double y,
double z)
Return the Jacobian matrix of the rectangular to spherical transformation. |
static void |
dtpool(java.lang.String name,
boolean[] found,
int[] n,
java.lang.String[] type)
Return type and dimension attributes of a kernel pool variable. |
static double[] |
dvcrss(double[] s1,
double[] s2)
Return the derivative of the cross product of two vectors. |
static double |
dvdot(double[] s1,
double[] s2)
Return the derivative of the dot product of two vectors. |
static double[] |
dvhat(double[] s1)
Return the unit vector defined by a state vector and corresponding derivative. |
static void |
dvpool(java.lang.String name)
Delete a kernel pool variable. |
static double |
dvsep(double[] s1,
double[] s2)
Return the derivative of the angular separation of two vectors. |
static double[] |
edlimb(double a,
double b,
double c,
double[] viewpt)
Find the limb of a tri-axial ellipsoid as seen from a specified point. |
static void |
el2cgv(double[] ellipse,
double[] center,
double[] smajor,
double[] sminor)
Create a center and generating vectors from a SPICE ellipse. |
static boolean |
eqstr(java.lang.String a,
java.lang.String b)
Determine whether two strings are equivalent. |
static java.lang.String |
erract(java.lang.String op,
java.lang.String action)
Set or retrieve the default error action. |
static java.lang.String |
errdev(java.lang.String op,
java.lang.String device)
Set or retrieve the default error device. |
static void |
et2lst(double et,
int body,
double lon,
java.lang.String type,
int[] hr,
int[] min,
int[] sec,
java.lang.String[] time,
java.lang.String[] ampm)
Convert an input time from ephemeris seconds past J2000 to local solar time at a specified location on a specified body. |
static java.lang.String |
et2utc(double et,
java.lang.String format,
int prec)
Convert an input time from ephemeris seconds past J2000 to Calendar, Day-of-Year, or Julian Date format, UTC. |
static java.lang.String |
etcal(double et)
Convert an input time from ephemeris seconds past J2000 to a fixed format calendar TDB string. |
static double[][] |
eul2m(double[] angles,
int[] axes)
Convert a sequence of Euler angles and axes to a rotation matrix. |
static double[] |
eul2xf(double[] angles,
int[] axes)
Convert a sequence of Euler angles, rates, and axes to a state transformation matrix. |
static void |
frinfo(int frameID,
int[] centerID,
int[] frclass,
int[] frclassID,
boolean[] found)
Look up the frame specification parameters associated with a frame ID code. |
static java.lang.String |
frmnam(int code)
Look up the frame name associated with a frame ID code. |
static void |
furnsh(java.lang.String file)
Furnish a program with the kernels and related data needed to carry out the program's computations. |
static java.lang.String[] |
gcpool(java.lang.String name,
int start,
int room)
Return the character value of a kernel variable from the kernel pool. |
static double[] |
gdpool(java.lang.String name,
int start,
int room)
Return the double precision value of a kernel variable from the kernel pool. |
static double[] |
georec(double longitude,
double latitude,
double altitude,
double re,
double f)
Convert from geodetic coordinates to rectangular coordinates. |
static void |
getfat(java.lang.String file,
java.lang.String[] arch,
java.lang.String[] type)
Determine the file architecture and file type of most SPICE kernel files. |
static void |
getfov(int instID,
java.lang.String[] shape,
java.lang.String[] ref,
double[] bsight,
int[] size,
double[] bounds)
Return the field-of-view (FOV) configuration for a specified instrument. |
static boolean |
gfbail()
Indicate whether an interrupt was detected. |
static void |
gfclrh()
Clear interrupt status. |
static double[] |
gfdist(java.lang.String target,
java.lang.String abcorr,
java.lang.String obsrvr,
java.lang.String relate,
double refval,
double adjust,
double step,
int nintvls,
double[] cnfine)
Perform a GF distance search. |
static double[] |
gfilum(java.lang.String method,
java.lang.String angtyp,
java.lang.String target,
java.lang.String illmn,
java.lang.String fixref,
java.lang.String abcorr,
java.lang.String obsrvr,
double[] spoint,
java.lang.String relate,
double refval,
double adjust,
double step,
int nintvls,
double[] cnfine)
Perform a GF illumination angle search. |
static double[] |
gfocce(java.lang.String occtyp,
java.lang.String front,
java.lang.String fshape,
java.lang.String fframe,
java.lang.String back,
java.lang.String bshape,
java.lang.String bframe,
java.lang.String abcorr,
java.lang.String obsrvr,
int nintvls,
double[] cnfine,
GFSearchUtils utils)
Perform a custom GF occultation search using user-specified step and refinement functions. |
static double[] |
gfoclt(java.lang.String occtyp,
java.lang.String front,
java.lang.String fshape,
java.lang.String fframe,
java.lang.String back,
java.lang.String bshape,
java.lang.String bframe,
java.lang.String abcorr,
java.lang.String obsrvr,
double step,
int nintvls,
double[] cnfine)
Perform a GF occultation search. |
static double[] |
gfpa(java.lang.String target,
java.lang.String illum,
java.lang.String abcorr,
java.lang.String obsrvr,
java.lang.String relate,
double refval,
double adjust,
double step,
int nintvls,
double[] cnfine)
Perform a GF phase angle search. |
static double[] |
gfposc(java.lang.String target,
java.lang.String frame,
java.lang.String abcorr,
java.lang.String obsrvr,
java.lang.String crdsys,
java.lang.String coord,
java.lang.String relate,
double refval,
double adjust,
double step,
int nintvls,
double[] cnfine)
Perform a GF position vector coordinate search. |
static double |
gfrefn(double t1,
double t2,
boolean s1,
boolean s2)
Get a refined GF root estimate. |
static void |
gfrepf()
Finalize a GF progress report. |
static void |
gfrepi(double[] window,
java.lang.String begmsg,
java.lang.String endmsg)
Initialize a GF progress report. |
static void |
gfrepu(double ivbeg,
double ivend,
double time)
Update a GF progress report. |
static double[] |
gfrfov(java.lang.String inst,
double[] raydir,
java.lang.String rframe,
java.lang.String abcorr,
java.lang.String obsrvr,
double step,
int nintvls,
double[] cnfine)
Perform a GF ray in FOV search. |
static double[] |
gfrr(java.lang.String target,
java.lang.String abcorr,
java.lang.String obsrvr,
java.lang.String relate,
double refval,
double adjust,
double step,
int nintvls,
double[] cnfine)
Perform a GF range rate search. |
static double[] |
gfsep(java.lang.String targ1,
java.lang.String shape1,
java.lang.String frame1,
java.lang.String targ2,
java.lang.String shape2,
java.lang.String frame2,
java.lang.String abcorr,
java.lang.String obsrvr,
java.lang.String relate,
double refval,
double adjust,
double step,
int nintvls,
double[] cnfine)
Perform a GF angular separation coordinate search. |
static double[] |
gfsntc(java.lang.String target,
java.lang.String fixref,
java.lang.String method,
java.lang.String abcorr,
java.lang.String obsrvr,
java.lang.String dref,
double[] dvec,
java.lang.String crdsys,
java.lang.String coord,
java.lang.String relate,
double refval,
double adjust,
double step,
int nintvls,
double[] cnfine)
Perform a GF surface intercept coordinate search. |
static void |
gfsstp(double step)
Set the GF step size. |
static double |
gfstep(double et)
Get the current GF step size. |
static void |
gfstol(double tol)
Set the GF tolerance. |
static double[] |
gfsubc(java.lang.String target,
java.lang.String fixref,
java.lang.String method,
java.lang.String abcorr,
java.lang.String obsrvr,
java.lang.String crdsys,
java.lang.String coord,
java.lang.String relate,
double refval,
double adjust,
double step,
int nintvls,
double[] cnfine)
Perform a GF sub-observer point coordinate search. |
static double[] |
gftfov(java.lang.String inst,
java.lang.String target,
java.lang.String tshape,
java.lang.String tframe,
java.lang.String abcorr,
java.lang.String obsrvr,
double step,
int nintvls,
double[] cnfine)
Perform a GF target in FOV search. |
static double[] |
gfuds(GFScalarQuantity quant,
java.lang.String relate,
double refval,
double adjust,
double step,
int nintvls,
double[] cnfine)
Perform a GF user-defined scalar quantity search. |
static int[] |
gipool(java.lang.String name,
int start,
int room)
Return the integer value of a kernel variable from the kernel pool. |
static java.lang.String[] |
gnpool(java.lang.String template,
int start,
int room)
Retrieve the names of kernel variables matching a specified template. |
static void |
illumf(java.lang.String method,
java.lang.String target,
java.lang.String ilusrc,
double et,
java.lang.String fixref,
java.lang.String abcorr,
java.lang.String obsrvr,
double[] spoint,
double[] trgepc,
double[] srfvec,
double[] angles,
boolean[] visibl,
boolean[] lit)
Compute the illumination angles---phase, incidence, and emission---at a specified point on a target body. |
static void |
illumPl02(int handle,
int[] dladsc,
java.lang.String target,
double et,
java.lang.String abcorr,
java.lang.String obsrvr,
double[] spoint,
double[] trgepc,
double[] srfvec,
double[] angles)
Compute the illumination angles---phase, solar incidence, and emission---at a specified point on a target body at a particular epoch, optionally corrected for light time and stellar aberration. |
static void |
ilumin(java.lang.String method,
java.lang.String target,
double et,
java.lang.String fixref,
java.lang.String abcorr,
java.lang.String obsrvr,
double[] spoint,
double[] trgepc,
double[] srfvec,
double[] angles)
Find the illumination angles at a specified surface point of a target body. |
static void |
inedpl(double a,
double b,
double c,
double[] plane,
double[] ellipse,
boolean[] found)
Find the intersection of a plane and a triaxial ellipsoid. |
static void |
inelpl(double[] ellipse,
double[] plane,
int[] nxpts,
double[] xpt1,
double[] xpt2)
Find the intersection of an ellipse and a plane. |
static void |
inrypl(double[] vertex,
double[] dir,
double[] plane,
int[] nxpts,
double[] xpt)
Find the intersection of a ray and a plane. |
static double[][] |
invert(double[][] m)
Return the inverse of a nonsingular 3x3 matrix. |
static boolean |
isrot(double[][] m,
double ntol,
double dtol)
Indicate whether a given matrix is a rotation matrix. |
static double |
j1900()
Return the Julian Date of 1899 DEC 31 12:00:00 (1900 JAN 0.5). |
static double |
j1950()
Return the Julian Date of 1950 JAN 01 00:00:00 (1950 JAN 1.0). |
static double |
j2000()
Return the Julian Date of 2000 JAN 01 12:00:00 (2000 JAN 1.5). |
static double |
j2100()
Return the Julian Date of 2100 JAN 01 12:00:00 (2100 JAN 1.5). |
static double |
jyear()
Return the number of seconds in a Julian year. |
static void |
kclear()
Clear the keeper system and kernel pool. |
static void |
kdata(int which,
java.lang.String kind,
java.lang.String[] file,
java.lang.String[] filtyp,
java.lang.String[] source,
int[] handle,
boolean[] found)
Return data for a kernel of specified type and index loaded in the keeper system. |
static void |
kinfo(java.lang.String file,
java.lang.String[] filtyp,
java.lang.String[] source,
int[] handle,
boolean[] found)
Return data for a kernel, specified by name, that is loaded in the keeper system. |
static int |
ktotal(java.lang.String kind)
Return the count of kernels of a specified type loaded in the keeper system. |
static double[] |
latcyl(double radius,
double longitude,
double latitude)
Convert from latitudinal coordinates to cylindrical coordinates. |
static double[] |
latrec(double radius,
double longitude,
double latitude)
Convert from latitudinal coordinates to rectangular coordinates. |
static double[] |
latsph(double radius,
double longitude,
double latitude)
Convert from latitudinal coordinates to spherical coordinates. |
static double[][] |
latsrf(java.lang.String method,
java.lang.String target,
double et,
java.lang.String fixref,
int npts,
double[][] lonlat)
Map array of planetocentric longitude/latitude coordinate pairs to surface points on a specified target body. |
static void |
ldpool(java.lang.String filename)
Load a text kernel into the kernel pool. |
static void |
limbPl02(int handle,
int[] dladsc,
java.lang.String target,
double et,
java.lang.String fixfrm,
java.lang.String abcorr,
java.lang.String obsrvr,
int npoints,
double[] trgepc,
double[] obspos,
double[][] limbpts,
int[] plateIDs)
Compute a set of points on the limb of a specified target body, where the target body's surface is represented by a triangular plate model contained in a type 2 DSK segment. |
static void |
limbpt(java.lang.String method,
java.lang.String target,
double et,
java.lang.String fixref,
java.lang.String abcorr,
java.lang.String corloc,
java.lang.String obsrvr,
double[] refvec,
double rolstp,
int ncuts,
double schstp,
double soltol,
int maxn,
int[] npts,
double[][] points,
double[] epochs,
double[][] tangts)
Find limb points on a target body. |
static void |
llgridPl02(int handle,
int[] dladsc,
double[][] grid,
double[][] spoints,
int[] plateIDs)
Given the planetocentric longitude and latitude values of a set of surface points on a specified target body, compute the corresponding rectangular coordinates of those points. |
static void |
lmpool(java.lang.String[] cvals)
Load variables contained in a string array into the kernel pool. |
static void |
ltime(double etobs,
int obs,
java.lang.String dir,
int targ,
double[] ettarg,
double[] elapsd)
Compute the one-way light time between a specified target and observer. |
static double[] |
m2eul(double[][] m,
int[] axes)
Convert a rotation matrix and a sequence of axes to a sequence of Euler angles. |
static double[] |
m2q(double[][] m)
Convert a rotation matrix to a SPICE quaternion. |
static double[][] |
mxm(double[][] m1,
double[][] m2)
Multiply two 3x3 matrices. |
static double[] |
mxv(double[][] m,
double[] v)
Left-multiply a 3-vector by a 3x3 matrix. |
static int |
namfrm(java.lang.String name)
Look up the frame ID code associated with a frame name. |
static void |
nearpt(double[] positn,
double a,
double b,
double c,
double[] point,
double[] alt)
This routine locates the point on the surface of an ellipsoid that is nearest to a specified position. |
static void |
npedln(double a,
double b,
double c,
double[] linept,
double[] linedr,
double[] point,
double[] dist)
Return the nearest point on an ellipsoid to a given line; also return the distance between the ellipsoid and the line. |
static void |
npelpt(double[] point,
double[] ellipse,
double[] pnear,
double[] dist)
Return the nearest point on an ellipseto a given point; also return the distance between the ellipse and the point. |
static void |
nplnpt(double[] linept,
double[] linedr,
double[] point,
double[] pnear,
double[] dist)
Return the nearest point on a line to a given point; also return the distance between the two points. |
static double[] |
nvc2pl(double[] normal,
double constant)
Convert a normal vector and constant to a plane. |
static double[] |
nvp2pl(double[] normal,
double[] point)
Convert a normal vector and point to a plane. |
static int |
occult(java.lang.String targ1,
java.lang.String shape1,
java.lang.String frame1,
java.lang.String targ2,
java.lang.String shape2,
java.lang.String frame2,
java.lang.String abcorr,
java.lang.String obsrvr,
double et)
Determine the occultation condition (not occulted, partially, etc.) of one target relative to another target as seen by an observer at a given time. |
static double[] |
oscelt(double[] state,
double et,
double mu)
Compute osculating elements corresponding to a state. |
static double[] |
oscltx(double[] state,
double et,
double mu)
Compute extended osculating elements corresponding to a state. |
static void |
pckcls(int handle)
Close a binary PCK file. |
static double[] |
pckcov(java.lang.String file,
int classID,
int size,
double[] cover)
Return a coverage window for a specified reference frame class ID and PCK file. |
static int[] |
pckfrm(java.lang.String pck,
int size,
int[] ids)
Return an ordered array of unique reference frame class ID codes of all frames associated with segments in a specified binary PCK file. |
static int |
pckopn(java.lang.String fname,
java.lang.String ifname,
int ncomch)
Open a new binary PCK file. |
static void |
pckuof(int handle)
Unload a binary PCK from the PCKBSR system. |
static void |
pckw02(int handle,
int clssid,
java.lang.String frame,
double first,
double last,
java.lang.String segid,
double intlen,
int n,
int polydg,
double[] cdata,
double btime)
Write a type 2 segment to a binary PCK file. |
static void |
pcpool(java.lang.String name,
java.lang.String[] cvals)
Insert a character kernel variable into the kernel pool. |
static void |
pdpool(java.lang.String name,
double[] dvals)
Insert a double precision kernel variable into the kernel pool. |
static double[] |
pgrrec(java.lang.String body,
double longitude,
double latitude,
double altitude,
double re,
double f)
Convert from planetographic coordinates to rectangular coordinates. |
static double |
pi()
Return the value of pi. |
static void |
pipool(java.lang.String name,
int[] ivals)
Insert an integer kernel variable into the kernel pool. |
static double[] |
pjelpl(double[] elin,
double[] plane)
Project an ellipse orthogonally onto a plane. |
static void |
pl2nvc(double[] plane,
double[] normal,
double[] constant)
Map a plane array to a normal vector and constant. |
static void |
pl2nvp(double[] plane,
double[] normal,
double[] point)
Map a plane array to a normal vector and point. |
static void |
pl2psv(double[] plane,
double[] point,
double[] span1,
double[] span2)
Map a plane array to a point and spanning vectors. |
static double |
pltar(int nv,
double[] vrtces,
int np,
int[] plates)
Compute the total area of a collection of triangular plates. |
static double[][] |
pltexp(double[][] iverts,
double delta)
Expand a triangular plate by a specified amount. |
static void |
pltnp(double[] point,
double[] v1,
double[] v2,
double[] v3,
double[] pnear,
double[] dist)
Find the nearest point on a triangular plate to a given point. |
static double[] |
pltnrm(double[] v1,
double[] v2,
double[] v3)
Compute an outward normal vector of a triangular plate. |
static double |
pltvol(int nv,
double[] vrtces,
int np,
int[] plates)
Compute the volume of a three-dimensional region bounded by a collection of triangular plates. |
static java.lang.String |
prompt(java.lang.String promptStr)
This function prompts a user for keyboard input. |
static void |
prop2b(double gm,
double[] pvinit,
double dt,
double[] pvprop)
Propagate a state using a two-body model. |
static double[] |
psv2pl(double[] point,
double[] span1,
double[] span2)
Convert a point and two spanning vectors to a plane. |
static void |
putcml(java.lang.String[] argv)
Store the contents of argv for later access. |
static double[][] |
pxform(java.lang.String from,
java.lang.String to,
double et)
Return the rotation matrix from one frame to another at a specified epoch. |
static double[][] |
pxfrm2(java.lang.String from,
java.lang.String to,
double etfrom,
double etto)
Return the 3x3 matrix that transforms position vectors from one specified frame at a specified epoch to another specified frame at another specified epoch. |
static double[][] |
q2m(double[] q)
Convert a SPICE quaternion to a matrix. |
static double[] |
qdq2av(double[] q,
double[] dq)
Convert a SPICE quaternion and its derivative to angular velocity. |
static double[] |
qxq(double[] q1,
double[] q2)
Multiply two SPICE quaternions. |
static double[] |
radrec(double range,
double ra,
double dec)
Convert from range, right ascension, and declination to rectangular coordinates. |
static double[] |
rav2xf(double[][] r,
double[] av)
Convert a rotation matrix and angular velocity vector to a state transformation matrix. |
static void |
raxisa(double[][] r,
double[] axis,
double[] angle)
Map a rotation matrix to a rotation axis and angle. |
static double[] |
reccyl(double[] rectan)
Convert from rectangular coordinates to cylindrical coordinates. |
static double[] |
recgeo(double[] rectan,
double Re,
double f)
Convert from rectangular coordinates to geodetic coordinates. |
static double[] |
reclat(double[] rectan)
Convert from rectangular coordinates to latitudinal coordinates. |
static double[] |
recpgr(java.lang.String body,
double[] rectan,
double Re,
double f)
Convert from rectangular coordinates to planetographic coordinates. |
static double[] |
recrad(double[] rectan)
Convert from rectangular coordinates to RA/Dec coordinates. |
static double[] |
recsph(double[] rectan)
Convert from rectangular coordinates to spherical coordinates. |
static void |
reset()
Reset SPICE error handling system. |
static double[][] |
rotate(double angle,
int iaxis)
Create a matrix that rotates a reference frame by a specified angle about a specified coordinate axis. |
static double[][] |
rotmat(double[][] r,
double angle,
int iaxis)
Create a matrix that rotates a rotation matrix by a specified angle about a specified coordinate axis. |
static double[] |
rotvec(double[] v,
double angle,
int iaxis)
Transform a vector to a basis rotated by a specified angle about a specified coordinate axis. |
static double |
rpd()
Return the number of radians per degree. |
static java.lang.String |
scdecd(int clkid,
double sclkdp)
Convert double precision encoding of spacecraft clock time into a character representation. |
static double |
sce2c(int clkid,
double et)
Convert ephemeris seconds past J2000 (ET) to continuous encoded spacecraft clock ("ticks"). |
static java.lang.String |
sce2s(int clkid,
double et)
Convert ephemeris seconds past J2000 (ET) to a character string representation of an SCLK value. |
static double |
scencd(int clkid,
java.lang.String sclkch)
Encode character representation of spacecraft clock time into a double precision number. |
static java.lang.String |
scfmt(int sc,
double sclkdp)
Convert a tick duration to an SCLK string. |
static double |
scs2e(int clkid,
java.lang.String sclkch)
Convert a spacecraft clock string to ephemeris seconds past J2000 (ET). |
static double |
sct2e(int clkid,
double sclkdp)
Convert encoded spacecraft clock (`ticks') to ephemeris seconds past J2000 (ET). |
static double |
sctiks(int clkid,
java.lang.String clkstr)
Convert a spacecraft clock format string to number of "ticks". |
static void |
sincpt(java.lang.String method,
java.lang.String target,
double et,
java.lang.String fixref,
java.lang.String abcorr,
java.lang.String obsrvr,
java.lang.String dref,
double[] dvec,
double[] spoint,
double[] trgepc,
double[] srfvec,
boolean[] found)
Determine the coordinates of the surface intercept of a ray on a target body at a particular epoch, optionally corrected for planetary (light time) and stellar aberration. |
static double |
spd()
Return the number of seconds in a Julian day. |
static double[] |
sphcyl(double r,
double colatitude,
double longitude)
Convert from spherical coordinates to cylindrical coordinates. |
static double[] |
sphlat(double r,
double colatitude,
double longitude)
Convert from spherical coordinates to latitudinal coordinates. |
static double[] |
sphrec(double r,
double colatitude,
double longitude)
Convert from spherical coordinates to rectangular coordinates. |
static void |
spkcls(int handle)
Close an SPK file. |
static double[] |
spkcov(java.lang.String file,
int body,
int size,
double[] cover)
Return a coverage window for a specified body and SPK file. |
static void |
spkcpo(java.lang.String target,
double et,
java.lang.String outref,
java.lang.String refloc,
java.lang.String abcorr,
double[] obspos,
java.lang.String obsctr,
java.lang.String obsref,
double[] state,
double[] lt)
Return the state of a specified target relative to an "observer," where the observer has constant position in a specified reference frame. |
static void |
spkcpt(double[] trgpos,
java.lang.String trgctr,
java.lang.String trgref,
double et,
java.lang.String outref,
java.lang.String refloc,
java.lang.String abcorr,
java.lang.String obsrvr,
double[] state,
double[] lt)
Return the state, relative to a specified observer, of a target having constant position in a specified reference frame. |
static void |
spkcvo(java.lang.String target,
double et,
java.lang.String outref,
java.lang.String refloc,
java.lang.String abcorr,
double[] obssta,
double obsepc,
java.lang.String obsctr,
java.lang.String obsref,
double[] state,
double[] lt)
Return the state of a specified target relative to an "observer," where the observer has constant velocity in a specified reference frame. |
static void |
spkcvt(double[] trgsta,
double trgepc,
java.lang.String trgctr,
java.lang.String trgref,
double et,
java.lang.String outref,
java.lang.String refloc,
java.lang.String abcorr,
java.lang.String obsrvr,
double[] state,
double[] lt)
Return the state, relative to a specified observer, of a target having constant velocity in a specified reference frame. |
static void |
spkezr(java.lang.String target,
double et,
java.lang.String ref,
java.lang.String abcorr,
java.lang.String observer,
double[] state,
double[] lt)
Return the state (position and velocity) of a target body relative to an observing body, optionally corrected for light time (planetary aberration) and stellar aberration. |
static int[] |
spkobj(java.lang.String file,
int size,
int[] ids)
Return an ordered array of unique ID codes of bodies for which a specified SPK file contains data. |
static int |
spkopn(java.lang.String fname,
java.lang.String ifname,
int ncomch)
Open a new SPK file. |
static void |
spkpos(java.lang.String target,
double et,
java.lang.String ref,
java.lang.String abcorr,
java.lang.String observer,
double[] pos,
double[] lt)
Return the position of a target body relative to an observing body, optionally corrected for light time (planetary aberration) and stellar aberration. |
static void |
spkuef(int handle)
Unload an SPK from the SPKBSR system. |
static void |
spkw02(int handle,
int body,
int center,
java.lang.String frame,
double first,
double last,
java.lang.String segid,
double intlen,
int n,
int polydg,
double[] cdata,
double btime)
Write a type 2 segment to an SPK file. |
static void |
spkw03(int handle,
int body,
int center,
java.lang.String frame,
double first,
double last,
java.lang.String segid,
double intlen,
int n,
int polydg,
double[] cdata,
double btime)
Write a type 3 segment to an SPK file. |
static void |
spkw05(int handle,
int body,
int center,
java.lang.String frame,
double first,
double last,
java.lang.String segid,
double gm,
int n,
double[] states,
double[] epochs)
Write a type 5 segment to an SPK file. |
static void |
spkw09(int handle,
int body,
int center,
java.lang.String frame,
double first,
double last,
java.lang.String segid,
int degree,
int n,
double[] states,
double[] epochs)
Write a type 9 segment to an SPK file. |
static void |
spkw13(int handle,
int body,
int center,
java.lang.String frame,
double first,
double last,
java.lang.String segid,
int degree,
int n,
double[] states,
double[] epochs)
Write a type 13 segment to an SPK file. |
static void |
srfc2s(int code,
int bodyid,
java.lang.String[] srfstr,
boolean[] isname)
Translate a surface ID code, together with a body ID code, to the corresponding surface name. |
static void |
srfcss(int code,
java.lang.String bodstr,
java.lang.String[] srfstr,
boolean[] isname)
Translate a surface ID code, together with a body string, to the corresponding surface name. |
static double[][] |
srfnrm(java.lang.String method,
java.lang.String target,
double et,
java.lang.String fixref,
int npts,
double[][] srfpts)
Map array of surface points on a specified target body to the corresponding unit length outward surface normal vectors. |
static void |
srfs2c(java.lang.String srfstr,
java.lang.String bodstr,
int[] code,
boolean[] found)
Translate a surface string, together with a body string, to the corresponding surface ID code. |
static void |
srfscc(java.lang.String srfstr,
int bodyid,
int[] code,
boolean[] found)
Translate a surface string, together with a body ID code, to the corresponding surface ID code. |
static double[] |
stelab(double[] pobj,
double[] vobs)
Correct a position vector for reception stellar aberration. |
static double[] |
stlabx(double[] pobj,
double[] vobs)
Correct a position vector for transmission stellar aberration. |
static void |
stpool(java.lang.String name,
int nth,
java.lang.String contin,
java.lang.String[] component,
boolean[] found)
Retrieve the nth string from the kernel pool variable, where the string may be continued across several components of the kernel pool variable. |
static double |
str2et(java.lang.String timeString)
Convert a string representing an epoch to a double precision value representing the number of TDB seconds past the J2000 epoch corresponding to the input epoch. |
static void |
subpnt(java.lang.String method,
java.lang.String target,
double et,
java.lang.String fixref,
java.lang.String abcorr,
java.lang.String obsrvr,
double[] spoint,
double[] trgepc,
double[] srfvec)
Determine the coordinates of the sub-observer point on a target body at a particular epoch, optionally corrected for planetary (light time) and stellar aberration. |
static void |
subptPl02(int handle,
int[] dladsc,
java.lang.String method,
java.lang.String target,
double et,
java.lang.String abcorr,
java.lang.String obsrvr,
double[] spoint,
double[] alt,
int[] plateID)
Compute the rectangular coordinates of the sub-observer point on a target body at a particular epoch, optionally corrected for light time and stellar aberration. |
static void |
subslr(java.lang.String method,
java.lang.String target,
double et,
java.lang.String fixref,
java.lang.String abcorr,
java.lang.String obsrvr,
double[] spoint,
double[] trgepc,
double[] srfvec)
Determine the coordinates of the sub-solar point on a target body at a particular epoch, optionally corrected for planetary (light time) and stellar aberration. |
static void |
subsolPl02(int handle,
int[] dladsc,
java.lang.String method,
java.lang.String target,
double et,
java.lang.String abcorr,
java.lang.String obsrvr,
double[] spoint,
double[] alt,
int[] plateID)
Compute the rectangular coordinates of the sub-solar point on a target body at a particular epoch, optionally corrected for light time and stellar aberration. |
static double[] |
surfnm(double a,
double b,
double c,
double[] point)
Compute the outward pointing unit normal vector at a specified point on the surface of an ellipsoid. |
static void |
surfpt(double[] positn,
double[] u,
double a,
double b,
double c,
double[] point,
boolean[] found)
Determine the intersection of a line-of-sight vector with the surface of an ellipsoid. |
static void |
swpool(java.lang.String agent,
java.lang.String[] names)
Add a name to the list of agents to notify whenever a member of a list of kernel variables is updated. |
static double[] |
sxform(java.lang.String from,
java.lang.String to,
double et)
Return the state transformation matrix from one frame to another at a specified epoch. |
static int |
szpool(java.lang.String name)
Return the kernel pool size limitations. |
static void |
termPl02(int handle,
int[] dladsc,
java.lang.String trmtyp,
java.lang.String source,
java.lang.String target,
double et,
java.lang.String fixfrm,
java.lang.String abcorr,
java.lang.String obsrvr,
int npoints,
double[] trgepc,
double[] obspos,
double[][] trmpts,
int[] plateIDs)
Compute a set of points on the umbral or penumbral terminator of a specified target body, where the target body's surface is represented by a triangular plate model contained in a type 2 DSK segment. |
static void |
termpt(java.lang.String method,
java.lang.String ilusrc,
java.lang.String target,
double et,
java.lang.String fixref,
java.lang.String abcorr,
java.lang.String corloc,
java.lang.String obsrvr,
double[] refvec,
double rolstp,
int ncuts,
double schstp,
double soltol,
int maxn,
int[] npts,
double[][] points,
double[] epochs,
double[][] trmvcs)
Find terminator points on a target body. |
static java.lang.String |
timout(double et,
java.lang.String picture)
This routine converts an input epoch represented in TDB seconds past the TDB epoch of J2000 to a character string formatted to the specifications of a user's format picture. |
static java.lang.String |
tkvrsn(java.lang.String item)
This routine returns Toolkit version information. |
static void |
tparse(java.lang.String string,
double[] sp2000,
java.lang.String[] errmsg)
Parse a time string; return the result as a double precision count of seconds past J2000 in an unspecified time system. |
static void |
tpictr(java.lang.String sample,
java.lang.String[] pictur,
boolean[] ok,
java.lang.String[] errmsg)
Create a time format picture from an example time string. |
static void |
tsetyr(int year)
Set the lower bound of the range used to interpret a two-digit year. |
static double[][] |
twovec(double[] axdef,
int indexa,
double[] plndef,
int indexp)
Create a matrix that transforms vectors to a reference frame defined by two specified vectors. |
static double |
tyear()
Return the number of seconds in a tropical year. |
static double[] |
ucrss(double[] v1,
double[] v2)
Compute the unitized cross product of two double precision, 3-dimensional vectors. |
static double |
unitim(double et,
java.lang.String insys,
java.lang.String outsys)
Convert between uniform time systems. |
static void |
unload(java.lang.String file)
Unload a SPICE kernel. |
static void |
unorm(double[] v1,
double[] vout,
double[] vmag)
Given a 3-vector, return a unitized version of the vector and the norm of the original vector. |
static double[] |
vcrss(double[] v1,
double[] v2)
Compute the cross product of two double precision, 3-dimensional vectors. |
static double |
vdist(double[] v1,
double[] v2)
Compute the distance between two double precision, 3-dimensional vectors. |
static double[] |
vhat(double[] v1)
Return a unit vector parallel to a given 3-dimensional vector. |
static double |
vnorm(double[] v1)
Compute the magnitude of a double precision, 3-dimensional vector. |
static double[] |
vperp(double[] a,
double[] b)
Return the component of a vector perpendicular to a given 3-dimensional vector. |
static double[] |
vprjp(double[] vin,
double[] plane)
Return the orthogonal projection of a vector onto a given plane. |
static void |
vprjpi(double[] vin,
double[] projpl,
double[] invpl,
double[] vout,
boolean[] found)
Return the pre-image in a given plane of the orthogonal projection of a vector onto a given plane. |
static double[] |
vproj(double[] a,
double[] b)
Return the projection of a vector onto a given 3-dimensional vector. |
static double[] |
vrotv(double[] v1,
double[] axis,
double theta)
Rotate a vector about a given 3-dimensional vector. |
static double |
vsep(double[] v1,
double[] v2)
Compute the angular separation between two double precision, 3-dimensional vectors. |
static double[] |
wncomd(double left,
double right,
double[] window)
Compute the complement with respect to a specified interval of a CSPICE window. |
static double[] |
wncond(double left,
double right,
double[] window)
Contract each of the intervals of a CSPICE window. |
static double[] |
wndifd(double[] a,
double[] b)
Compute the difference of two CSPICE windows. |
static boolean |
wnelmd(double point,
double[] window)
Determine whether a point is contained in a specified CSPICE window. |
static double[] |
wnexpd(double left,
double right,
double[] window)
Expand each of the intervals of a CSPICE window. |
static double[] |
wnextd(java.lang.String side,
double[] window)
Extract the left or right endpoints from a CSPICE window. |
static double[] |
wnfild(double small,
double[] window)
Fill small gaps between adjacent intervals of a CSPICE window. |
static double[] |
wnfltd(double small,
double[] window)
Filter small intervals from a CSPICE window. |
static boolean |
wnincd(double left,
double right,
double[] window)
Determine whether an interval is included in a CSPICE window. |
static double[] |
wninsd(double left,
double right,
double[] window)
Insert an interval into a CSPICE window. |
static double[] |
wnintd(double[] a,
double[] b)
Compute the intersection of two CSPICE windows. |
static boolean |
wnreld(double[] a,
java.lang.String op,
double[] b)
Compare two SPICE windows. |
static void |
wnsumd(double[] window,
double[] meas,
double[] avg,
double[] stddev,
int[] shortest,
int[] longest)
Summarize the contents of a SPICE window. |
static double[] |
wnunid(double[] a,
double[] b)
Compute the union of two CSPICE windows. |
static double[] |
wnvald(int size,
int card,
double[] endpoints)
Validate a CSPICE window. |
static void |
xf2eul(double[] xform,
int[] axes,
double[] angles,
boolean[] unique)
Convert a state transformation matrix and a sequence of axes to a sequence of Euler angles and corresponding rates. |
static void |
xf2rav(double[] xform,
double[][] r,
double[] av)
Convert a state transformation matrix and a sequence of axes to a sequence of Euler angles and corresponding rates. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSPICE()
Method Detail |
---|
public static double[][] axisar(double[] axis, double angle) throws SpiceErrorException
SpiceErrorException
public static double b1900()
public static double b1950()
public static boolean badkpv(java.lang.String caller, java.lang.String name, java.lang.String comp, int size, int divby, java.lang.String type) throws SpiceErrorException
SpiceErrorException
public static java.lang.String bodc2n(int code) throws SpiceErrorException, NameNotFoundException
SpiceErrorException
NameNotFoundException
public static java.lang.String bodc2s(int code) throws SpiceErrorException
SpiceErrorException
public static boolean bodfnd(int code, java.lang.String item) throws SpiceErrorException
SpiceErrorException
public static int bodn2c(java.lang.String name) throws SpiceErrorException, IDCodeNotFoundException
SpiceErrorException
IDCodeNotFoundException
public static int bods2c(java.lang.String name) throws SpiceErrorException, IDCodeNotFoundException
SpiceErrorException
IDCodeNotFoundException
public static double[] bodvcd(int body, java.lang.String item) throws SpiceErrorException
SpiceErrorException
public static void ccifrm(int frclss, int clssid, int[] frcode, java.lang.String[] frname, int[] center, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static double[] cgv2el(double[] center, double[] gv1, double[] gv2) throws SpiceErrorException
SpiceErrorException
public static void ckcls(int handle) throws SpiceErrorException
SpiceErrorException
public static double[] ckcov(java.lang.String ck, int idcode, boolean needav, java.lang.String level, double tol, java.lang.String timsys, int size, double[] cover) throws SpiceErrorException
SpiceErrorException
public static void ckgp(int inst, double sclkdp, double tol, java.lang.String ref, double[][] cmat, double[] clkout, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static void ckgpav(int inst, double sclkdp, double tol, java.lang.String ref, double[][] cmat, double[] av, double[] clkout, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static void ckupf(int handle) throws SpiceErrorException
SpiceErrorException
public static int ckmeta(int CKID, java.lang.String meta) throws SpiceErrorException
SpiceErrorException
public static int[] ckobj(java.lang.String file, int size, int[] ids) throws SpiceErrorException
SpiceErrorException
public static int ckopn(java.lang.String fname, java.lang.String ifname, int ncomch) throws SpiceErrorException
SpiceErrorException
public static void ckw01(int handle, double begtim, double endtim, int inst, java.lang.String ref, boolean avflag, java.lang.String segid, int nrec, double[] sclkdp, double[] quats, double[] avvs) throws SpiceErrorException
SpiceErrorException
public static void ckw02(int handle, double begtim, double endtim, int inst, java.lang.String ref, java.lang.String segid, int nrec, double[] start, double[] stop, double[] quats, double[] avvs, double[] rates) throws SpiceErrorException
SpiceErrorException
public static void ckw03(int handle, double begtim, double endtim, int inst, java.lang.String ref, boolean avflag, java.lang.String segid, int nrec, double[] sclkdp, double[] quats, double[] avvs, int nints, double[] starts) throws SpiceErrorException
SpiceErrorException
public static double clight()
public static void clpool() throws SpiceErrorException
SpiceErrorException
public static double[] conics(double[] elts, double et) throws SpiceErrorException
SpiceErrorException
public static double convrt(double x, java.lang.String in, java.lang.String out) throws SpiceErrorException
SpiceErrorException
public static boolean cvpool(java.lang.String agent) throws SpiceErrorException
SpiceErrorException
public static double[] cyllat(double r, double lon, double z) throws SpiceErrorException
SpiceErrorException
public static double[] cylrec(double r, double lon, double z) throws SpiceErrorException
SpiceErrorException
public static double[] cylsph(double r, double lon, double z) throws SpiceErrorException
SpiceErrorException
public static void dafac(int handle, java.lang.String[] buffer) throws SpiceErrorException
SpiceErrorException
public static void dafbbs(int handle) throws SpiceErrorException
SpiceErrorException
public static void dafbfs(int handle) throws SpiceErrorException
SpiceErrorException
public static void dafcls(int handle) throws SpiceErrorException
SpiceErrorException
public static void dafcs(int handle) throws SpiceErrorException
SpiceErrorException
public static void dafdc(int handle) throws SpiceErrorException
SpiceErrorException
public static void dafec(int handle, int bufsiz, int lenout, int[] n, java.lang.String[] buffer, boolean[] done) throws SpiceErrorException
SpiceErrorException
public static boolean daffna() throws SpiceErrorException
SpiceErrorException
public static boolean daffpa() throws SpiceErrorException
SpiceErrorException
public static double[] dafgda(int handle, int begin, int end) throws SpiceErrorException
SpiceErrorException
public static java.lang.String dafgn() throws SpiceErrorException
SpiceErrorException
public static double[] dafgs(int size) throws SpiceErrorException
SpiceErrorException
public static double[] dafgsr(int handle, int recno, int begin, int end) throws SpiceErrorException, DAFRecordNotFoundException
SpiceErrorException
DAFRecordNotFoundException
public static int dafopr(java.lang.String fname) throws SpiceErrorException
SpiceErrorException
public static int dafopw(java.lang.String fname) throws SpiceErrorException
SpiceErrorException
public static java.lang.String dafrcr(int handle, int recno) throws SpiceErrorException
SpiceErrorException
public static void dafrfr(int handle, int[] nd, int[] ni, java.lang.String[] ifname, int[] fward, int[] bward, int[] free) throws SpiceErrorException
SpiceErrorException
public static void dafus(double[] sum, int nd, int ni, double[] dc, int[] ic) throws SpiceErrorException
SpiceErrorException
public static void dascls(int handle) throws SpiceErrorException
SpiceErrorException
public static void dasac(int handle, java.lang.String[] buffer) throws SpiceErrorException
SpiceErrorException
public static void dasdc(int handle) throws SpiceErrorException
SpiceErrorException
public static void dasec(int handle, int bufsiz, int lenout, int[] n, java.lang.String[] buffer, boolean[] done) throws SpiceErrorException
SpiceErrorException
public static java.lang.String dashfn(int handle) throws SpiceErrorException
SpiceErrorException
public static int dasopr(java.lang.String fname) throws SpiceErrorException
SpiceErrorException
public static int dasopw(java.lang.String fname) throws SpiceErrorException
SpiceErrorException
public static void dasrfr(int handle, java.lang.String[] idword, java.lang.String[] ifname, int[] nresvr, int[] nresvc, int[] ncomr, int[] ncomc) throws SpiceErrorException
SpiceErrorException
public static double[][] dcyldr(double x, double y, double z) throws SpiceErrorException
SpiceErrorException
public static double deltet(double epoch, java.lang.String eptype) throws SpiceErrorException
SpiceErrorException
public static double det(double[][] m) throws SpiceErrorException
SpiceErrorException
public static double[][] dgeodr(double x, double y, double z, double re, double f) throws SpiceErrorException
SpiceErrorException
public static void dlabbs(int handle, int[] descr, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static void dlabfs(int handle, int[] descr, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static void dlafns(int handle, int[] descr, int[] nxtdsc, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static void dlafps(int handle, int[] descr, int[] prvdsc, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static double[][] dlatdr(double x, double y, double z) throws SpiceErrorException
SpiceErrorException
public static double[][] dpgrdr(java.lang.String body, double x, double y, double z, double re, double f) throws SpiceErrorException
SpiceErrorException
public static double dpr()
public static double[][] drdcyl(double radius, double longitude, double z) throws SpiceErrorException
SpiceErrorException
public static double[][] drdgeo(double longitude, double latitude, double altitude, double re, double f) throws SpiceErrorException
SpiceErrorException
public static double[][] drdlat(double radius, double longitude, double latitude) throws SpiceErrorException
SpiceErrorException
public static double[][] drdpgr(java.lang.String body, double longitude, double latitude, double altitude, double re, double f) throws SpiceErrorException
SpiceErrorException
public static double[][] drdsph(double radius, double colatitude, double longitude) throws SpiceErrorException
SpiceErrorException
public static void dskb02(int handle, int[] dladsc, int[] nv, int[] np, int[] nvxtot, double[][] vtxbds, double[] voxsiz, double[] voxori, int[] vgrext, int[] cgscal, int[] vtxnpl, int[] voxnpt, int[] voxnpl) throws SpiceErrorException
SpiceErrorException
public static double[] dskd02(int handle, int[] dladsc, int item, int start, int room) throws SpiceErrorException
SpiceErrorException
public static double[] dskgd(int handle, int[] dladsc) throws SpiceErrorException
SpiceErrorException
public static double dskgtl(int keywrd) throws SpiceErrorException
SpiceErrorException
public static int[] dski02(int handle, int[] dladsc, int item, int start, int room) throws SpiceErrorException
SpiceErrorException
public static void dskmi2(int nv, double[] vrtces, int np, int[] plates, double finscl, int corscl, int worksz, int voxpsz, int voxlsz, boolean makvtl, int spxisz, double[] spaixd, int[] spaixi) throws SpiceErrorException
SpiceErrorException
public static double[] dskn02(int handle, int[] dladsc, int plid) throws SpiceErrorException
SpiceErrorException
public static int[] dskobj(java.lang.String dsk, int size, int[] ids) throws SpiceErrorException
SpiceErrorException
public static int dskopn(java.lang.String fname, java.lang.String ifname, int ncomch) throws SpiceErrorException
SpiceErrorException
public static int[][] dskp02(int handle, int[] dladsc, int start, int room) throws SpiceErrorException
SpiceErrorException
public static void dskrb2(int nv, double[] vrtces, int np, int[] plates, int corsys, double[] corpar, double[] mncor3, double[] mxcor3) throws SpiceErrorException
SpiceErrorException
public static void dskstl(int keywrd, double dpval) throws SpiceErrorException
SpiceErrorException
public static int[] dsksrf(java.lang.String dsk, int bodyid, int size, int[] srfids) throws SpiceErrorException
SpiceErrorException
public static double[][] dskv02(int handle, int[] dladsc, int start, int room) throws SpiceErrorException
SpiceErrorException
public static void dskw02(int handle, int center, int surfce, int dclass, java.lang.String frame, int corsys, double[] corpar, double mncor1, double mxcor1, double mncor2, double mxcor2, double mncor3, double mxcor3, double first, double last, int nv, double[] vrtces, int np, int[] plates, double[] spaixd, int[] spaixi) throws SpiceErrorException
SpiceErrorException
public static void dskx02(int handle, int[] dladsc, double[] vertex, double[] raydir, int[] plid, double[] xpt, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static void dskxsi(boolean pri, java.lang.String target, int nsurf, int[] srflst, double et, java.lang.String fixref, double[] vertex, double[] raydir, int maxd, int maxi, double[] xpt, int[] handle, int[] dladsc, double[] dskdsc, double[] dc, int[] ic, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static void dskxv(boolean pri, java.lang.String target, int nsurf, int[] srflst, double et, java.lang.String fixref, int nrays, double[][] vtxarr, double[][] dirarr, double[][] xptarr, boolean[] fndarr) throws SpiceErrorException
SpiceErrorException
public static void dskz02(int handle, int[] dladsc, int[] nv, int[] np) throws SpiceErrorException
SpiceErrorException
public static double[][] dsphdr(double x, double y, double z) throws SpiceErrorException
SpiceErrorException
public static void dtpool(java.lang.String name, boolean[] found, int[] n, java.lang.String[] type) throws SpiceErrorException
SpiceErrorException
public static double[] dvcrss(double[] s1, double[] s2) throws SpiceErrorException
SpiceErrorException
public static double dvdot(double[] s1, double[] s2) throws SpiceErrorException
SpiceErrorException
public static double[] dvhat(double[] s1) throws SpiceErrorException
SpiceErrorException
public static double dvsep(double[] s1, double[] s2) throws SpiceErrorException
SpiceErrorException
public static void dvpool(java.lang.String name) throws SpiceErrorException
SpiceErrorException
public static double[] edlimb(double a, double b, double c, double[] viewpt) throws SpiceErrorException
SpiceErrorException
public static void el2cgv(double[] ellipse, double[] center, double[] smajor, double[] sminor) throws SpiceErrorException
SpiceErrorException
public static boolean eqstr(java.lang.String a, java.lang.String b) throws SpiceErrorException
SpiceErrorException
public static java.lang.String erract(java.lang.String op, java.lang.String action) throws SpiceErrorException
SpiceErrorException
public static java.lang.String errdev(java.lang.String op, java.lang.String device) throws SpiceErrorException
SpiceErrorException
public static void et2lst(double et, int body, double lon, java.lang.String type, int[] hr, int[] min, int[] sec, java.lang.String[] time, java.lang.String[] ampm) throws SpiceErrorException
SpiceErrorException
public static java.lang.String et2utc(double et, java.lang.String format, int prec) throws SpiceErrorException
SpiceErrorException
public static java.lang.String etcal(double et) throws SpiceErrorException
SpiceErrorException
public static double[][] eul2m(double[] angles, int[] axes) throws SpiceErrorException
SpiceErrorException
public static double[] eul2xf(double[] angles, int[] axes) throws SpiceErrorException
SpiceErrorException
public static void frinfo(int frameID, int[] centerID, int[] frclass, int[] frclassID, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static java.lang.String frmnam(int code) throws SpiceErrorException
SpiceErrorException
public static void furnsh(java.lang.String file) throws SpiceErrorException
SpiceErrorException
public static java.lang.String[] gcpool(java.lang.String name, int start, int room) throws SpiceErrorException, KernelVarNotFoundException
SpiceErrorException
KernelVarNotFoundException
public static double[] gdpool(java.lang.String name, int start, int room) throws SpiceErrorException, KernelVarNotFoundException
SpiceErrorException
KernelVarNotFoundException
public static double[] georec(double longitude, double latitude, double altitude, double re, double f) throws SpiceErrorException
SpiceErrorException
public static void getfat(java.lang.String file, java.lang.String[] arch, java.lang.String[] type) throws SpiceErrorException
SpiceErrorException
public static void getfov(int instID, java.lang.String[] shape, java.lang.String[] ref, double[] bsight, int[] size, double[] bounds) throws SpiceErrorException
SpiceErrorException
public static boolean gfbail() throws SpiceErrorException
SpiceErrorException
public static void gfclrh() throws SpiceErrorException
SpiceErrorException
public static double[] gfdist(java.lang.String target, java.lang.String abcorr, java.lang.String obsrvr, java.lang.String relate, double refval, double adjust, double step, int nintvls, double[] cnfine) throws SpiceErrorException
SpiceErrorException
public static double[] gfilum(java.lang.String method, java.lang.String angtyp, java.lang.String target, java.lang.String illmn, java.lang.String fixref, java.lang.String abcorr, java.lang.String obsrvr, double[] spoint, java.lang.String relate, double refval, double adjust, double step, int nintvls, double[] cnfine) throws SpiceErrorException
SpiceErrorException
public static double[] gfocce(java.lang.String occtyp, java.lang.String front, java.lang.String fshape, java.lang.String fframe, java.lang.String back, java.lang.String bshape, java.lang.String bframe, java.lang.String abcorr, java.lang.String obsrvr, int nintvls, double[] cnfine, GFSearchUtils utils) throws SpiceErrorException
SpiceErrorException
public static double[] pckcov(java.lang.String file, int classID, int size, double[] cover) throws SpiceErrorException
SpiceErrorException
public static int[] pckfrm(java.lang.String pck, int size, int[] ids) throws SpiceErrorException
SpiceErrorException
public static double[] gfoclt(java.lang.String occtyp, java.lang.String front, java.lang.String fshape, java.lang.String fframe, java.lang.String back, java.lang.String bshape, java.lang.String bframe, java.lang.String abcorr, java.lang.String obsrvr, double step, int nintvls, double[] cnfine) throws SpiceErrorException
SpiceErrorException
public static double[] gfpa(java.lang.String target, java.lang.String illum, java.lang.String abcorr, java.lang.String obsrvr, java.lang.String relate, double refval, double adjust, double step, int nintvls, double[] cnfine) throws SpiceErrorException
SpiceErrorException
public static double[] gfposc(java.lang.String target, java.lang.String frame, java.lang.String abcorr, java.lang.String obsrvr, java.lang.String crdsys, java.lang.String coord, java.lang.String relate, double refval, double adjust, double step, int nintvls, double[] cnfine) throws SpiceErrorException
SpiceErrorException
public static double gfrefn(double t1, double t2, boolean s1, boolean s2) throws SpiceErrorException
SpiceErrorException
public static void gfrepf() throws SpiceErrorException
SpiceErrorException
public static void gfrepi(double[] window, java.lang.String begmsg, java.lang.String endmsg) throws SpiceErrorException
SpiceErrorException
public static void gfrepu(double ivbeg, double ivend, double time) throws SpiceErrorException
SpiceErrorException
public static double[] gfrfov(java.lang.String inst, double[] raydir, java.lang.String rframe, java.lang.String abcorr, java.lang.String obsrvr, double step, int nintvls, double[] cnfine) throws SpiceErrorException
SpiceErrorException
public static double[] gfrr(java.lang.String target, java.lang.String abcorr, java.lang.String obsrvr, java.lang.String relate, double refval, double adjust, double step, int nintvls, double[] cnfine) throws SpiceErrorException
SpiceErrorException
public static double[] gfsep(java.lang.String targ1, java.lang.String shape1, java.lang.String frame1, java.lang.String targ2, java.lang.String shape2, java.lang.String frame2, java.lang.String abcorr, java.lang.String obsrvr, java.lang.String relate, double refval, double adjust, double step, int nintvls, double[] cnfine) throws SpiceErrorException
SpiceErrorException
public static double[] gfsntc(java.lang.String target, java.lang.String fixref, java.lang.String method, java.lang.String abcorr, java.lang.String obsrvr, java.lang.String dref, double[] dvec, java.lang.String crdsys, java.lang.String coord, java.lang.String relate, double refval, double adjust, double step, int nintvls, double[] cnfine) throws SpiceErrorException
SpiceErrorException
public static void gfsstp(double step) throws SpiceErrorException
SpiceErrorException
public static double gfstep(double et) throws SpiceErrorException
SpiceErrorException
public static void gfstol(double tol) throws SpiceErrorException
SpiceErrorException
public static double[] gfsubc(java.lang.String target, java.lang.String fixref, java.lang.String method, java.lang.String abcorr, java.lang.String obsrvr, java.lang.String crdsys, java.lang.String coord, java.lang.String relate, double refval, double adjust, double step, int nintvls, double[] cnfine) throws SpiceErrorException
SpiceErrorException
public static double[] gftfov(java.lang.String inst, java.lang.String target, java.lang.String tshape, java.lang.String tframe, java.lang.String abcorr, java.lang.String obsrvr, double step, int nintvls, double[] cnfine) throws SpiceErrorException
SpiceErrorException
public static double[] gfuds(GFScalarQuantity quant, java.lang.String relate, double refval, double adjust, double step, int nintvls, double[] cnfine) throws SpiceErrorException
SpiceErrorException
public static int[] gipool(java.lang.String name, int start, int room) throws SpiceErrorException, KernelVarNotFoundException
SpiceErrorException
KernelVarNotFoundException
public static java.lang.String[] gnpool(java.lang.String template, int start, int room) throws SpiceErrorException
SpiceErrorException
public static void inedpl(double a, double b, double c, double[] plane, double[] ellipse, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static void inelpl(double[] ellipse, double[] plane, int[] nxpts, double[] xpt1, double[] xpt2) throws SpiceErrorException
SpiceErrorException
public static void illumf(java.lang.String method, java.lang.String target, java.lang.String ilusrc, double et, java.lang.String fixref, java.lang.String abcorr, java.lang.String obsrvr, double[] spoint, double[] trgepc, double[] srfvec, double[] angles, boolean[] visibl, boolean[] lit) throws SpiceErrorException
SpiceErrorException
public static void illumPl02(int handle, int[] dladsc, java.lang.String target, double et, java.lang.String abcorr, java.lang.String obsrvr, double[] spoint, double[] trgepc, double[] srfvec, double[] angles) throws SpiceErrorException
SpiceErrorException
public static void ilumin(java.lang.String method, java.lang.String target, double et, java.lang.String fixref, java.lang.String abcorr, java.lang.String obsrvr, double[] spoint, double[] trgepc, double[] srfvec, double[] angles) throws SpiceErrorException
SpiceErrorException
public static void inrypl(double[] vertex, double[] dir, double[] plane, int[] nxpts, double[] xpt) throws SpiceErrorException
SpiceErrorException
public static double[][] invert(double[][] m) throws SpiceErrorException
SpiceErrorException
public static boolean isrot(double[][] m, double ntol, double dtol) throws SpiceErrorException
SpiceErrorException
public static double j1900()
public static double j1950()
public static double j2000()
public static double j2100()
public static double jyear()
public static void kclear()
public static void kdata(int which, java.lang.String kind, java.lang.String[] file, java.lang.String[] filtyp, java.lang.String[] source, int[] handle, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static void kinfo(java.lang.String file, java.lang.String[] filtyp, java.lang.String[] source, int[] handle, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static int ktotal(java.lang.String kind) throws SpiceErrorException
SpiceErrorException
public static double[] latcyl(double radius, double longitude, double latitude) throws SpiceErrorException
SpiceErrorException
public static double[] latrec(double radius, double longitude, double latitude) throws SpiceErrorException
SpiceErrorException
public static double[] latsph(double radius, double longitude, double latitude) throws SpiceErrorException
SpiceErrorException
public static double[][] latsrf(java.lang.String method, java.lang.String target, double et, java.lang.String fixref, int npts, double[][] lonlat) throws SpiceErrorException
SpiceErrorException
public static void ldpool(java.lang.String filename) throws SpiceErrorException
SpiceErrorException
public static void limbpt(java.lang.String method, java.lang.String target, double et, java.lang.String fixref, java.lang.String abcorr, java.lang.String corloc, java.lang.String obsrvr, double[] refvec, double rolstp, int ncuts, double schstp, double soltol, int maxn, int[] npts, double[][] points, double[] epochs, double[][] tangts) throws SpiceErrorException
SpiceErrorException
public static void limbPl02(int handle, int[] dladsc, java.lang.String target, double et, java.lang.String fixfrm, java.lang.String abcorr, java.lang.String obsrvr, int npoints, double[] trgepc, double[] obspos, double[][] limbpts, int[] plateIDs) throws SpiceErrorException
SpiceErrorException
public static void llgridPl02(int handle, int[] dladsc, double[][] grid, double[][] spoints, int[] plateIDs) throws SpiceErrorException
SpiceErrorException
public static void lmpool(java.lang.String[] cvals) throws SpiceErrorException
SpiceErrorException
public static void ltime(double etobs, int obs, java.lang.String dir, int targ, double[] ettarg, double[] elapsd) throws SpiceErrorException
SpiceErrorException
public static double[] m2eul(double[][] m, int[] axes) throws SpiceErrorException
SpiceErrorException
public static double[] m2q(double[][] m) throws SpiceErrorException
SpiceErrorException
public static double[][] mxm(double[][] m1, double[][] m2) throws SpiceErrorException
SpiceErrorException
public static double[] mxv(double[][] m, double[] v) throws SpiceErrorException
SpiceErrorException
public static int namfrm(java.lang.String name) throws SpiceErrorException
SpiceErrorException
public static void npedln(double a, double b, double c, double[] linept, double[] linedr, double[] point, double[] dist) throws SpiceErrorException
SpiceErrorException
public static void npelpt(double[] point, double[] ellipse, double[] pnear, double[] dist) throws SpiceErrorException
SpiceErrorException
public static void nplnpt(double[] linept, double[] linedr, double[] point, double[] pnear, double[] dist) throws SpiceErrorException
SpiceErrorException
public static double[] nvc2pl(double[] normal, double constant) throws SpiceErrorException
SpiceErrorException
public static double[] nvp2pl(double[] normal, double[] point) throws SpiceErrorException
SpiceErrorException
public static void nearpt(double[] positn, double a, double b, double c, double[] point, double[] alt) throws SpiceErrorException
SpiceErrorException
public static int occult(java.lang.String targ1, java.lang.String shape1, java.lang.String frame1, java.lang.String targ2, java.lang.String shape2, java.lang.String frame2, java.lang.String abcorr, java.lang.String obsrvr, double et) throws SpiceErrorException
SpiceErrorException
public static double[] oscelt(double[] state, double et, double mu) throws SpiceErrorException
SpiceErrorException
public static double[] oscltx(double[] state, double et, double mu) throws SpiceErrorException
SpiceErrorException
public static void pckcls(int handle) throws SpiceErrorException
SpiceErrorException
public static int pckopn(java.lang.String fname, java.lang.String ifname, int ncomch) throws SpiceErrorException
SpiceErrorException
public static void pckuof(int handle) throws SpiceErrorException
SpiceErrorException
public static void pckw02(int handle, int clssid, java.lang.String frame, double first, double last, java.lang.String segid, double intlen, int n, int polydg, double[] cdata, double btime) throws SpiceErrorException
SpiceErrorException
public static void pcpool(java.lang.String name, java.lang.String[] cvals) throws SpiceErrorException
SpiceErrorException
public static void pdpool(java.lang.String name, double[] dvals) throws SpiceErrorException
SpiceErrorException
public static double[] pgrrec(java.lang.String body, double longitude, double latitude, double altitude, double re, double f) throws SpiceErrorException
SpiceErrorException
public static double pi()
public static void pipool(java.lang.String name, int[] ivals) throws SpiceErrorException
SpiceErrorException
public static double[] pjelpl(double[] elin, double[] plane) throws SpiceErrorException
SpiceErrorException
public static void pl2nvc(double[] plane, double[] normal, double[] constant) throws SpiceErrorException
SpiceErrorException
public static void pl2nvp(double[] plane, double[] normal, double[] point) throws SpiceErrorException
SpiceErrorException
public static void pl2psv(double[] plane, double[] point, double[] span1, double[] span2) throws SpiceErrorException
SpiceErrorException
public static double pltar(int nv, double[] vrtces, int np, int[] plates) throws SpiceErrorException
SpiceErrorException
public static double[][] pltexp(double[][] iverts, double delta) throws SpiceErrorException
SpiceErrorException
public static void pltnp(double[] point, double[] v1, double[] v2, double[] v3, double[] pnear, double[] dist) throws SpiceErrorException
SpiceErrorException
public static double[] pltnrm(double[] v1, double[] v2, double[] v3) throws SpiceErrorException
SpiceErrorException
public static double pltvol(int nv, double[] vrtces, int np, int[] plates) throws SpiceErrorException
SpiceErrorException
public static double[] psv2pl(double[] point, double[] span1, double[] span2) throws SpiceErrorException
SpiceErrorException
public static void putcml(java.lang.String[] argv) throws SpiceErrorException
SpiceErrorException
public static java.lang.String prompt(java.lang.String promptStr) throws SpiceErrorException
SpiceErrorException
public static void prop2b(double gm, double[] pvinit, double dt, double[] pvprop) throws SpiceErrorException
SpiceErrorException
public static double[][] pxform(java.lang.String from, java.lang.String to, double et) throws SpiceErrorException
SpiceErrorException
public static double[][] pxfrm2(java.lang.String from, java.lang.String to, double etfrom, double etto) throws SpiceErrorException
SpiceErrorException
public static double[][] q2m(double[] q) throws SpiceErrorException
SpiceErrorException
public static double[] qdq2av(double[] q, double[] dq) throws SpiceException
SpiceException
public static double[] qxq(double[] q1, double[] q2) throws SpiceException
SpiceException
public static double[] radrec(double range, double ra, double dec) throws SpiceErrorException
SpiceErrorException
public static double[] rav2xf(double[][] r, double[] av) throws SpiceErrorException
SpiceErrorException
public static void raxisa(double[][] r, double[] axis, double[] angle) throws SpiceErrorException
SpiceErrorException
public static double[] reccyl(double[] rectan) throws SpiceErrorException
SpiceErrorException
public static double[] recgeo(double[] rectan, double Re, double f) throws SpiceErrorException
SpiceErrorException
public static double[] reclat(double[] rectan) throws SpiceErrorException
SpiceErrorException
public static double[] recpgr(java.lang.String body, double[] rectan, double Re, double f) throws SpiceErrorException
SpiceErrorException
public static double[] recrad(double[] rectan) throws SpiceErrorException
SpiceErrorException
public static double[] recsph(double[] rectan) throws SpiceErrorException
SpiceErrorException
public static void reset()
public static double[][] rotate(double angle, int iaxis) throws SpiceErrorException
SpiceErrorException
public static double[][] rotmat(double[][] r, double angle, int iaxis) throws SpiceErrorException
SpiceErrorException
public static double[] rotvec(double[] v, double angle, int iaxis) throws SpiceErrorException
SpiceErrorException
public static double rpd()
public static java.lang.String scdecd(int clkid, double sclkdp) throws SpiceErrorException
SpiceErrorException
public static double sce2c(int clkid, double et) throws SpiceErrorException
SpiceErrorException
public static java.lang.String sce2s(int clkid, double et) throws SpiceErrorException
SpiceErrorException
public static double scencd(int clkid, java.lang.String sclkch) throws SpiceErrorException
SpiceErrorException
public static java.lang.String scfmt(int sc, double sclkdp) throws SpiceErrorException
SpiceErrorException
public static double scs2e(int clkid, java.lang.String sclkch) throws SpiceErrorException
SpiceErrorException
public static double sct2e(int clkid, double sclkdp) throws SpiceErrorException
SpiceErrorException
public static double sctiks(int clkid, java.lang.String clkstr) throws SpiceErrorException
SpiceErrorException
public static void sincpt(java.lang.String method, java.lang.String target, double et, java.lang.String fixref, java.lang.String abcorr, java.lang.String obsrvr, java.lang.String dref, double[] dvec, double[] spoint, double[] trgepc, double[] srfvec, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static double spd()
public static double[] sphcyl(double r, double colatitude, double longitude) throws SpiceErrorException
SpiceErrorException
public static double[] sphlat(double r, double colatitude, double longitude) throws SpiceErrorException
SpiceErrorException
public static double[] sphrec(double r, double colatitude, double longitude) throws SpiceErrorException
SpiceErrorException
public static void spkcls(int handle) throws SpiceErrorException
SpiceErrorException
public static double[] spkcov(java.lang.String file, int body, int size, double[] cover) throws SpiceErrorException
SpiceErrorException
public static void spkcpo(java.lang.String target, double et, java.lang.String outref, java.lang.String refloc, java.lang.String abcorr, double[] obspos, java.lang.String obsctr, java.lang.String obsref, double[] state, double[] lt) throws SpiceErrorException
SpiceErrorException
public static void spkcpt(double[] trgpos, java.lang.String trgctr, java.lang.String trgref, double et, java.lang.String outref, java.lang.String refloc, java.lang.String abcorr, java.lang.String obsrvr, double[] state, double[] lt) throws SpiceErrorException
SpiceErrorException
public static void spkcvo(java.lang.String target, double et, java.lang.String outref, java.lang.String refloc, java.lang.String abcorr, double[] obssta, double obsepc, java.lang.String obsctr, java.lang.String obsref, double[] state, double[] lt) throws SpiceErrorException
SpiceErrorException
public static void spkcvt(double[] trgsta, double trgepc, java.lang.String trgctr, java.lang.String trgref, double et, java.lang.String outref, java.lang.String refloc, java.lang.String abcorr, java.lang.String obsrvr, double[] state, double[] lt) throws SpiceErrorException
SpiceErrorException
public static void spkezr(java.lang.String target, double et, java.lang.String ref, java.lang.String abcorr, java.lang.String observer, double[] state, double[] lt) throws SpiceErrorException
SpiceErrorException
public static int[] spkobj(java.lang.String file, int size, int[] ids) throws SpiceErrorException
SpiceErrorException
public static int spkopn(java.lang.String fname, java.lang.String ifname, int ncomch) throws SpiceErrorException
SpiceErrorException
public static void spkpos(java.lang.String target, double et, java.lang.String ref, java.lang.String abcorr, java.lang.String observer, double[] pos, double[] lt) throws SpiceErrorException
SpiceErrorException
public static void spkuef(int handle) throws SpiceErrorException
SpiceErrorException
public static void spkw02(int handle, int body, int center, java.lang.String frame, double first, double last, java.lang.String segid, double intlen, int n, int polydg, double[] cdata, double btime) throws SpiceErrorException
SpiceErrorException
public static void spkw03(int handle, int body, int center, java.lang.String frame, double first, double last, java.lang.String segid, double intlen, int n, int polydg, double[] cdata, double btime) throws SpiceErrorException
SpiceErrorException
public static void spkw05(int handle, int body, int center, java.lang.String frame, double first, double last, java.lang.String segid, double gm, int n, double[] states, double[] epochs) throws SpiceErrorException
SpiceErrorException
public static void spkw09(int handle, int body, int center, java.lang.String frame, double first, double last, java.lang.String segid, int degree, int n, double[] states, double[] epochs) throws SpiceErrorException
SpiceErrorException
public static void spkw13(int handle, int body, int center, java.lang.String frame, double first, double last, java.lang.String segid, int degree, int n, double[] states, double[] epochs) throws SpiceErrorException
SpiceErrorException
public static void srfc2s(int code, int bodyid, java.lang.String[] srfstr, boolean[] isname) throws SpiceErrorException
SpiceErrorException
public static void srfcss(int code, java.lang.String bodstr, java.lang.String[] srfstr, boolean[] isname) throws SpiceErrorException
SpiceErrorException
public static double[][] srfnrm(java.lang.String method, java.lang.String target, double et, java.lang.String fixref, int npts, double[][] srfpts) throws SpiceErrorException
SpiceErrorException
public static void srfs2c(java.lang.String srfstr, java.lang.String bodstr, int[] code, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static void srfscc(java.lang.String srfstr, int bodyid, int[] code, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static double[] stelab(double[] pobj, double[] vobs) throws SpiceErrorException
SpiceErrorException
public static double[] stlabx(double[] pobj, double[] vobs) throws SpiceErrorException
SpiceErrorException
public static void stpool(java.lang.String name, int nth, java.lang.String contin, java.lang.String[] component, boolean[] found) throws SpiceErrorException, KernelVarNotFoundException
SpiceErrorException
KernelVarNotFoundException
public static double str2et(java.lang.String timeString) throws SpiceErrorException
SpiceErrorException
public static void subpnt(java.lang.String method, java.lang.String target, double et, java.lang.String fixref, java.lang.String abcorr, java.lang.String obsrvr, double[] spoint, double[] trgepc, double[] srfvec) throws SpiceErrorException
SpiceErrorException
public static void subptPl02(int handle, int[] dladsc, java.lang.String method, java.lang.String target, double et, java.lang.String abcorr, java.lang.String obsrvr, double[] spoint, double[] alt, int[] plateID) throws SpiceErrorException
SpiceErrorException
public static void subslr(java.lang.String method, java.lang.String target, double et, java.lang.String fixref, java.lang.String abcorr, java.lang.String obsrvr, double[] spoint, double[] trgepc, double[] srfvec) throws SpiceErrorException
SpiceErrorException
public static void subsolPl02(int handle, int[] dladsc, java.lang.String method, java.lang.String target, double et, java.lang.String abcorr, java.lang.String obsrvr, double[] spoint, double[] alt, int[] plateID) throws SpiceErrorException
SpiceErrorException
public static double[] surfnm(double a, double b, double c, double[] point) throws SpiceErrorException
SpiceErrorException
public static void surfpt(double[] positn, double[] u, double a, double b, double c, double[] point, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static void swpool(java.lang.String agent, java.lang.String[] names) throws SpiceErrorException
SpiceErrorException
public static double[] sxform(java.lang.String from, java.lang.String to, double et) throws SpiceErrorException
SpiceErrorException
public static int szpool(java.lang.String name) throws SpiceErrorException
SpiceErrorException
public static void termpt(java.lang.String method, java.lang.String ilusrc, java.lang.String target, double et, java.lang.String fixref, java.lang.String abcorr, java.lang.String corloc, java.lang.String obsrvr, double[] refvec, double rolstp, int ncuts, double schstp, double soltol, int maxn, int[] npts, double[][] points, double[] epochs, double[][] trmvcs) throws SpiceErrorException
SpiceErrorException
public static java.lang.String timout(double et, java.lang.String picture) throws SpiceErrorException
SpiceErrorException
public static java.lang.String tkvrsn(java.lang.String item) throws SpiceErrorException
SpiceErrorException
public static void tparse(java.lang.String string, double[] sp2000, java.lang.String[] errmsg) throws SpiceErrorException
SpiceErrorException
public static void tpictr(java.lang.String sample, java.lang.String[] pictur, boolean[] ok, java.lang.String[] errmsg) throws SpiceErrorException
SpiceErrorException
public static void tsetyr(int year) throws SpiceErrorException
SpiceErrorException
public static double[][] twovec(double[] axdef, int indexa, double[] plndef, int indexp) throws SpiceErrorException
SpiceErrorException
public static double tyear()
public static double[] ucrss(double[] v1, double[] v2) throws SpiceErrorException
SpiceErrorException
public static double unitim(double et, java.lang.String insys, java.lang.String outsys) throws SpiceErrorException
SpiceErrorException
public static void unload(java.lang.String file) throws SpiceErrorException
SpiceErrorException
public static void unorm(double[] v1, double[] vout, double[] vmag) throws SpiceErrorException
SpiceErrorException
public static double[] vcrss(double[] v1, double[] v2) throws SpiceErrorException
SpiceErrorException
public static double vdist(double[] v1, double[] v2) throws SpiceErrorException
SpiceErrorException
public static double[] vhat(double[] v1) throws SpiceErrorException
SpiceErrorException
public static double vnorm(double[] v1) throws SpiceErrorException
SpiceErrorException
public static double[] vperp(double[] a, double[] b) throws SpiceErrorException
SpiceErrorException
public static double[] vproj(double[] a, double[] b) throws SpiceErrorException
SpiceErrorException
public static double[] vprjp(double[] vin, double[] plane) throws SpiceErrorException
SpiceErrorException
public static void vprjpi(double[] vin, double[] projpl, double[] invpl, double[] vout, boolean[] found) throws SpiceErrorException
SpiceErrorException
public static double[] vrotv(double[] v1, double[] axis, double theta) throws SpiceErrorException
SpiceErrorException
public static double vsep(double[] v1, double[] v2) throws SpiceErrorException
SpiceErrorException
public static double[] wncomd(double left, double right, double[] window) throws SpiceErrorException
SpiceErrorException
public static double[] wncond(double left, double right, double[] window) throws SpiceErrorException
SpiceErrorException
public static double[] wndifd(double[] a, double[] b) throws SpiceErrorException
SpiceErrorException
public static boolean wnelmd(double point, double[] window) throws SpiceErrorException
SpiceErrorException
public static double[] wnexpd(double left, double right, double[] window) throws SpiceErrorException
SpiceErrorException
public static double[] wnextd(java.lang.String side, double[] window) throws SpiceErrorException
SpiceErrorException
public static double[] wnfild(double small, double[] window) throws SpiceErrorException
SpiceErrorException
public static double[] wnfltd(double small, double[] window) throws SpiceErrorException
SpiceErrorException
public static boolean wnincd(double left, double right, double[] window) throws SpiceErrorException
SpiceErrorException
public static double[] wninsd(double left, double right, double[] window) throws SpiceErrorException
SpiceErrorException
public static double[] wnintd(double[] a, double[] b) throws SpiceErrorException
SpiceErrorException
public static boolean wnreld(double[] a, java.lang.String op, double[] b) throws SpiceErrorException
SpiceErrorException
public static void wnsumd(double[] window, double[] meas, double[] avg, double[] stddev, int[] shortest, int[] longest) throws SpiceErrorException
SpiceErrorException
public static double[] wnunid(double[] a, double[] b) throws SpiceErrorException
SpiceErrorException
public static double[] wnvald(int size, int card, double[] endpoints) throws SpiceErrorException
SpiceErrorException
public static void xf2eul(double[] xform, int[] axes, double[] angles, boolean[] unique) throws SpiceErrorException
SpiceErrorException
public static void xf2rav(double[] xform, double[][] r, double[] av) throws SpiceErrorException
SpiceErrorException
public static void termPl02(int handle, int[] dladsc, java.lang.String trmtyp, java.lang.String source, java.lang.String target, double et, java.lang.String fixfrm, java.lang.String abcorr, java.lang.String obsrvr, int npoints, double[] trgepc, double[] obspos, double[][] trmpts, int[] plateIDs) throws SpiceErrorException
SpiceErrorException
|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |