Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+48
View File
@@ -0,0 +1,48 @@
/**
* @RDE_HEADER@
* ViewshedParameter
* $Id$
* $HeadURL$
* $Author$
*/
// Own
#include "viewshed_parameter.h"
#include "situation_map_utils.h"
//Qt
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <sstream>
//----------------------------------------------------------------------------
namespace SituationMap
{
QString ViewshedParameter::toString() const
{
std::ostringstream stream;
stream << " viewshedOrigin_latLon = " << viewshedOrigin_latLon;
stream << "; innerRadius = " << innerRadius;
stream << "; outerRadius = " << outerRadius;
stream << "; observerOffset = " << observerHeight;
stream << "; targetOffset = " << targetHeight;
stream << "; startArngle = " << startAngle;
stream << "; dAngle = " << dAngle;
stream << "; noBeams = " << noBeams;
stream << "; alpha = " << alpha;
return QString::fromLatin1(stream.str().c_str());
}
std::ostream &operator<< (std::ostream &stream,
const SituationMap::ViewshedParameter &value)
{
return stream << value.toString();
}
} // namespace SituationMap