|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.cnes.sirius.patrius.tools.ephemerisComparator.RotationDPFacade
public class RotationDPFacade
This class is a facade for the use of dates.
DeviationProvider
Constructor Summary | |
---|---|
RotationDPFacade(double angle)
Constructor from an angle. |
|
RotationDPFacade(double[][] matrix)
Constructor from a matrix. |
|
RotationDPFacade(Double angle1,
Double angle2,
Double angle3)
Build a rotation from Cardan angles. |
|
RotationDPFacade(double axisX,
double axisY,
double axisZ,
double angle)
Constructor from an axis and an angle. |
Method Summary | |
---|---|
static RotationDPFacade |
buildRotationDPFacade(double[] data)
factory method. |
double |
computeDeviationTo(boolean absolute,
DeviationProvider obj,
boolean positive)
computes the deviation in angle between the stored rotation and the given one. |
Rotation |
getRotation()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RotationDPFacade(double angle)
angle
- the angle of the rotation around the Z-axis, in radiansRotation.Rotation(RotationOrder, double, double, double)
public RotationDPFacade(Double angle1, Double angle2, Double angle3)
angle1
- angle of the first elementary rotation, in radiansangle2
- angle of the second elementary rotation, in radiansangle3
- angle of the third elementary rotation, in radiansRotation.Rotation(RotationOrder, double, double, double)
public RotationDPFacade(double axisX, double axisY, double axisZ, double angle)
axisX
- the x component of the axis vectoraxisY
- the y component of the axis vectoraxisZ
- the z component of the axis vectorangle
- the rotation angle, in radiansRotation.Rotation(Vector3D, double)
public RotationDPFacade(double[][] matrix)
matrix
- the rotation matrixRotation.Rotation(double[][], double)
Method Detail |
---|
public static RotationDPFacade buildRotationDPFacade(double[] data)
data
- describe the rotation. Can be either :
public final double computeDeviationTo(boolean absolute, DeviationProvider obj, boolean positive)
computeDeviationTo
in interface DeviationProvider
absolute
- absolute or relative deviationobj
- the DeviationProvider that should be a RotationDPFacadepositive
- true if absolute value of deviations, false otherwise
EphemerisComparatorRuntimeException
- if the DeviationProvider is not of the correct typeDeviationProvider.computeDeviationTo(boolean,
DeviationProvider, boolean)
public final Rotation getRotation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |