WSF
WsfBallisticMissileLaunchComputer::BallisticModel Class Reference

#include <WsfBallisticMissileLaunchComputer.hpp>

Inheritance diagram for WsfBallisticMissileLaunchComputer::BallisticModel:
Collaboration diagram for WsfBallisticMissileLaunchComputer::BallisticModel:

Public Member Functions

 BallisticModel ()=delete
 BallisticModel (WsfBallisticMissileLaunchComputer *aParentPtr, double aSimTime, WsfStringId aModelTypeId, const double aLocationWCS[3], const double aVelocityWCS[3], double aIntegrationInterval, WsfDraw *aDrawPtr=nullptr)
 ~BallisticModel () override
bool GetLocationXYZ (double aTime, double aLocXYZ[3]) const override
bool GetVelocityXYZ (double aTime, double aVelXYZ[3]) const override
Public Member Functions inherited from WsfMover::KinematicModel
 KinematicModel ()=delete
 KinematicModel (const KinematicModel &aSrc)=default
virtual ~KinematicModel ()
double GetApogeeTime () const
double GetTimeAtLocation () const
double GetStartTime () const

Additional Inherited Members

Static Public Member Functions inherited from WsfMover::KinematicModel
static void GetRangeAndAltitude (const double aOriginLocXYZ[3], const double aModelLocXYZ[3], double &aRange, double &aAltitude)
Protected Member Functions inherited from WsfMover::KinematicModel
 KinematicModel (double aSimTime, WsfStringId aModelTypeId)
Protected Attributes inherited from WsfMover::KinematicModel
double mStartTime
double mApogeeTime
double mTimeAtLocation
WsfStringId mModelTypeId

Detailed Description

A class encapsulating a simple kinematic model of the ballistic target. It is used to predict ahead in order to compute an intercept point or time.

Constructor & Destructor Documentation

◆ BallisticModel() [1/2]

WsfBallisticMissileLaunchComputer::BallisticModel::BallisticModel ( )
delete

◆ BallisticModel() [2/2]

◆ ~BallisticModel()

WsfBallisticMissileLaunchComputer::BallisticModel::~BallisticModel ( )
override

Member Function Documentation

◆ GetLocationXYZ()

bool WsfBallisticMissileLaunchComputer::BallisticModel::GetLocationXYZ ( double aTime,
double aLocXYZ[3] ) const
overridevirtual

Return the SPHERICAL WCS location of the model at the specified time.

Parameters
aTimeThe time for which the model position is to be returned.
aLocXYZThe spherical WCS location of the model at 'aSimTime'.
Returns
true if valid data was returned or false if no data exists for the specified time.

Implements WsfMover::KinematicModel.

References WsfMover::KinematicModel::mStartTime, and ok.

Referenced by BallisticModel().

◆ GetVelocityXYZ()

bool WsfBallisticMissileLaunchComputer::BallisticModel::GetVelocityXYZ ( double aTime,
double aVelXYZ[3] ) const
overridevirtual

Return the SPHERICAL WCS velocity of the model at the specified time.

Parameters
aTimeThe time for which the model velocity is to be returned.
aVelXYZThe spherical WCS velocity of the model at 'aSimTime'.
Returns
true if valid data was returned or false if no data exists for the specified time.
Note
This routine does not need to be particularly fast or accurate.

Implements WsfMover::KinematicModel.

References WsfMover::KinematicModel::mStartTime, and ok.

Referenced by BallisticModel().


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved