WSF
WsfEquatorialFieldOfView.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// The use, dissemination or disclosure of data in this file is subject to
7// limitation or restriction. See accompanying README and LICENSE for details.
8// ****************************************************************************
9
10#ifndef EQUATORIALFIELDOFVIEW_HPP
11#define EQUATORIALFIELDOFVIEW_HPP
12
13#include "wsf_export.h"
14
15#include "UtInput.hpp"
16#include "UtMath.hpp"
17#include "WsfFieldOfView.hpp"
18
22{
23public:
25
26 bool operator==(const WsfEquatorialFieldOfView& aRhs) const;
27 bool operator!=(const WsfEquatorialFieldOfView& aRhs) const;
28
29 bool ProcessInput(UtInput& aInput) override;
30 const char* GetScriptClassName() const override { return "WsfEquatorialFieldOfView"; }
31
32 WsfFieldOfView* Clone() const override { return new WsfEquatorialFieldOfView(*this); }
33
34 bool GetCuedAzElPlatformLat(double& aCuedAz, double& aCuedEl, double& aPlatformLatDeg) const;
35
36 void GetEquatorialFieldOfView(double& aMinEqFOV, double& aMaxEqFOV) const;
37
38 void GetPolarFieldOfView(double& aMinPolarFOV, double& aMaxPolarFOV) const;
39
40 void SetEquatorialFieldOfView(double aMinEqFOV, double aMaxEqFOV);
41
42 void SetPolarFieldOfView(double aMinPolarFOV, double aMaxPolarFOV);
43
44 bool WithinFieldOfView(double aThisToTgtAz, double aThisToTgtEl) override;
45
46 bool WithinFieldOfView(double aThisToTgtAz, double aThisToTgtEl, double aCuedAz, double aCuedEl, double aLatitude) const;
47
48private:
49 double mMinEqFOV{-UtMath::cPI}; // radians
50 double mMaxEqFOV{UtMath::cPI}; // radians
51 double mMinPolarFOV{-UtMath::cPI_OVER_2}; // radians
52 double mMaxPolarFOV{UtMath::cPI_OVER_2}; // radians
53};
54#endif
bool operator!=(int aId, const WsfStringInt &aRhs)
Not equal relational operator for the case of an integer on the LHS and a StringId on the RHS.
Definition WsfStringId.hpp:75
bool operator==(int aId, const WsfStringInt &aRhs)
Equal relational operator for the case of an integer on the LHS and a StringId on the RHS.
Definition WsfStringId.hpp:69
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
const char * GetScriptClassName() const override
Definition WsfEquatorialFieldOfView.hpp:30
WsfFieldOfView * Clone() const override
Definition WsfEquatorialFieldOfView.hpp:32
WsfEquatorialFieldOfView()
Definition WsfEquatorialFieldOfView.cpp:23
Definition WsfFieldOfView.hpp:36
virtual bool WithinFieldOfView(double aThisToTgtAz, double aThisToTgtEl)=0
virtual bool ProcessInput(UtInput &aInput)
Definition WsfFieldOfView.cpp:29
Copyrights Multiple, All Rights Reserved