public class GLONASSAnalyticalPropagatorBuilder extends Object
It implements the classical builder pattern.
Caution: The Glonass analytical propagator can only be used with GLONASSAlmanac
.
Using this propagator with a GLONASSNavigationMessage
is prone to error.
Constructor and Description |
---|
GLONASSAnalyticalPropagatorBuilder(GLONASSOrbitalElements glonassOrbElt)
Initializes the builder.
|
GLONASSAnalyticalPropagatorBuilder(GLONASSOrbitalElements glonassOrbElt,
DataContext dataContext)
Initializes the builder.
|
Modifier and Type | Method and Description |
---|---|
GLONASSAnalyticalPropagatorBuilder |
attitudeProvider(AttitudeProvider userProvider)
Sets the attitude provider.
|
GLONASSAnalyticalPropagator |
build()
Finalizes the build.
|
GLONASSAnalyticalPropagatorBuilder |
dataContext(DataContext context)
Sets the data context used by the propagator.
|
GLONASSAnalyticalPropagatorBuilder |
ecef(Frame bodyFixed)
Sets the Earth Centered Earth Fixed frame assimilated to the WGS84 ECEF.
|
GLONASSAnalyticalPropagatorBuilder |
eci(Frame inertial)
Sets the Earth Centered Inertial frame used for propagation.
|
GLONASSAnalyticalPropagatorBuilder |
mass(double userMass)
Sets the mass.
|
@DefaultDataContext public GLONASSAnalyticalPropagatorBuilder(GLONASSOrbitalElements glonassOrbElt)
The GLONASS orbital elements is the only requested parameter to build a GLONASSAnalyticalPropagator.
The attitude provider is set by default to be aligned with the EME2000 frame.
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 analytical propagator.attitudeProvider(AttitudeProvider provider)
,
mass(double mass)
,
eci(Frame inertial)
,
ecef(Frame bodyFixed)
public GLONASSAnalyticalPropagatorBuilder(GLONASSOrbitalElements glonassOrbElt, DataContext dataContext)
The GLONASS orbital elements is the only requested parameter to build a GLONASSAnalyticalPropagator.
The attitude provider is set by default to be aligned with the EME2000 frame.
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 GLONASSAnalyticalPropagatorBuilder attitudeProvider(AttitudeProvider userProvider)
userProvider
- the attitude providerpublic GLONASSAnalyticalPropagatorBuilder mass(double userMass)
userMass
- the mass (in kg)public GLONASSAnalyticalPropagatorBuilder eci(Frame inertial)
inertial
- the ECI framepublic GLONASSAnalyticalPropagatorBuilder ecef(Frame bodyFixed)
bodyFixed
- the ECEF framepublic GLONASSAnalyticalPropagatorBuilder dataContext(DataContext context)
eci(Frame)
and ecef(Frame)
.context
- used for propagation.public GLONASSAnalyticalPropagator build()
Copyright © 2002-2023 CS GROUP. All rights reserved.