|
WSF
|
An object to search for possible conjunctions between two spacecraft. More...
#include <WsfOrbitalConjunctionAssessment.hpp>
Classes | |
| struct | Options |
| Specifies the options to use when performing the analysis. More... | |
Public Types | |
| enum class | Status { cNO_CONJUNCTION = 0 , cCONJUNCTION_FOUND , cREACHED_FINAL_TIME } |
| This indicates if a conjunction has been found. More... | |
Public Member Functions | |
| WsfOrbitalConjunctionAssessment (WsfLocalTrack &aPrimary, double aPrimarySize, WsfLocalTrack &aSecondary, double aSecondarySize, const Options &aOptions, const UtOrbitalPropagatorBase *aPropPtr) | |
| Status | FindNext () |
| bool | ReachedFinalTime () const |
| Returns if the assessment has reached the end of the evaluation interval. | |
| WsfOrbitalConjunctionRecord | CurrentConjunction () const |
| Returns the current conjunction. | |
| double | DefaultVariance () const |
| Return the default variance set when this object was constructed. | |
| double | DefaultObjectRadius () const |
| Return the default object radius set when this object was constructed. | |
An object to search for possible conjunctions between two spacecraft.
|
strong |
| WsfOrbitalConjunctionAssessment::WsfOrbitalConjunctionAssessment | ( | WsfLocalTrack & | aPrimary, |
| double | aPrimarySize, | ||
| WsfLocalTrack & | aSecondary, | ||
| double | aSecondarySize, | ||
| const Options & | aOptions, | ||
| const UtOrbitalPropagatorBase * | aPropPtr ) |
References cREACHED_FINAL_TIME, and if().
| WsfOrbitalConjunctionRecord WsfOrbitalConjunctionAssessment::CurrentConjunction | ( | ) | const |
Returns the current conjunction.
References WsfOrbitalConjunctionRecord::mPrimary, and WsfOrbitalConjunctionRecord::mSecondary.
|
inline |
Return the default object radius set when this object was constructed.
|
inline |
Return the default variance set when this object was constructed.
| WsfOrbitalConjunctionAssessment::Status WsfOrbitalConjunctionAssessment::FindNext | ( | ) |
Find the next possible conjunction. This will search for the next conjunction for the two objects. After each call to the routine, the state of the assessment will advance to the next conjunction (if one is found) or the end of the interval if no further conjunctions are found. If the end of the interval is reached, this will return Status::cREACHED_FINAL_TIME. If a conjunction is found, this will return Status::cCONJUNCTION_FOUND. In the event a conjunction is found, CurrentConjunction() can be used to retrieve the encounter data.
References cCONJUNCTION_FOUND, cNO_CONJUNCTION, and cREACHED_FINAL_TIME.
|
inline |
Returns if the assessment has reached the end of the evaluation interval.
References cREACHED_FINAL_TIME.