Class AbstractOrbitFactory<P extends Orbit>
- Type Parameters:
P- type of the orbits
- All Implemented Interfaces:
Cloneable,OrbitalParameterFactory<P>
- Direct Known Subclasses:
CartesianOrbitFactory,CircularOrbitFactory,EquinoctialOrbitFactory,KeplerianOrbitFactory
- Since:
- 14.0
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractOrbitFactory(double positionScale, P template, PositionAngleType positionAngleType) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the Jacobian of the orbital parameters with respect to the Cartesian coordinates.Get the Jacobian of the Cartesian coordinates with respect to the orbital parameters.protected double[]Convert an input into an array suitable to feed orbital parameters drivers.Methods inherited from class org.orekit.orbits.AbstractOrbitalParameterFactory
clone, getDate, getFrame, getMu, getNonKeplerianParametersDrivers, getOrbitalParametersDrivers, getOrbitType, getPositionAngleType, reset, setDate, setFrame, setMu, setPositionAngleTypeMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.orbits.OrbitalParameterFactory
createFromDrivers
-
Constructor Details
-
AbstractOrbitFactory
protected AbstractOrbitFactory(double positionScale, P template, PositionAngleType positionAngleType) Simple constructor.The template orbit is used as a model. It defines the inertial frame, the central attraction coefficient, the orbit type, and is also used together with the
positionScaleto convert from thenormalizedparameters used by the callers of this factory to the real orbital parameters.- Parameters:
positionScale- position scale used to scale the orbital driverstemplate- template orbitpositionAngleType- position angle type to use
-
-
Method Details
-
toArray
Convert an input into an array suitable to feed orbital parameters drivers.- Specified by:
toArrayin classAbstractOrbitalParameterFactory<P extends Orbit>- Parameters:
orbit- orbit to convert- Returns:
- arrays corresponding to orbit
-
getJacobianWrtParameters
Get the Jacobian of the Cartesian coordinates with respect to the orbital parameters.The Jacobian is evaluated at the
current drivers values, at thefactory dateand in thefactory frame.The orbital parameters being a regular
orbit type, the Jacobian is the closed-form one provided byOrbit.getJacobianWrtParameters(PositionAngleType, double[][]).- Returns:
- jacobian matrix dC/dB, where C are the Cartesian coordinates and B the orbital parameters this factory is built upon
-
getJacobianWrtCartesian
Get the Jacobian of the orbital parameters with respect to the Cartesian coordinates.This is the inverse of
OrbitalParameterFactory.getJacobianWrtParameters(), and it is evaluated under the very same conditions..This implementation inverts
OrbitalParameterFactory.getJacobianWrtParameters()numerically, using the same decomposition asOrbitdoes for its own Jacobian matrices.Pure delegation to
Orbit.getJacobianWrtCartesian(PositionAngleType, double[][])- Specified by:
getJacobianWrtCartesianin interfaceOrbitalParameterFactory<P extends Orbit>- Overrides:
getJacobianWrtCartesianin classAbstractOrbitalParameterFactory<P extends Orbit>- Returns:
- jacobian matrix dB/dC, where B are the orbital parameters this factory is built upon and C the Cartesian coordinates
-