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

+44
View File
@@ -0,0 +1,44 @@
/**
* @RDE_HEADER@
* Interface of DangerArea
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
#include "abstract_multi_point_map_object.h"
//----------------------------------------------------------------------------
namespace SituationMap
{
/**
* @brief The Cube class supports staked cubes displaying the building ownership for example.
* The cubes can have more than 3 positions.
* But be aware that there is no 'roof' yes.
*/
class Cube : public virtual AbstractMultiPointMapObject
{
using BaseClass = AbstractMultiPointMapObject;
public:
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Don't use "= default" because of bug in VS2015 JT 2016/11/7
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
Cube() : BaseClass() {;} ///< Contructor
virtual ~Cube() = default; ///< Destructor
virtual double height() const = 0;
virtual void setHeight(double height) = 0;
};
} // namespace SituationMap