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

+46
View File
@@ -0,0 +1,46 @@
/**
* @RDE_HEADER@
* Class Geometry
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
// Own
#include "situation_map_export.h"
// Qt
#include <QPointF>
#include <QList>
//----------------------------------------------------------------------------
namespace SituationMap
{
class SITUATIONMAP_EXPORT Geometry final
{
public:
Geometry() = default;
~Geometry() = default;
static QList<QPointF> createCircle(const QPointF &center,
qreal radius,
int steps = 72); // 72 -> 5° Schritte
static QList<QPointF> createArcSegment(const QPointF &center, qreal radius,
double startAngle_degree,
double angleOffset_clockwise_degree,
int stepsPer360 = 72); // 72 -> 5° Schritte
static const int minNumberOfVerticesPerCircle = 10;
};
} // namespace SituationMap