public class OffsetRefAxis extends DirectionVector
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OFFSETREFAXIS_TAG
offsetRefAxis
|
static java.lang.String |
SC_X_AXIS_TAG
SC_Xaxis
|
AXIS_TAG, FRAME_TAG, LATITUDE_TAG, LONGITUDE_TAG, ORIGIN_TAG, REF_TAG, ROTATE_TAG, ROTATION_ANGLE_TAG, ROTATION_AXIS_TAG, TARGET_TAG, UNITS_TAG, X_TAG, Y_TAG, Z_TAG
Constructor and Description |
---|
OffsetRefAxis()
Creates a offsetRefAxis Direction vector referenced to SC_Xaxis direction vector
Direction vectors can be defined by referencing to
direction vectors that were previously defined and
got a name assigned.
|
OffsetRefAxis(PointingElement pm) |
OffsetRefAxis(java.lang.String reference)
Creates a offsetRefAxis Direction vector referenced to another direction vector
Direction vectors can be defined by referencing to
direction vectors that were previously defined and
got a name assigned.
|
OffsetRefAxis(java.lang.String frame,
float longitude,
float latitude)
Creates a offsetRefAxis fixed direction vector expressed in spherical coordinates
For spherical coordinates the element must
contain the child elements
|
OffsetRefAxis(java.lang.String frame,
float x,
float y,
float z)
Creates a fixed offsetRefAxis direction vector expressed in cartesian coordinates
For cartesian coordinates the element must
contain the child elements
|
OffsetRefAxis(java.lang.String origin,
java.lang.String target)
Creates a offsetRefAxis direction vector based in Origin and Target
This representation is used to define a direction
vector from two state vectors.
|
OffsetRefAxis(java.lang.String axis,
java.lang.String rotationAxis,
float rotationAngle)
Creates a offsetRefAxis rotated Direction Vector
This representation allows to define a direction
vector by right-handed rotation of the direction
vector axis around rotationAxis by the angle
rotationAngle.
|
OffsetRefAxis(java.lang.String frame,
java.lang.String unitLongitude,
float longitude,
java.lang.String unitLatitude,
float latitude)
Creates a fixed offsetRefAxis direction vector expressed in spherical coordinates
For spherical coordinates the element must
contain the child elements
|
OffsetRefAxis(java.lang.String axis,
java.lang.String rotationAxis,
java.lang.String rotationAngleUnit,
float rotationAngle)
Creates a offsetRefAxis rotated Direction Vector
This representation allows to define a direction
vector by right-handed rotation of the direction
vector axis around rotationAxis by the angle
rotationAngle.
|
Modifier and Type | Method and Description |
---|---|
OffsetRefAxis |
copy() |
getAxis, getFrame, getLatitude, getLatitude, getLatitudeUnit, getLongitude, getLongitude, getLongitudeUnit, getOrigin, getReference, getRotationAngle, getRotationAngle, getRotationAngleUnit, getRotationAxis, getTarget, getUnit, getX, getY, getZ, setAxis, setBooleanField, setFloatArrayField, setFloatField, setFrame, setIntegerField, setLatitude, setLatitude, setLongitude, setLongitude, setOrigin, setReference, setRotationAngle, setRotationAngle, setRotationAxis, setStringField, setTarget, setUnit, setX, setY, setZ
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 OFFSETREFAXIS_TAG
public static java.lang.String SC_X_AXIS_TAG
public OffsetRefAxis()
reference
- Name of the referenced direction vectorpublic OffsetRefAxis(java.lang.String frame, float longitude, float latitude)
frame
- The frame where this vector is expressed (SC,EME2000,CG)longitude
- Longitude expressed in deg.latitude
- Latitude expressed in deg.public OffsetRefAxis(PointingElement pm)
public OffsetRefAxis(java.lang.String reference)
reference
- Name of the referenced direction vectorpublic OffsetRefAxis(java.lang.String frame, float x, float y, float z)
frame
- The frame where this vector is expressed (SC,EME2000,CG)x
- The x component of this vectory
- The y component of this vectorz
- The z component of this vectorpublic OffsetRefAxis(java.lang.String frame, java.lang.String unitLongitude, float longitude, java.lang.String unitLatitude, float latitude)
frame
- The frame where this vector is expressed (SC,EME2000,CG)unitLongitude
- Unit in which the longitude is expressedlongitude
- LongitudeunitLatitude
- Unit in which the latitude is expressedlatitude
- Latitudepublic OffsetRefAxis(java.lang.String origin, java.lang.String target)
origin
- Origin State vectortarget
- Target State vectorpublic OffsetRefAxis(java.lang.String axis, java.lang.String rotationAxis, float rotationAngle)
axis
- The axis that this vector referencerotationAxis
- Rotation axis of the vectorrotationAngle
- Rotation angle. It must be expressed in deg.public OffsetRefAxis(java.lang.String axis, java.lang.String rotationAxis, java.lang.String rotationAngleUnit, float rotationAngle)
axis
- The axis that this vector referencerotationAxis
- Rotation axis of the vectorrotationAngleUnit
- Unit in which the angle of rotation is expressedrotationAngle
- Rotation anglepublic OffsetRefAxis copy()
copy
in class DirectionVector