public static class SBASPropagator.Builder extends Object
It implements the classical builder pattern.
Constructor and Description |
---|
Builder(SBASOrbitalElements sbasOrbElt,
Frames frames)
Initializes the builder.
|
Modifier and Type | Method and Description |
---|---|
SBASPropagator.Builder |
attitudeProvider(AttitudeProvider userProvider)
Sets the attitude provider.
|
SBASPropagator |
build()
Finalizes the build.
|
SBASPropagator.Builder |
ecef(Frame bodyFixed)
Sets the Earth Centered Earth Fixed frame assimilated to the WGS84 ECEF.
|
SBASPropagator.Builder |
eci(Frame inertial)
Sets the Earth Centered Inertial frame used for propagation.
|
SBASPropagator.Builder |
mass(double userMass)
Sets the mass.
|
SBASPropagator.Builder |
mu(double coefficient)
Sets the Earth gravity coefficient.
|
public Builder(SBASOrbitalElements sbasOrbElt, Frames frames)
The SBAS orbital elements is the only requested parameter to build a SBASPropagator.
The attitude provider is set by default to the
DEFAULT_LAW
.
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 SBASPropagator.Builder attitudeProvider(AttitudeProvider userProvider)
userProvider
- the attitude providerpublic SBASPropagator.Builder mu(double coefficient)
coefficient
- the Earth gravity coefficientpublic SBASPropagator.Builder mass(double userMass)
userMass
- the mass (in kg)public SBASPropagator.Builder eci(Frame inertial)
inertial
- the ECI framepublic SBASPropagator.Builder ecef(Frame bodyFixed)
bodyFixed
- the ECEF framepublic SBASPropagator build()
Copyright © 2002-2020 CS Group. All rights reserved.