public final class PVCoordinatesDPFacade extends PVCoordinates implements DeviationProvider
This class is a facade for the use of PVCoordinates.
DeviationProvider
,
Serialized FormZERO
Constructor and Description |
---|
PVCoordinatesDPFacade(double[] vector,
DataType etype)
Build an instance from an elapsed duration since to another instant.
|
Modifier and Type | Method and Description |
---|---|
double |
computeDeviationTo(boolean absolute,
DeviationProvider obj,
boolean positive)
computes the deviation in seconds between the stored PV and the given one.
|
crossProduct, estimateVelocity, getAcceleration, getAngularVelocity, getMomentum, getPosition, getVelocity, negate, normalize, shiftedBy, toDerivativeStructureVector, toString
public PVCoordinatesDPFacade(double[] vector, DataType etype)
vector
- the 6 component vectoretype
- the attribute typePVCoordinates.PVCoordinates(Vector3D, Vector3D)
public double computeDeviationTo(boolean absolute, DeviationProvider obj, boolean positive)
computeDeviationTo
in interface DeviationProvider
absolute
- absolute or relative deviationobj
- the DeviationProvider that should be a PVCoordinatesDPFacadepositive
- true if absolute value of deviations, false otherwiseEphemerisComparatorRuntimeException
- if the DeviationProvider is not of the correct typeDeviationProvider.computeDeviationTo(boolean,
DeviationProvider, boolean)
Copyright © 2019 CNES. All Rights Reserved.