public static class GalileoPropagator.Builder extends Object
It implements the classical builder pattern.
Constructor and Description |
---|
Builder(GalileoOrbitalElements galileoOrbElt)
Initializes the builder.
|
Builder(GalileoOrbitalElements galileoOrbElt,
Frames frames)
Initializes the builder.
|
Modifier and Type | Method and Description |
---|---|
GalileoPropagator.Builder |
attitudeProvider(AttitudeProvider userProvider)
Sets the attitude provider.
|
GalileoPropagator |
build()
Finalizes the build.
|
GalileoPropagator.Builder |
ecef(Frame bodyFixed)
Sets the Earth Centered Earth Fixed frame.
|
GalileoPropagator.Builder |
eci(Frame inertial)
Sets the Earth Centered Inertial frame used for propagation.
|
GalileoPropagator.Builder |
mass(double userMass)
Sets the mass.
|
@DefaultDataContext public Builder(GalileoOrbitalElements galileoOrbElt)
The Galileo orbital elements is the only requested parameter to build a GalileoPropagator.
The attitude provider is set by default to the
DEFAULT_LAW
in the
default data context.
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 GalileoOrbitalElements gpsOrbElt, final Frames frames)
galileoOrbElt
- the Galileo orbital elements to be used by the Galileo propagator.attitudeProvider(AttitudeProvider provider)
,
mass(double mass)
,
eci(Frame inertial)
,
ecef(Frame bodyFixed)
public Builder(GalileoOrbitalElements galileoOrbElt, Frames frames)
The Galileo orbital elements is the only requested parameter to build a GalileoPropagator.
The attitude provider is set by default to the
DEFAULT_LAW
.
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
.
galileoOrbElt
- the Galileo orbital elements to be used by the Galileo propagator.frames
- to use building the propagator.attitudeProvider(AttitudeProvider provider)
,
mass(double mass)
,
eci(Frame inertial)
,
ecef(Frame bodyFixed)
public GalileoPropagator.Builder attitudeProvider(AttitudeProvider userProvider)
userProvider
- the attitude providerpublic GalileoPropagator.Builder mass(double userMass)
userMass
- the mass (in kg)public GalileoPropagator.Builder eci(Frame inertial)
inertial
- the ECI framepublic GalileoPropagator.Builder ecef(Frame bodyFixed)
bodyFixed
- the ECEF framepublic GalileoPropagator build()
Copyright © 2002-2020 CS Group. All rights reserved.