|
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.DSKDescriptor
public class DSKDescriptor
Class DSKDescriptor represents DSK segment descriptors and declares DSK constants.
Version 1.0.0 15-NOV-2016 (NJB)
Based on the DSK class of the Alpha DSK JNISpice Toolkit. Index parameters declared in the Alpha DSK Toolkit DSK were changed from Fortran style (1-based) to Java style (0-based).
Field Summary | |
---|---|
static int |
BTMIDX
|
static int |
CLSIDX
|
static int |
CTRIDX
|
static int |
CYLSYS
|
static int |
DSKDSZ
|
static int |
ETMIDX
|
static int |
FRMIDX
|
static int |
GENCLS
|
static int |
LATSYS
|
static int |
MN1IDX
|
static int |
MN2IDX
|
static int |
MN3IDX
|
static int |
MX1IDX
|
static int |
MX2IDX
|
static int |
MX3IDX
|
static int |
NSYPAR
|
static int |
PARIDX
|
static int |
PDTSYS
|
static int |
RECSYS
|
static int |
SRFIDX
|
static int |
SVFCLS
|
static int |
SYSIDX
|
static int |
TYPIDX
|
Constructor Summary | |
---|---|
DSKDescriptor()
No-arguments constructor. |
|
DSKDescriptor(double[] descrArray)
Construct a DSK descriptor instance from an array of doubles. |
|
DSKDescriptor(DSKDescriptor dskdsc)
Copy constructor. |
Method Summary | |
---|---|
int |
getCenterID()
Get central body ID. |
double[][] |
getCoordBounds()
Get coordinate bounds. |
double[] |
getCoordParams()
Get coordinate system parameters. |
int |
getCoordSysID()
Get coordinate system ID. |
int |
getDataClass()
Get data class. |
int |
getDataType()
Get data type. |
int |
getFrameID()
Get reference frame ID code. |
int |
getSurfaceID()
Get surface ID. |
double[] |
getTimeBounds()
Get time bounds. |
double[] |
toArray()
Extract descriptor contents into an array of type double. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SRFIDX
public static final int CTRIDX
public static final int CLSIDX
public static final int TYPIDX
public static final int FRMIDX
public static final int SYSIDX
public static final int PARIDX
public static final int NSYPAR
public static final int MN1IDX
public static final int MX1IDX
public static final int MN2IDX
public static final int MX2IDX
public static final int MN3IDX
public static final int MX3IDX
public static final int BTMIDX
public static final int ETMIDX
public static final int DSKDSZ
public static final int SVFCLS
public static final int GENCLS
public static final int LATSYS
public static final int CYLSYS
public static final int RECSYS
public static final int PDTSYS
Constructor Detail |
---|
public DSKDescriptor(double[] descrArray)
public DSKDescriptor()
public DSKDescriptor(DSKDescriptor dskdsc)
Method Detail |
---|
public int getSurfaceID()
public int getCenterID()
public int getDataClass()
public int getDataType()
public int getFrameID()
public int getCoordSysID()
public double[] getCoordParams()
public double[][] getCoordBounds()
The output array contains the minimum and maximum values of the ith coordinate, respectively, in the elements indexed [i][0] [i][1] The range of i is [0,2].
public double[] getTimeBounds()
public double[] toArray()
|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |