Class SBASPropagatorBuilder
It implements the classical builder pattern.
- Since:
- 11.0
- Author:
- Bryan Cazabonne
-
Constructor Summary
ConstructorsConstructorDescriptionSBASPropagatorBuilder(SBASOrbitalElements sbasOrbElt) Initializes the builder.SBASPropagatorBuilder(SBASOrbitalElements sbasOrbElt, Frames frames) Initializes the builder. -
Method Summary
Modifier and TypeMethodDescriptionattitudeProvider(AttitudeProvider userProvider) Sets the attitude provider.build()Finalizes the build.Sets the Earth Centered Earth Fixed frame assimilated to the WGS84 ECEF.Sets the Earth Centered Inertial frame used for propagation.mass(double userMass) Sets the mass.mu(double coefficient) Sets the Earth gravity coefficient.
-
Constructor Details
-
SBASPropagatorBuilder
Initializes the builder.The SBAS orbital elements is the only requested parameter to build a SBASPropagator.
The attitude provider is set by default be aligned with the EME2000 frame.
The Earth gravity coefficient is set by default to theSBAS_MU.
The mass is set by default to theDEFAULT_MASS.
The ECI frame is set by default to theEME2000 frame.
The ECEF frame is set by default to theCIO/2010-based ITRF simple EOP.This constructor uses the
default data context.- Parameters:
sbasOrbElt- the SBAS orbital elements to be used by the SBAS propagator.- Since:
- 12.0
- See Also:
-
SBASPropagatorBuilder
Initializes the builder.The SBAS orbital elements is the only requested parameter to build a SBASPropagator.
The attitude provider is set by default to be aligned with the EME2000 frame.
The Earth gravity coefficient is set by default to theSBAS_MU.
The mass is set by default to theDEFAULT_MASS.
The ECI frame is set by default to theEME2000 frame.
The ECEF frame is set by default to theCIO/2010-based ITRF simple EOP.- Parameters:
sbasOrbElt- the SBAS orbital elements to be used by the SBAS propagator.frames- set of reference frames to use to initializeecef(Frame),eci(Frame), andattitudeProvider(AttitudeProvider).- See Also:
-
-
Method Details
-
attitudeProvider
Sets the attitude provider.- Parameters:
userProvider- the attitude provider- Returns:
- the updated builder
-
mu
Sets the Earth gravity coefficient.- Parameters:
coefficient- the Earth gravity coefficient- Returns:
- the updated builder
-
mass
Sets the mass.- Parameters:
userMass- the mass (in kg)- Returns:
- the updated builder
-
eci
Sets the Earth Centered Inertial frame used for propagation.- Parameters:
inertial- the ECI frame- Returns:
- the updated builder
-
ecef
Sets the Earth Centered Earth Fixed frame assimilated to the WGS84 ECEF.- Parameters:
bodyFixed- the ECEF frame- Returns:
- the updated builder
-
build
Finalizes the build.- Returns:
- the built SBASPropagator
-