|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sirius.patrius.tools.ephemerisComparator.QuaternionDPFacade
public final class QuaternionDPFacade
This class is a facade for the use of quaternions.
DeviationProvider| Method Summary | |
|---|---|
static QuaternionDPFacade |
buildQuaternionDPFacade(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. |
Quaternion |
getQuaternion()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static QuaternionDPFacade buildQuaternionDPFacade(double[] data)
data - describe the quaternion. Can be either :
public double computeDeviationTo(boolean absolute,
DeviationProvider obj,
boolean positive)
computeDeviationTo in interface DeviationProviderabsolute - 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 Quaternion getQuaternion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||