J2Propagator Constructor (JulianDate, ReferenceFrame, MotionCartesian, Double, Double, Double) |
Initializes a new instance.
Namespace:
AGI.Foundation.Propagators
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public J2Propagator(
JulianDate orbitEpoch,
ReferenceFrame referenceFrame,
Motion<Cartesian> initialConditions,
double gravitationalParameter,
double j2UnnormalizedValue,
double referenceDistance
)
Public Sub New (
orbitEpoch As JulianDate,
referenceFrame As ReferenceFrame,
initialConditions As Motion(Of Cartesian),
gravitationalParameter As Double,
j2UnnormalizedValue As Double,
referenceDistance As Double
)
public:
J2Propagator(
JulianDate orbitEpoch,
ReferenceFrame^ referenceFrame,
Motion<Cartesian> initialConditions,
double gravitationalParameter,
double j2UnnormalizedValue,
double referenceDistance
)
new :
orbitEpoch : JulianDate *
referenceFrame : ReferenceFrame *
initialConditions : Motion<Cartesian> *
gravitationalParameter : float *
j2UnnormalizedValue : float *
referenceDistance : float -> J2Propagator
Parameters
- orbitEpoch
- Type: AGI.Foundation.TimeJulianDate
The Julian date at which the initial conditions are defined. - referenceFrame
- Type: AGI.Foundation.GeometryReferenceFrame
The reference frame in which the initialConditions are defined.
Generally this should be the InertialFrame of the central body
around which you are propagating. See the Remarks section for more information.
- initialConditions
- Type: AGI.FoundationMotionCartesian
The orbital elements from which to propagate. - gravitationalParameter
- Type: SystemDouble
The gravitational parameter used to propagate. - j2UnnormalizedValue
- Type: SystemDouble
The non-normalized J2 zonal harmonic coefficient of the central body around which to propagate. - referenceDistance
- Type: SystemDouble
The reference distance (equatorial radius) associated with the J2 and J4 coefficients.
Exceptions Exception | Condition |
---|
ArgumentNullException |
Thrown if referenceFrame is .
|
ArgumentException |
Thrown if the initialConditions
represent an open orbit (i.e. if the velocity is sufficient to escape the central body).
|
Remarks See Also