public class PhaseAngle extends PointingElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALIGN_TAG
align
|
static java.lang.String |
ALIGN_YCGSC_SUN_NORMAL_DELTA_TIME_TAG
deltaTime
|
static java.lang.String |
ALIGN_YCGSC_SUN_NORMAL_START_TIME_TAG
refEpoch
|
static java.lang.String |
ALIGN_YCGSC_SUN_NORMAL_TAG
alignYCGSCSunNormal
|
static java.lang.String |
ANGLE_TAG
angle
|
static java.lang.String |
FLIP_START_TIME_TAG
flipStartTime
|
static java.lang.String |
FLIP_TAG
flip
|
static java.lang.String |
FLIP_TYPE_TAG
flipType
|
static java.lang.String |
FRAME_TAG
frame
|
static java.lang.String |
INERTIAL_AXIS_TAG
inertialAxis
|
static java.lang.String |
PHASEANGLE_TAG
phaseAngle
|
static java.lang.String |
POWER_OPTIMIZED_TAG
powerOptimised
|
static java.lang.String |
REF_TAG
ref
|
static java.lang.String |
SC_AXIS_TAG
SCAxis
|
static java.lang.String |
UNITS_TAG
units
|
static java.lang.String |
X_TAG
x
|
static java.lang.String |
Y_TAG
y
|
static java.lang.String |
YDIR_TAG
yDir
|
static java.lang.String |
Z_TAG
z
|
Constructor and Description |
---|
PhaseAngle()
The power optimised roll places the SC-y-axis at a
90 deg angle relative to the SC to Sun direction.
|
PhaseAngle(java.lang.Boolean yDir)
The power optimised roll places the SC-y-axis at a
90 deg angle relative to the SC to Sun direction.
|
PhaseAngle(java.lang.Boolean yDir,
float angle)
The power optimised roll places the SC-y-axis at a
certain angle relative to the SC to Sun direction.
|
PhaseAngle(java.lang.Boolean yDir,
java.lang.String units,
float angle)
The power optimised roll places the SC-y-axis at a
certain angle relative to the SC to Sun direction.
|
PhaseAngle(java.util.Date rEpoch,
float deltaTime)
Align the SC Y axis with the normal of CGSC-Sun plane:
The projections of SC +Y-axis and the cross product of the SC to CG and SC to Sun direction
into the plane perpendicular to the boresights are
aligned.
|
PhaseAngle(java.util.Date tRef,
java.lang.String yRot) |
PhaseAngle(java.util.Date rEpoch,
java.lang.String deltaTimeUnits,
float deltaTime)
Align the SC Y axis with the normal of CGSC-Sun plane:
The projections of SC +Y-axis and the cross product of the SC to CG and SC to Sun direction
into the plane perpendicular to the boresights are
aligned.
|
PhaseAngle(PointingElement org) |
PhaseAngle(java.lang.String sCAxysFrame,
float sCAxysx,
float sCAxysy,
float sCAxysz,
java.lang.String inertialAxysFrame,
float inertialAxysx,
float inertialAxysy,
float inertialAxysz)
Align SC axis with certain inertial direction.
|
PhaseAngle(java.lang.String tRef,
java.lang.String yRot)
Flip: This phase angle is used to support comet fly-bys
that contain the sun direction in the fly-by plane.
|
PhaseAngle(java.lang.String rEpoch,
java.lang.String deltaTimeUnits,
java.lang.String deltaTime)
Align the SC Y axis with the normal of CGSC-Sun plane:
The projections of SC +Y-axis and the cross product of the SC to CG and SC to Sun direction
into the plane perpendicular to the boresights are
aligned.
|
Modifier and Type | Method and Description |
---|---|
PhaseAngle |
copy() |
float |
getAngle() |
float |
getAngle(java.lang.String unit) |
java.lang.String |
getAngleUnit() |
float |
getDeltaTime()
For Align the SC Y axis with the normal of CGSC-Sun plane, get the delta time
|
float |
getDeltaTime(java.lang.String unit)
For Align the SC Y axis with the normal of CGSC-Sun plane, get the delta time in the given unit
|
java.lang.String |
getDeltaTimeUnit() |
java.util.Date |
getFlipeStartTime() |
java.lang.String |
getFlipType()
Get the flip type
|
java.util.Date |
getReferenceEpoch()
Get the reference epoch for Align the SC Y axis with the normal of CGSC-Sun plane
|
java.lang.String |
getUnit(java.lang.String field) |
void |
setAngle(java.lang.String units,
float angle)
For Power Optimised Phase Angle, set the angle parameter.
|
void |
setAngle(java.lang.String units,
java.lang.String angle)
For Power Optimised Phase Angle, set the angle parameter.
|
void |
setDeltaTime(long value) |
void |
setDeltaTime(long value,
java.lang.String units) |
void |
setDeltaTime(java.lang.String value,
java.lang.String units) |
void |
setFlipStartTime(java.util.Date time)
Set the flip start time for the flip type PhaseAngle.
|
void |
setReferenceEpoch(java.util.Date epoch) |
void |
setReferenceEpoch(java.lang.String epoch) |
void |
setYDir(boolean yDir)
For Power Optimised Phase Angle, set the yDir parameter.
|
addAttribute, addChild, asDataset, copyFrom, equals, getAttribute, getAttributes, getChild, getChildren, getDescription, getFirstLevelTextContent, getName, getValue, hasAttributtes, hasChildren, readFrom, regenerate, removeAttribute, removeAttribute, setDescription, setValue, toString, toStringParameter, toXml, validate
public static java.lang.String PHASEANGLE_TAG
public static java.lang.String REF_TAG
public static java.lang.String FLIP_TAG
public static java.lang.String FLIP_START_TIME_TAG
public static java.lang.String FLIP_TYPE_TAG
public static java.lang.String ALIGN_YCGSC_SUN_NORMAL_TAG
public static java.lang.String ALIGN_YCGSC_SUN_NORMAL_START_TIME_TAG
public static java.lang.String ALIGN_YCGSC_SUN_NORMAL_DELTA_TIME_TAG
public static java.lang.String POWER_OPTIMIZED_TAG
public static java.lang.String YDIR_TAG
public static java.lang.String ALIGN_TAG
public static java.lang.String ANGLE_TAG
public static java.lang.String UNITS_TAG
public static java.lang.String SC_AXIS_TAG
public static java.lang.String X_TAG
public static java.lang.String Y_TAG
public static java.lang.String Z_TAG
public static java.lang.String FRAME_TAG
public static java.lang.String INERTIAL_AXIS_TAG
public PhaseAngle(PointingElement org)
public PhaseAngle(java.lang.String tRef, java.lang.String yRot)
tRef
- Flip Start TimeyRot
- Flip type (pyPosRot,pyNegRot,myPosRot or myNegRot)public PhaseAngle(java.lang.String rEpoch, java.lang.String deltaTimeUnits, java.lang.String deltaTime)
rEpoch
- deltaTime
- deltaTimeUnits
- public PhaseAngle(java.util.Date rEpoch, java.lang.String deltaTimeUnits, float deltaTime)
rEpoch
- deltaTime
- deltaTimeUnits
- public PhaseAngle(java.util.Date rEpoch, float deltaTime)
rEpoch
- deltaTime
- public PhaseAngle(java.util.Date tRef, java.lang.String yRot)
public PhaseAngle(java.lang.Boolean yDir, java.lang.String units, float angle)
yDir
- YDirunits
- Angle unitsangle
- Anglepublic PhaseAngle(java.lang.Boolean yDir, float angle)
yDir
- YDirangle
- Anglepublic PhaseAngle(java.lang.Boolean yDir)
yDir
- public PhaseAngle()
public PhaseAngle(java.lang.String sCAxysFrame, float sCAxysx, float sCAxysy, float sCAxysz, java.lang.String inertialAxysFrame, float inertialAxysx, float inertialAxysy, float inertialAxysz)
sCAxys
- Frame Spacecraft axys reference framesCAxysx
- X Spacecraft AxissCAxysy
- Y Spacecraft AxissCAxysz
- Z Spacecraft AxisinertialAxysFrame
- Inertial axis reference frameinertialAxysx
- X Inertial AxisinertialAxysy
- Y Inertial axisinertialAxysz
- Z Inertial axispublic PhaseAngle copy()
copy
in class PointingElement
public java.util.Date getReferenceEpoch()
public float getDeltaTime()
public float getDeltaTime(java.lang.String unit)
unit
- the desired unitpublic java.lang.String getDeltaTimeUnit()
public void setDeltaTime(java.lang.String value, java.lang.String units)
public void setDeltaTime(long value, java.lang.String units)
public void setDeltaTime(long value)
public void setReferenceEpoch(java.lang.String epoch)
public void setReferenceEpoch(java.util.Date epoch)
public java.lang.String getUnit(java.lang.String field)
public java.lang.String getFlipType()
public java.util.Date getFlipeStartTime()
public void setYDir(boolean yDir)
yDir
- public void setAngle(java.lang.String units, java.lang.String angle)
units
- The units for the angle, for example degangle
- The angle parameter, for example 90public void setAngle(java.lang.String units, float angle)
units
- The units for the angle, for example degangle
- The angle parameter, for example 90public float getAngle()
public java.lang.String getAngleUnit()
public float getAngle(java.lang.String unit)
public void setFlipStartTime(java.util.Date time)
time
-