File tree 5 files changed +1
-9
lines changed
5 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ class QgsCurvePolygonV2: public QgsSurfaceV2
30
30
//surface interface
31
31
virtual double area() const;
32
32
virtual double perimeter() const;
33
- QgsPointV2 pointOnSurface() const;
34
33
QgsPolygonV2* surfaceToPolygon() const;
35
34
36
35
//curve polygon interface
Original file line number Diff line number Diff line change @@ -5,6 +5,5 @@ class QgsSurfaceV2: public QgsAbstractGeometryV2
5
5
%End
6
6
7
7
public:
8
- virtual QgsPointV2 pointOnSurface() const = 0;
9
8
virtual QgsPolygonV2* surfaceToPolygon() const = 0;
10
9
};
Original file line number Diff line number Diff line change @@ -399,11 +399,6 @@ double QgsCurvePolygonV2::perimeter() const
399
399
return perimeter;
400
400
}
401
401
402
- QgsPointV2 QgsCurvePolygonV2::pointOnSurface () const
403
- {
404
- return QgsPointV2 ( 0 , 0 );
405
- }
406
-
407
402
QgsPolygonV2* QgsCurvePolygonV2::surfaceToPolygon () const
408
403
{
409
404
QgsPolygonV2* polygon = new QgsPolygonV2 ();
Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ class CORE_EXPORT QgsCurvePolygonV2: public QgsSurfaceV2
56
56
// surface interface
57
57
virtual double area () const override ;
58
58
virtual double perimeter () const override ;
59
- QgsPointV2 pointOnSurface () const override ;
60
59
QgsPolygonV2* surfaceToPolygon () const override ;
61
60
62
61
// curve polygon interface
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class QgsPolygonV2;
26
26
class CORE_EXPORT QgsSurfaceV2: public QgsAbstractGeometryV2
27
27
{
28
28
public:
29
- virtual QgsPointV2 pointOnSurface () const = 0;
29
+
30
30
virtual QgsPolygonV2* surfaceToPolygon () const = 0;
31
31
};
32
32
You can’t perform that action at this time.
0 commit comments