public class GNSSPropagatorBuilder extends Object
It implements the classical builder pattern.
| Constructor and Description |
|---|
GNSSPropagatorBuilder(GNSSOrbitalElements gnssOrbElt)
Initializes the builder.
|
GNSSPropagatorBuilder(GNSSOrbitalElements gnssOrbElt,
Frames frames)
Initializes the builder.
|
| Modifier and Type | Method and Description |
|---|---|
GNSSPropagatorBuilder |
attitudeProvider(AttitudeProvider userProvider)
Sets the attitude provider.
|
GNSSPropagator |
build()
Finalizes the build.
|
GNSSPropagatorBuilder |
ecef(Frame bodyFixed)
Sets the Earth Centered Earth Fixed frame assimilated to the WGS84 ECEF.
|
GNSSPropagatorBuilder |
eci(Frame inertial)
Sets the Earth Centered Inertial frame used for propagation.
|
GNSSPropagatorBuilder |
mass(double userMass)
Sets the mass.
|
@DefaultDataContext public GNSSPropagatorBuilder(GNSSOrbitalElements gnssOrbElt)
The GNSS orbital elements is the only requested parameter to build a GNSSPropagator.
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 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 GNSSOrbitalElements gpsOrbElt, final Frames frames)
gnssOrbElt - the GNSS orbital elements to be used by the GNSSpropagator.attitudeProvider(AttitudeProvider provider),
mass(double mass),
eci(Frame inertial),
ecef(Frame bodyFixed)public GNSSPropagatorBuilder(GNSSOrbitalElements gnssOrbElt, Frames frames)
The GNSS orbital elements is the only requested parameter to build a GNSSPropagator.
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
Frames.getITRF(IERSConventions, boolean) CIO/2010-based ITRF simple EOP}.
gnssOrbElt - the GNSS orbital elements to be used by the GNSSpropagator.frames - set of frames to use.attitudeProvider(AttitudeProvider provider),
mass(double mass),
eci(Frame inertial),
ecef(Frame bodyFixed)public GNSSPropagatorBuilder attitudeProvider(AttitudeProvider userProvider)
userProvider - the attitude providerpublic GNSSPropagatorBuilder mass(double userMass)
userMass - the mass (in kg)public GNSSPropagatorBuilder eci(Frame inertial)
inertial - the ECI framepublic GNSSPropagatorBuilder ecef(Frame bodyFixed)
bodyFixed - the ECEF framepublic GNSSPropagator build()
Copyright © 2002-2022 CS GROUP. All rights reserved.