public static class BeidouPropagator.Builder extends Object
It implements the classical builder pattern.
| Constructor and Description |
|---|
Builder(BeidouOrbitalElements bdsOrbElt)
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.
|
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.
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.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-2019 CS Systèmes d'information. All rights reserved.