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