new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
47 lines
978 B
C++
Executable File
47 lines
978 B
C++
Executable File
/**
|
|
* @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 ¢er,
|
|
qreal radius,
|
|
int steps = 72); // 72 -> 5° Schritte
|
|
|
|
static QList<QPointF> createArcSegment(const QPointF ¢er, qreal radius,
|
|
double startAngle_degree,
|
|
double angleOffset_clockwise_degree,
|
|
int stepsPer360 = 72); // 72 -> 5° Schritte
|
|
|
|
static const int minNumberOfVerticesPerCircle = 10;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace SituationMap
|
|
|