File indexing completed on 2024-05-12 03:50:13

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2009 Patrick Spendrin <ps_ml@gmx.de>
0004 //
0005 
0006 #ifndef MARBLE_GEODATALINEARRINGPRIVATE_H
0007 #define MARBLE_GEODATALINEARRINGPRIVATE_H
0008 
0009 #include "GeoDataLineString_p.h"
0010 
0011 namespace Marble
0012 {
0013 
0014 class GeoDataLinearRingPrivate : public GeoDataLineStringPrivate
0015 {
0016   public:
0017     explicit GeoDataLinearRingPrivate( TessellationFlags f )
0018      : GeoDataLineStringPrivate( f )
0019     {
0020     }
0021 
0022     GeoDataLinearRingPrivate()
0023     {
0024     }
0025 
0026     GeoDataGeometryPrivate *copy() const override
0027     { 
0028         GeoDataLinearRingPrivate* copy = new GeoDataLinearRingPrivate;
0029         *copy = *this;
0030         return copy;
0031     }
0032 };
0033 
0034 } // namespace Marble
0035 
0036 #endif