WSF
Utilities.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI//REL TO USA ONLY
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2003-2015 The Boeing Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11// ****************************************************************************
12// Updated by Infoscitex, a DCS Company.
13// ****************************************************************************
14
15#ifndef UTILITIES_HPP
16#define UTILITIES_HPP
17
18class WsfPlatform;
19
20namespace engage
21{
22
24{
25public:
26 Utilities();
27
28 void SetLocationXYZ(WsfPlatform* aPlatformPtr, double aX, double aY, double aZ) const;
29
30 void SetSpeedAndOrientationXYZ(WsfPlatform* aPlatformPtr, double aSpeed, double aHeading, double aPitch, double aRoll) const;
31
32 bool ConvertXY_ToLL(double aX, double aY, double& aLat, double& aLon) const;
33
34 bool ConvertLL_ToXY(double aLat, double aLon, double& aX, double& aY) const;
35
36 void SetCenter(double aCenterLat, double aCenterLon);
37
38private:
39 double mCenterLat;
40 double mCenterLon;
41 double mRadius;
42};
43
44} // namespace engage
45
46#endif
Platforms represent a entity within the simulation.
Definition WsfPlatform.hpp:115
void SetCenter(double aCenterLat, double aCenterLon)
Definition Utilities.cpp:82
void SetSpeedAndOrientationXYZ(WsfPlatform *aPlatformPtr, double aSpeed, double aHeading, double aPitch, double aRoll) const
bool ConvertLL_ToXY(double aLat, double aLon, double &aX, double &aY) const
Definition Utilities.cpp:43
bool ConvertXY_ToLL(double aX, double aY, double &aLat, double &aLon) const
Definition Utilities.cpp:71
void SetLocationXYZ(WsfPlatform *aPlatformPtr, double aX, double aY, double aZ) const
Utilities()
Definition Utilities.cpp:37
Definition ApplicationExtension.cpp:26
Copyrights Multiple, All Rights Reserved