Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+49
@@ -0,0 +1,49 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* TerrainProfileParameter
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
// Own
|
||||
#include "situation_map_types.h"
|
||||
#include <situation_map_export.h>
|
||||
|
||||
|
||||
// Qt
|
||||
#include <QString>
|
||||
#include <QPointF>
|
||||
|
||||
class QJsonObject;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
namespace SituationMap
|
||||
{
|
||||
|
||||
/*!
|
||||
* \brief Define parameter for TerrainProfile.
|
||||
*/
|
||||
class TerrainProfileParameter
|
||||
{
|
||||
public:
|
||||
explicit TerrainProfileParameter() = default;
|
||||
|
||||
PositionCont m_coordinates;
|
||||
|
||||
double m_length = 0.0;
|
||||
|
||||
QString toString() const;
|
||||
|
||||
// static MapWidgetSettings read(const QJsonObject &json);
|
||||
// QJsonObject toJsonObject() const;
|
||||
};
|
||||
|
||||
|
||||
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
||||
const SituationMap::TerrainProfileParameter &value);
|
||||
|
||||
} // namespace SituationMap
|
||||
|
||||
Reference in new issue
Block a user