public static class GPSPropagator.Builder extends Object
It implements the classical builder pattern.
| Constructor and Description |
|---|
Builder(GPSOrbitalElements gpsOrbElt)
Initializes the builder.
|
| Modifier and Type | Method and Description |
|---|---|
GPSPropagator.Builder |
attitudeProvider(AttitudeProvider userProvider)
Sets the attitude provider.
|
GPSPropagator |
build()
Finalizes the build.
|
GPSPropagator.Builder |
ecef(Frame bodyFixed)
Sets the Earth Centered Earth Fixed frame assimilated to the WGS84 ECEF.
|
GPSPropagator.Builder |
eci(Frame inertial)
Sets the Earth Centered Inertial frame used for propagation.
|
GPSPropagator.Builder |
mass(double userMass)
Sets the mass.
|
public Builder(GPSOrbitalElements gpsOrbElt) throws OrekitException
The GPS orbital elements is the only requested parameter to build a GPSPropagator.
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.
gpsOrbElt - the GPS orbital elements to be used by the GPSpropagator.OrekitException - if data embedded in the library cannot be readattitudeProvider(AttitudeProvider provider),
mass(double mass),
eci(Frame inertial),
ecef(Frame bodyFixed)public GPSPropagator.Builder attitudeProvider(AttitudeProvider userProvider)
userProvider - the attitude providerpublic GPSPropagator.Builder mass(double userMass)
userMass - the mass (in kg)public GPSPropagator.Builder eci(Frame inertial)
inertial - the ECI framepublic GPSPropagator.Builder ecef(Frame bodyFixed)
bodyFixed - the ECEF framepublic GPSPropagator build()
Copyright © 2002-2016 CS Systèmes d'information. All rights reserved.