public class SBASPropagatorBuilder extends Object
It implements the classical builder pattern.
Constructor and Description |
---|
SBASPropagatorBuilder(SBASOrbitalElements sbasOrbElt,
Frames frames)
Initializes the builder.
|
Modifier and Type | Method and Description |
---|---|
SBASPropagatorBuilder |
attitudeProvider(AttitudeProvider userProvider)
Sets the attitude provider.
|
SBASPropagator |
build()
Finalizes the build.
|
SBASPropagatorBuilder |
ecef(Frame bodyFixed)
Sets the Earth Centered Earth Fixed frame assimilated to the WGS84 ECEF.
|
SBASPropagatorBuilder |
eci(Frame inertial)
Sets the Earth Centered Inertial frame used for propagation.
|
SBASPropagatorBuilder |
mass(double userMass)
Sets the mass.
|
SBASPropagatorBuilder |
mu(double coefficient)
Sets the Earth gravity coefficient.
|
public SBASPropagatorBuilder(SBASOrbitalElements sbasOrbElt, Frames frames)
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 the
SBAS_MU
.
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
.
sbasOrbElt
- the SBAS orbital elements to be used by the SBAS propagator.frames
- set of reference frames to use to initialize ecef(Frame)
, eci(Frame)
, and attitudeProvider(AttitudeProvider)
.attitudeProvider(AttitudeProvider provider)
,
mu(double coefficient)
,
mass(double mass)
,
eci(Frame inertial)
,
ecef(Frame bodyFixed)
public SBASPropagatorBuilder attitudeProvider(AttitudeProvider userProvider)
userProvider
- the attitude providerpublic SBASPropagatorBuilder mu(double coefficient)
coefficient
- the Earth gravity coefficientpublic SBASPropagatorBuilder mass(double userMass)
userMass
- the mass (in kg)public SBASPropagatorBuilder eci(Frame inertial)
inertial
- the ECI framepublic SBASPropagatorBuilder ecef(Frame bodyFixed)
bodyFixed
- the ECEF framepublic SBASPropagator build()
Copyright © 2002-2022 CS GROUP. All rights reserved.