Skip to content
Permalink
Browse files

Derive MultiLineString from MultiCurve and MultiPolygon from MultiSur…

…face
  • Loading branch information
mhugent committed Jun 23, 2015
1 parent d0a624d commit 0bbc11b3f8d3b616dc3f2e0493f2cd0251cf10c2
@@ -1,4 +1,4 @@
class QgsMultiLineStringV2: public QgsGeometryCollectionV2
class QgsMultiLineStringV2: public QgsMultiCurveV2
{
%TypeHeaderCode
#include <qgsmultilinestringv2.h>
@@ -1,4 +1,4 @@
class QgsMultiPolygonV2: public QgsGeometryCollectionV2
class QgsMultiPolygonV2: public QgsMultiSurfaceV2
{
%TypeHeaderCode
#include <qgsmultipolygonv2.h>
@@ -16,9 +16,9 @@ email : marco.hugentobler at sourcepole dot com
#ifndef QGSMULTILINESTRINGV2_H
#define QGSMULTILINESTRINGV2_H

#include "qgsgeometrycollectionv2.h"
#include "qgsmulticurvev2.h"

class CORE_EXPORT QgsMultiLineStringV2: public QgsGeometryCollectionV2
class CORE_EXPORT QgsMultiLineStringV2: public QgsMultiCurveV2
{
public:
virtual QString geometryType() const override { return "MultiLineString"; }
@@ -16,9 +16,9 @@ email : marco.hugentobler at sourcepole dot com
#ifndef QGSMULTIPOLYGONV2_H
#define QGSMULTIPOLYGONV2_H

#include "qgsgeometrycollectionv2.h"
#include "qgsmultisurfacev2.h"

class CORE_EXPORT QgsMultiPolygonV2: public QgsGeometryCollectionV2
class CORE_EXPORT QgsMultiPolygonV2: public QgsMultiSurfaceV2
{
public:
virtual QString geometryType() const override { return "MultiPolygon"; }

0 comments on commit 0bbc11b

Please sign in to comment.
You can’t perform that action at this time.