List of usage examples for org.apache.commons.math3.geometry.euclidean.threed FieldRotation getAxis
public FieldVector3D<T> getAxis()
From source file:org.orekit.utils.FieldAngularCoordinates.java
/** Estimate FieldRotation<T> rate between two orientations. * <p>Estimation is based on a simple fixed rate FieldRotation<T> * during the time interval between the two orientations.</p> * @param start start orientation/* ww w . j a va 2s .c om*/ * @param end end orientation * @param dt time elapsed between the dates of the two orientations * @param <T> the type of the field elements * @return FieldRotation<T> rate allowing to go from start to end orientations */ public static <T extends RealFieldElement<T>> FieldVector3D<T> estimateRate(final FieldRotation<T> start, final FieldRotation<T> end, final double dt) { final FieldRotation<T> evolution = start.applyTo(end.revert()); return new FieldVector3D<T>(evolution.getAngle().divide(dt), evolution.getAxis()); }