public class Euler extends CommentsContainer
Euler rotations
entries.Constructor and Description |
---|
Euler()
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
AttitudeEndpoints |
getEndpoints()
Get the endpoints (i.e.
|
org.hipparchus.geometry.euclidean.threed.RotationOrder |
getEulerRotSeq()
Get the rotation order of Euler angles.
|
double[] |
getRotationAngles()
Get the coordinates of the Euler angles.
|
double[] |
getRotationRates()
Get the rates of the Euler angles.
|
boolean |
hasAngles()
Check if the logical block includes angles.
|
boolean |
hasRates()
Check if the logical block includes rates.
|
boolean |
isSpacecraftBodyRate()
Check if rates are specified in spacecraft body frame.
|
boolean |
rateFrameIsA()
Check if rates are specified in
frame A . |
void |
setEulerRotSeq(org.hipparchus.geometry.euclidean.threed.RotationOrder eulerRotSeq)
Set the rotation order for Euler angles.
|
void |
setIndexedRotationAngle(int axis,
double angle)
Set the Euler angle about axis.
|
void |
setIndexedRotationRate(int axis,
double rate)
Set the rate of Euler angle about axis.
|
void |
setInRotationAngles(boolean inRotationAngles)
Set flag for rotation angle parsing.
|
void |
setLabeledRotationAngle(char axis,
double angle)
Set the Euler angle about axis.
|
void |
setLabeledRotationRate(char axis,
double rate)
Set the rate of Euler angle about axis.
|
void |
setRateFrameIsA(boolean rateFrameIsA)
Set the frame in which rates are specified.
|
void |
validate(double version)
Check is all mandatory entries have been initialized.
|
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments
public void validate(double version)
This method should throw an exception if some mandatory entries are missing or not compatible with version number.
validate
in interface Section
validate
in class CommentsContainer
version
- format versionpublic AttitudeEndpoints getEndpoints()
public org.hipparchus.geometry.euclidean.threed.RotationOrder getEulerRotSeq()
public void setEulerRotSeq(org.hipparchus.geometry.euclidean.threed.RotationOrder eulerRotSeq)
eulerRotSeq
- order to be setpublic boolean rateFrameIsA()
frame A
.frame A
public void setRateFrameIsA(boolean rateFrameIsA)
rateFrameIsA
- if true, rates are specified in frame A
public boolean isSpacecraftBodyRate()
Mandatory entries
must have been
initialized properly to non-null values before this method is called,
otherwise NullPointerException
will be thrown.
public double[] getRotationAngles()
public void setLabeledRotationAngle(char axis, double angle)
axis
- rotation axisangle
- angle to set (rad)public void setIndexedRotationAngle(int axis, double angle)
axis
- rotation axisangle
- angle to set (rad)public double[] getRotationRates()
public void setLabeledRotationRate(char axis, double rate)
axis
- rotation axisrate
- angle rate to set (rad/s)public void setIndexedRotationRate(int axis, double rate)
axis
- rotation axisrate
- angle rate to set (rad/s)public void setInRotationAngles(boolean inRotationAngles)
inRotationAngles
- if true, we are in the rotationAngles part of XML filespublic boolean hasAngles()
This can be false only for ADM V1, as angles are mandatory since ADM V2.
public boolean hasRates()
Copyright © 2002-2023 CS GROUP. All rights reserved.