public static class IRNSSPropagator.Builder extends Object
It implements the classical builder pattern.
Constructor and Description |
---|
Builder(IRNSSOrbitalElements irnssOrbElt,
Frames frames)
Initializes the builder.
|
Modifier and Type | Method and Description |
---|---|
IRNSSPropagator.Builder |
attitudeProvider(AttitudeProvider userProvider)
Sets the attitude provider.
|
IRNSSPropagator |
build()
Finalizes the build.
|
IRNSSPropagator.Builder |
ecef(Frame bodyFixed)
Sets the Earth Centered Earth Fixed frame assimilated to the WGS84 ECEF.
|
IRNSSPropagator.Builder |
eci(Frame inertial)
Sets the Earth Centered Inertial frame used for propagation.
|
IRNSSPropagator.Builder |
mass(double userMass)
Sets the mass.
|
public Builder(IRNSSOrbitalElements irnssOrbElt, Frames frames)
The IRNSS orbital elements is the only requested parameter to build a IRNSSPropagator.
The attitude provider is set by default to be aligned with the J2000 frame.
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
.
irnssOrbElt
- the IRNSS orbital elements to be used by the IRNSSpropagator.frames
- set of reference frames to use to initialize ecef(Frame)
, eci(Frame)
, and attitudeProvider(AttitudeProvider)
.attitudeProvider(AttitudeProvider provider)
,
mass(double mass)
,
eci(Frame inertial)
,
ecef(Frame bodyFixed)
public IRNSSPropagator.Builder attitudeProvider(AttitudeProvider userProvider)
userProvider
- the attitude providerpublic IRNSSPropagator.Builder mass(double userMass)
userMass
- the mass (in kg)public IRNSSPropagator.Builder eci(Frame inertial)
inertial
- the ECI framepublic IRNSSPropagator.Builder ecef(Frame bodyFixed)
bodyFixed
- the ECEF framepublic IRNSSPropagator build()
Copyright © 2002-2020 CS Group. All rights reserved.