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, isSupported
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParametersNames, isSupported
public 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 PropagatorBuilder
date
- 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 PropagatorBuilder
public void setFreeParameters(Collection<String> parameters) throws IllegalArgumentException
The parameters must belong to the list returned by Parameterizable.getParametersNames()
setFreeParameters
in interface PropagatorBuilder
parameters
- free parameters to set when building the propagatorIllegalArgumentException
public double getParameter(String name) throws IllegalArgumentException
getParameter
in interface ParameterizedODE
IllegalArgumentException
public void setParameter(String name, double value) throws IllegalArgumentException
setParameter
in interface ParameterizedODE
IllegalArgumentException
Copyright © 2002-2015 CS Systèmes d'information. All rights reserved.