public class KeplerianPropagatorBuilder extends AbstractParameterizable implements PropagatorBuilder
| Constructor and Description |
|---|
KeplerianPropagatorBuilder(double mu,
Frame frame)
Build a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Propagator |
buildPropagator(AbsoluteDate date,
double[] parameters)
Build a propagator.
|
Frame |
getFrame()
Get the frame in which the orbit is propagated.
|
double |
getParameter(String name) |
void |
setFreeParameters(Collection<String> parameters)
Set the free parameters in order to build the propagator.
|
void |
setParameter(String name,
double value) |
complainIfNotSupported, getParametersNames, isSupportedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParametersNames, isSupportedpublic KeplerianPropagatorBuilder(double mu,
Frame frame)
mu - central attraction coefficient (m³/s²)frame - the frame in which the orbit is propagated
(must be a pseudo-inertial frame)public Propagator buildPropagator(AbsoluteDate date, double[] parameters) throws OrekitException
buildPropagator in interface PropagatorBuilderdate - date associated to the parameters to configure the initial stateparameters - set of position/velocity(/free) parameters to configure the propagatorOrekitException - if propagator cannot be buildpublic Frame getFrame()
getFrame in interface PropagatorBuilderpublic void setFreeParameters(Collection<String> parameters) throws IllegalArgumentException
The parameters must belong to the list returned by Parameterizable.getParametersNames()
setFreeParameters in interface PropagatorBuilderparameters - free parameters to set when building the propagatorIllegalArgumentExceptionpublic double getParameter(String name) throws IllegalArgumentException
getParameter in interface ParameterizedODEIllegalArgumentExceptionpublic void setParameter(String name, double value) throws IllegalArgumentException
setParameter in interface ParameterizedODEIllegalArgumentExceptionCopyright © 2002-2015 CS Systèmes d'information. All rights reserved.