mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 18:35:35 +08:00
Initial structure for refactoring, some conversions still missing. Especially required further test cases.
This commit is contained in:
44
src/blackmisc/coordinatetransformation.h
Normal file
44
src/blackmisc/coordinatetransformation.h
Normal file
@@ -0,0 +1,44 @@
|
||||
/* Copyright (C) 2013 VATSIM Community / authors
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#ifndef BLACKMISC_COORDINATETRANSFORMATION_H
|
||||
#define BLACKMISC_COORDINATETRANSFORMATION_H
|
||||
|
||||
#include "blackmisc/coordinateecef.h"
|
||||
#include "blackmisc/coordinatened.h"
|
||||
#include "blackmisc/coordinategeodetic.h"
|
||||
#include "blackmisc/mathmatrix3x3.h"
|
||||
#include "blackmisc/mathematics.h"
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Geo
|
||||
{
|
||||
|
||||
/*!
|
||||
* \brief Coordinate transformation class between different systems
|
||||
*/
|
||||
class CCoordinateTransformation
|
||||
{
|
||||
private:
|
||||
/*!
|
||||
* \brief Default constructor, avoid object instantiation
|
||||
*/
|
||||
CCoordinateTransformation() {}
|
||||
|
||||
public:
|
||||
/*!
|
||||
* \brief NED to ECEF
|
||||
* \param ned
|
||||
* \return
|
||||
*/
|
||||
static CCoordinateEcef toEcef(const CCoordinateNed &ned);
|
||||
|
||||
};
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
#endif // guard
|
||||
Reference in New Issue
Block a user