public class PointedAxis extends DirectionVector
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
POINTED_AXIS_TAG
pointedAxis
|
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 |
---|
PointedAxis(PointingElement pm) |
PointedAxis(java.lang.String reference)
Creates a pointedAxis 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.
|
PointedAxis(java.lang.String frame,
float longitude,
float latitude)
Creates a pointedAxis fixed direction vector expressed in spherical coordinates
For spherical coordinates the element must
contain the child elements
|
PointedAxis(java.lang.String frame,
float x,
float y,
float z)
Creates a fixed pointedAxis direction vector expressed in cartesian coordinates
For cartesian coordinates the element must
contain the child elements
|
PointedAxis(java.lang.String origin,
java.lang.String target)
Creates a pointedAxis direction vector based in Origin and Target
This representation is used to define a direction
vector from two state vectors.
|
PointedAxis(java.lang.String axis,
java.lang.String rotationAxis,
float rotationAngle)
Creates a pointedAxis 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.
|
PointedAxis(java.lang.String frame,
java.lang.String unitLongitude,
float longitude,
java.lang.String unitLatitude,
float latitude)
Creates a fixed pointedAxis direction vector expressed in spherical coordinates
For spherical coordinates the element must
contain the child elements
|
PointedAxis(java.lang.String axis,
java.lang.String rotationAxis,
java.lang.String rotationAngleUnit,
float rotationAngle)
Creates a pointedAxis 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 |
---|---|
PointedAxis |
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 PointedAxis(PointingElement pm)
public PointedAxis(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 PointedAxis(java.lang.String reference)
reference
- Name of the referenced direction vectorpublic PointedAxis(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 PointedAxis(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 PointedAxis(java.lang.String origin, java.lang.String target)
origin
- Origin State vectortarget
- Target State vectorpublic PointedAxis(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 PointedAxis(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 PointedAxis copy()
copy
in class DirectionVector