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