/** * @RDE_HEADER@ * ViewshedParameter * $Id$ * $HeadURL$ * $Author$ */ // Own #include "viewshed_parameter.h" #include "situation_map_utils.h" //Qt #include #include #include #include //---------------------------------------------------------------------------- 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