|
WSF
|
Functions | |
| WSF_EXPORT double | Intercept (const double aBodyLoc[3], double aBodySpd, const double aTgtLoc[3], const double aTgtVel[3], double aIntLoc[3], double aPredictAheadTime=0.0) |
Method(s) for performing intercept calculations.
| double WsfIntercept::Intercept | ( | const double | aBodyLoc[3], |
| double | aBodySpd, | ||
| const double | aTgtLoc[3], | ||
| const double | aTgtVel[3], | ||
| double | aIntLoc[3], | ||
| double | aPredictAheadTime = 0.0 ) |
A low level routine to calculate the intercept point and the time to intercept. This routine ignores the heading of the intercepting body and assumes it can turn instantly.
| aBodyLoc | The location of the body doing the intercepting. |
| aBodySpd | The speed of the body doing the intercepting. (assumed constant) |
| aTgtLoc | The 'target' location. |
| aTgtVel | The 'target' velocity vector. |
| aIntLoc | [output] The intercept location. |
| aPredictAheadTime | The predict ahead time to add/remove additional time to intercept. |
Referenced by WsfGuidanceComputer::ComputeInterceptData(), WsfSA_EntityPerception::EstimatedTimeToIntercept(), WsfSA_Group::EstimatedTimeToIntercept(), WsfQuantumEvaluatorInterceptTime::Evaluate(), WsfStraightLineMover::Update(), WsfSA_Processor::UpdateTrackData(), and UT_DEFINE_SCRIPT_METHOD().