public static class GLONASSAnalyticalPropagator.Builder extends Object
It implements the classical builder pattern.
| Constructor and Description |
|---|
Builder(GLONASSOrbitalElements glonassOrbElt)
Initializes the builder.
|
Builder(GLONASSOrbitalElements glonassOrbElt,
DataContext dataContext)
Initializes the builder.
|
| Modifier and Type | Method and Description |
|---|---|
GLONASSAnalyticalPropagator.Builder |
attitudeProvider(AttitudeProvider userProvider)
Sets the attitude provider.
|
GLONASSAnalyticalPropagator |
build()
Finalizes the build.
|
GLONASSAnalyticalPropagator.Builder |
dataContext(DataContext context)
Sets the data context used by the propagator.
|
GLONASSAnalyticalPropagator.Builder |
ecef(Frame bodyFixed)
Sets the Earth Centered Earth Fixed frame assimilated to the WGS84 ECEF.
|
GLONASSAnalyticalPropagator.Builder |
eci(Frame inertial)
Sets the Earth Centered Inertial frame used for propagation.
|
GLONASSAnalyticalPropagator.Builder |
mass(double userMass)
Sets the mass.
|
@DefaultDataContext public Builder(GLONASSOrbitalElements glonassOrbElt)
The GLONASS orbital elements is the only requested parameter to build a GLONASSPropagator.
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.
The ECEF frame is set by default to the
CIO/2010-based ITRF simple EOP in the default data context.
This constructor uses the default data context.
Another data context can be set using
Builder(final GLONASSOrbitalElements gpsOrbElt, final DataContext dataContext)
glonassOrbElt - the GLONASS orbital elements to be used by the GLONASS propagator.attitudeProvider(AttitudeProvider provider),
mass(double mass),
eci(Frame inertial),
ecef(Frame bodyFixed)public Builder(GLONASSOrbitalElements glonassOrbElt, DataContext dataContext)
The GLONASS orbital elements is the only requested parameter to build a GLONASSPropagator.
The attitude provider is set by default to the
Propagator.getDefaultLaw(Frames).
The mass is set by default to the
DEFAULT_MASS.
The ECI frame is set by default to the
EME2000 frame.
The ECEF frame is set by default to the
CIO/2010-based ITRF simple
EOP.
glonassOrbElt - the GLONASS orbital elements to be used by the GLONASS propagator.dataContext - the data context to use for frames and time scales.attitudeProvider(AttitudeProvider provider),
mass(double mass),
eci(Frame inertial),
ecef(Frame bodyFixed)public GLONASSAnalyticalPropagator.Builder attitudeProvider(AttitudeProvider userProvider)
userProvider - the attitude providerpublic GLONASSAnalyticalPropagator.Builder mass(double userMass)
userMass - the mass (in kg)public GLONASSAnalyticalPropagator.Builder eci(Frame inertial)
inertial - the ECI framepublic GLONASSAnalyticalPropagator.Builder ecef(Frame bodyFixed)
bodyFixed - the ECEF framepublic GLONASSAnalyticalPropagator.Builder dataContext(DataContext context)
eci(Frame) and ecef(Frame).context - used for propagation.public GLONASSAnalyticalPropagator build()
Copyright © 2002-2020 CS GROUP. All rights reserved.