WSF
WsfSAM_LaunchComputer::InterceptEnvelope Class Reference

#include <WsfSAM_LaunchComputer.hpp>

Classes

struct  AltSet

Public Member Functions

 InterceptEnvelope ()
void Resize (const std::vector< double > &aOffsets, const std::vector< double > &aAltitudes, const std::vector< double > &aRanges, const std::vector< double > &aSpeeds)
bool Initialize (bool aIgnoreTOFs)
void ProcessInterceptEnvBlock (UtInputBlock &aInputBlock)
bool ProcessInput (UtInput &aInput)
bool AssumeLateralSymmetry () const
bool ResolveDeprecatedInput ()
void ResizeTOFsAndSetDefaults ()
unsigned int CountValidTOFs ()
void SetTOF_Value (unsigned int aOffsetIndex, unsigned int aAltitudeIndex, unsigned int aRangeIndex, unsigned int aSpeedIndex, double aTOF_Value)
size_t NumOffsets () const
size_t NumAltitudes () const
size_t NumRanges () const
size_t NumSpeeds () const
double Offset (unsigned int aIndex) const
double Altitude (unsigned int aIndex) const
double GroundRange (unsigned int aIndex) const
double Speed (unsigned int aIndex) const
bool ReadRngAndTOF (UtInput &aInput, double &aRange, double &aTOF)
double TimeOfFlight (unsigned int aOffsetIndex, unsigned int aAltitudeIndex, unsigned int aRangeIndex, unsigned int aSpeedIndex) const

Public Attributes

bool mLaterallySymmetric
TblIndVarU< double > mOffsets
TblIndVarU< double > mAltitudes
TblIndVarU< double > mRanges
TblIndVarU< double > mSpeeds
TblDepVar4< double > mTOFs
std::vector< AltSetmObsoleteInput

Constructor & Destructor Documentation

◆ InterceptEnvelope()

WsfSAM_LaunchComputer::InterceptEnvelope::InterceptEnvelope ( )

Member Function Documentation

◆ Altitude()

double WsfSAM_LaunchComputer::InterceptEnvelope::Altitude ( unsigned int aIndex) const
inline

◆ AssumeLateralSymmetry()

bool WsfSAM_LaunchComputer::InterceptEnvelope::AssumeLateralSymmetry ( ) const
inline

References mLaterallySymmetric.

◆ CountValidTOFs()

unsigned int WsfSAM_LaunchComputer::InterceptEnvelope::CountValidTOFs ( )

References mAltitudes, mOffsets, mRanges, mSpeeds, and mTOFs.

◆ GroundRange()

double WsfSAM_LaunchComputer::InterceptEnvelope::GroundRange ( unsigned int aIndex) const
inline

◆ Initialize()

bool WsfSAM_LaunchComputer::InterceptEnvelope::Initialize ( bool aIgnoreTOFs)

Initialize the intercept envelope, and assure that the data it contains is valid.

Parameters
aIgnoreTOFs[input] Do not evaluate the Times of Flight for Correctness, as they are not set yet.
Returns
Returns true if the initialization was successful.

References mAltitudes, mObsoleteInput, mOffsets, mRanges, mSpeeds, ResolveDeprecatedInput(), and success.

Referenced by WsfSAM_LaunchComputer::ValidateEnvelope().

◆ NumAltitudes()

size_t WsfSAM_LaunchComputer::InterceptEnvelope::NumAltitudes ( ) const
inline

◆ NumOffsets()

size_t WsfSAM_LaunchComputer::InterceptEnvelope::NumOffsets ( ) const
inline

◆ NumRanges()

size_t WsfSAM_LaunchComputer::InterceptEnvelope::NumRanges ( ) const
inline

◆ NumSpeeds()

size_t WsfSAM_LaunchComputer::InterceptEnvelope::NumSpeeds ( ) const
inline

◆ Offset()

double WsfSAM_LaunchComputer::InterceptEnvelope::Offset ( unsigned int aIndex) const
inline

◆ ProcessInput()

◆ ProcessInterceptEnvBlock()

void WsfSAM_LaunchComputer::InterceptEnvelope::ProcessInterceptEnvBlock ( UtInputBlock & aInputBlock)

◆ ReadRngAndTOF()

bool WsfSAM_LaunchComputer::InterceptEnvelope::ReadRngAndTOF ( UtInput & aInput,
double & aRange,
double & aTOF )

Referenced by ProcessInput().

◆ Resize()

void WsfSAM_LaunchComputer::InterceptEnvelope::Resize ( const std::vector< double > & aOffsets,
const std::vector< double > & aAltitudes,
const std::vector< double > & aRanges,
const std::vector< double > & aSpeeds )

Accept an array of offsets, altitudes, and ranges, and set the independent variables to the array contents. This method is used only during launch computer generation, as it does not set the corresponding times-of-flight, which will be calculated later.

Parameters
aOffsets[input] The desired array of lateral offsets. Should be in ascending order.
aAltitudes[input] The desired array of altitudes. Should be in ascending order.
aRanges[input] The desired array of target ranges. Should be in ascending order.
aSpeeds[input] The desired array of target speeds. Should be in ascending order.
Returns
Returns true if the initialization was successful.

References mAltitudes, mOffsets, mRanges, mSpeeds, and ResizeTOFsAndSetDefaults().

Referenced by WsfSAM_LaunchComputer::ProcessInput().

◆ ResizeTOFsAndSetDefaults()

void WsfSAM_LaunchComputer::InterceptEnvelope::ResizeTOFsAndSetDefaults ( )

References mAltitudes, mOffsets, mRanges, mSpeeds, and mTOFs.

Referenced by Resize(), and ResolveDeprecatedInput().

◆ ResolveDeprecatedInput()

bool WsfSAM_LaunchComputer::InterceptEnvelope::ResolveDeprecatedInput ( )

◆ SetTOF_Value()

void WsfSAM_LaunchComputer::InterceptEnvelope::SetTOF_Value ( unsigned int aOffsetIndex,
unsigned int aAltitudeIndex,
unsigned int aRangeIndex,
unsigned int aSpeedIndex,
double aTOF_Value )

References mTOFs.

Referenced by ProcessInput().

◆ Speed()

double WsfSAM_LaunchComputer::InterceptEnvelope::Speed ( unsigned int aIndex) const
inline

◆ TimeOfFlight()

double WsfSAM_LaunchComputer::InterceptEnvelope::TimeOfFlight ( unsigned int aOffsetIndex,
unsigned int aAltitudeIndex,
unsigned int aRangeIndex,
unsigned int aSpeedIndex ) const
inline

Member Data Documentation

◆ mAltitudes

◆ mLaterallySymmetric

bool WsfSAM_LaunchComputer::InterceptEnvelope::mLaterallySymmetric

◆ mObsoleteInput

std::vector<AltSet> WsfSAM_LaunchComputer::InterceptEnvelope::mObsoleteInput

◆ mOffsets

TblIndVarU<double> WsfSAM_LaunchComputer::InterceptEnvelope::mOffsets

◆ mRanges

◆ mSpeeds

TblIndVarU<double> WsfSAM_LaunchComputer::InterceptEnvelope::mSpeeds

◆ mTOFs

TblDepVar4<double> WsfSAM_LaunchComputer::InterceptEnvelope::mTOFs

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