public static class GLONASSNumericalPropagator.Builder extends Object
It implements the classical builder pattern.
Constructor and Description |
---|
Builder(ClassicalRungeKuttaIntegrator integrator,
GLONASSEphemeris glonassOrbElt,
boolean isAccAvailable)
Initializes the builder.
|
Modifier and Type | Method and Description |
---|---|
GLONASSNumericalPropagator.Builder |
attitudeProvider(AttitudeProvider userProvider)
Sets the attitude provider.
|
GLONASSNumericalPropagator |
build()
Finalizes the build.
|
GLONASSNumericalPropagator.Builder |
dataContext(DataContext context)
Sets the data context used by the propagator.
|
GLONASSNumericalPropagator.Builder |
eci(Frame inertial)
Sets the Earth Centered Inertial frame used for propagation.
|
GLONASSNumericalPropagator.Builder |
mass(double userMass)
Sets the mass.
|
@DefaultDataContext public Builder(ClassicalRungeKuttaIntegrator integrator, GLONASSEphemeris glonassOrbElt, boolean isAccAvailable)
The attitude provider is set by default to the
DEFAULT_LAW
in the
default data context.
The mass is set by default to the
DEFAULT_MASS
.
The data context is by default to the
default data context
.
The ECI frame is set by default to the
EME2000 frame
in the default data
context.
integrator
- 4th order Runge-Kutta as recommended by GLONASS ICDglonassOrbElt
- the GLONASS orbital elements to be used by the GLONASSNumericalPropagator.isAccAvailable
- flag for availability of the projections of accelerations transmitted within
the navigation messageattitudeProvider(AttitudeProvider provider)
,
mass(double mass)
,
eci(Frame inertial)
public GLONASSNumericalPropagator.Builder attitudeProvider(AttitudeProvider userProvider)
userProvider
- the attitude providerpublic GLONASSNumericalPropagator.Builder mass(double userMass)
userMass
- the mass (in kg)public GLONASSNumericalPropagator.Builder eci(Frame inertial)
inertial
- the ECI framepublic GLONASSNumericalPropagator.Builder dataContext(DataContext context)
eci(Frame)
.context
- used for propagation.public GLONASSNumericalPropagator build()
Copyright © 2002-2020 CS Group. All rights reserved.