50 lines
911 B
C++
Executable File
50 lines
911 B
C++
Executable File
/**
|
|
* @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
|
|
|