public class OffsetFixed extends OffsetAngles
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
XANGLE_DEFAULT_UNIT
deg
|
static java.lang.String |
XANGLE_FIELD
xAngle
|
static java.lang.String |
YANGLE_DEFAULT_UNIT
deg
|
static java.lang.String |
YANGLE_FIELD
yAngle
|
OFFSETANGLES_TAG, OFFSETANGLES_TYPE_CUSTOM, OFFSETANGLES_TYPE_FIXED, OFFSETANGLES_TYPE_RASTER, OFFSETANGLES_TYPE_SCAN, REF_TAG
Constructor and Description |
---|
OffsetFixed()
If offsetAngles contains the attribute ref=fixed two fixed rotation angles can be specified.
|
OffsetFixed(float xAngle,
float yAngle)
If offsetAngles contains the attribute ref=fixed two fixed rotation angles can be specified.
|
OffsetFixed(PointingElement org) |
OffsetFixed(java.lang.String xAngleUnit,
float xAngle,
java.lang.String yAngleUnit,
float yAngle)
If offsetAngles contains the attribute ref=fixed two fixed rotation angles can be specified.
|
OffsetFixed(java.lang.String xAngle,
java.lang.String yAngle)
If offsetAngles contains the attribute ref=fixed two fixed rotation angles can be specified.
|
Modifier and Type | Method and Description |
---|---|
OffsetFixed |
copy() |
long |
getDurationMilliSecs()
Get the duration in milliseconds of this offset rotation
|
float |
getXAngle()
Get the Rotation angle of the boresight towards the offset-x-axis (rotation around plus offset-yaxis)
|
float |
getXAngle(java.lang.String unit) |
java.lang.String |
getXAngleUnit() |
float |
getYAngle()
Get the rotation angle of the boresight towards the offset-y-axis (rotation around minus offset-xaxis)
|
float |
getYAngle(java.lang.String unit) |
java.lang.String |
getYAngleUnit() |
boolean |
isFixed()
True if this offset rotation is of the type fixed.
|
void |
setXAngle(float xAngle)
Set the Rotation angle of the boresight towards the offset-x-axis (rotation around plus offset-yaxis)
|
void |
setXAngleUnit(java.lang.String unit)
Set the unit used to express the rotation angle of the boresight towards the offset-x-axis (rotation around plus offset-yaxis)
|
void |
setYAngle(float yAngle)
Set the rotation angle of the boresight towards the offset-y-axis (rotation around minus offset-xaxis)
|
void |
setYAngleUnit(java.lang.String unit)
Set the unit used to express the rotation angle of the boresight towards the offset-y-axis (rotation around minus offset-xaxis)
|
getStartTime, getUnit, isCustom, isRaster, isScan, setBooleanField, setFloatArrayField, setFloatField, setIntegerField, setStartTime, setStartTime, setStringField, setUnit, stringToFloatArray
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 XANGLE_FIELD
public static java.lang.String YANGLE_FIELD
public static java.lang.String XANGLE_DEFAULT_UNIT
public static java.lang.String YANGLE_DEFAULT_UNIT
public OffsetFixed(PointingElement org)
public OffsetFixed(java.lang.String xAngle, java.lang.String yAngle)
xAngle
- Rotation angle of the boresight towards the offset-x-axis (rotation around plus offset-yaxis) expressed in deg.yAngle
- Rotation angle of the boresight towards the offset-y-axis (rotation around minus offset-xaxis) expressed in deg.public OffsetFixed(java.lang.String xAngleUnit, float xAngle, java.lang.String yAngleUnit, float yAngle)
xAngleUnit
- Units used to express the xAngle, for example deg.xAngle
- Rotation angle of the boresight towards the offset-x-axis (rotation around plus offset-yaxis)yAngleUnit
- Units used to express the yAngle, for example deg.yAngle
- Rotation angle of the boresight towards the offset-y-axis (rotation around minus offset-xaxis)public OffsetFixed(float xAngle, float yAngle)
xAngle
- Rotation angle of the boresight towards the offset-x-axis (rotation around plus offset-yaxis) expressed in deg.yAngle
- Rotation angle of the boresight towards the offset-y-axis (rotation around minus offset-xaxis) expressed in deg.public OffsetFixed()
public void setXAngle(float xAngle)
xAngle
- public float getXAngle()
public float getXAngle(java.lang.String unit)
public java.lang.String getXAngleUnit()
public void setXAngleUnit(java.lang.String unit)
unit
- public void setYAngle(float yAngle)
yAngle
- public void setYAngleUnit(java.lang.String unit)
unit
- public float getYAngle()
public java.lang.String getYAngleUnit()
public float getYAngle(java.lang.String unit)
public boolean isFixed()
OffsetAngles
isFixed
in class OffsetAngles
public long getDurationMilliSecs()
OffsetAngles
getDurationMilliSecs
in class OffsetAngles
public OffsetFixed copy()
copy
in class OffsetAngles