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