InitialOrbitSolverSolve Method (Cartesian, Cartesian, Cartesian, JulianDate, JulianDate, JulianDate) |
Solves the initial orbit determination problem using the Herrick-Gibbs method for closely spaced positions.
Namespace:
AGI.Foundation.Propagators
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public Motion<Cartesian> Solve(
Cartesian position1,
Cartesian position2,
Cartesian position3,
JulianDate time1,
JulianDate time2,
JulianDate time3
)
Public Function Solve (
position1 As Cartesian,
position2 As Cartesian,
position3 As Cartesian,
time1 As JulianDate,
time2 As JulianDate,
time3 As JulianDate
) As Motion(Of Cartesian)
public:
Motion<Cartesian> Solve(
Cartesian position1,
Cartesian position2,
Cartesian position3,
JulianDate time1,
JulianDate time2,
JulianDate time3
)
member Solve :
position1 : Cartesian *
position2 : Cartesian *
position3 : Cartesian *
time1 : JulianDate *
time2 : JulianDate *
time3 : JulianDate -> Motion<Cartesian>
Parameters
- position1
- Type: AGI.Foundation.CoordinatesCartesian
The first position in the orbit. - position2
- Type: AGI.Foundation.CoordinatesCartesian
The second position in the orbit. - position3
- Type: AGI.Foundation.CoordinatesCartesian
The third position in the orbit. - time1
- Type: AGI.Foundation.TimeJulianDate
The time recorded when the first position position1 was measured. - time2
- Type: AGI.Foundation.TimeJulianDate
The time recorded when the second position position2 was measured. - time3
- Type: AGI.Foundation.TimeJulianDate
The time recorded when the third position position3 was measured.
Return Value
Type:
MotionCartesianThe motion for
position2, that determines the orbit.
Exceptions Exception | Condition |
---|
ArgumentException | Thrown if any of the input positions are Zero or Undefined. Also thrown if the times are not in strictly increasing order. |
See Also