blacklib folder reorganisation

This commit is contained in:
Roland Winklmeier
2013-03-11 20:41:29 +01:00
parent a0a7049785
commit 4e219f14a8
118 changed files with 8297 additions and 5 deletions

42
src/blackcore/ecef.h Normal file
View File

@@ -0,0 +1,42 @@
//! Copyright (C) 2013 Roland Winklmeier
//! 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 ECEF_H
#define ECEF_H
#include "vector_3d.h"
namespace BlackCore
{
class CNed;
class CVectorGeo;
class CEcef : public CVector3D
{
public:
CEcef();
CEcef(double X, double Y, double Z);
//! Converts this velocity vector into the NED format
/*!
\param pos This position is needed for correct calculation
\return velocity in NED coordinate system
*/
CNed toNED(const CVectorGeo &pos);
//! Converts this position vector into the geodetic format
/*!
\return Position in latitude, longitude and altitude
*/
CVectorGeo toGeodetic();
//! Assignment operator
void operator= (const CVector3D &rhs);
};
} // namespace BlackCore
#endif // ECEF_H