File tree Expand file tree Collapse file tree 3 files changed +0
-27
lines changed Expand file tree Collapse file tree 3 files changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,6 @@ class QgsAbstractGeometry
130
130
:rtype: bool
131
131
%End
132
132
133
-
134
133
virtual QgsAbstractGeometry *boundary() const = 0 /Factory/;
135
134
%Docstring
136
135
Returns the closure of the combinatorial boundary of the geometry (ie the topological boundary of the geometry).
@@ -237,7 +236,6 @@ class QgsAbstractGeometry
237
236
\param t QTransform transformation
238
237
%End
239
238
240
-
241
239
virtual void draw( QPainter &p ) const = 0;
242
240
%Docstring
243
241
Draws the geometry using the specified QPainter.
Original file line number Diff line number Diff line change @@ -52,16 +52,6 @@ bool QgsAbstractGeometry::isMeasure() const
52
52
return QgsWkbTypes::hasM ( mWkbType );
53
53
}
54
54
55
- #if 0
56
- void QgsAbstractGeometry::clip( const QgsRectangle &rect )
57
- {
58
- // TODO
59
- // - Implementation
60
- // - API doc in header
61
-
62
- // Don't insert Q_UNUSED, so we have a warning that reminds us of this TODO
63
- }
64
- #endif
65
55
66
56
void QgsAbstractGeometry::setZMTypeFromSubGeometry ( const QgsAbstractGeometry *subgeom, QgsWkbTypes::Type baseGeomType )
67
57
{
Original file line number Diff line number Diff line change @@ -115,7 +115,6 @@ class CORE_EXPORT QgsAbstractGeometry
115
115
* 1 for a linestring and 2 for a polygon.
116
116
*/
117
117
virtual int dimension () const = 0;
118
- // virtual int coordDim() const { return mCoordDimension; }
119
118
120
119
/* * Returns a unique string representing the geometry type.
121
120
* \see wkbType
@@ -145,16 +144,6 @@ class CORE_EXPORT QgsAbstractGeometry
145
144
*/
146
145
bool isMeasure () const ;
147
146
148
- #if 0
149
- virtual bool transform( const QgsCoordinateTransform &ct ) = 0;
150
- virtual bool isEmpty() const = 0;
151
- virtual bool isSimple() const = 0;
152
- virtual bool isValid() const = 0;
153
- virtual QgsMultiPointV2 *locateAlong() const = 0;
154
- virtual QgsMultiCurve *locateBetween() const = 0;
155
- virtual QgsRectangle envelope() const = 0;
156
- #endif
157
-
158
147
/* * Returns the closure of the combinatorial boundary of the geometry (ie the topological boundary of the geometry).
159
148
* For instance, a polygon geometry will have a boundary consisting of the linestrings for each ring in the polygon.
160
149
* \returns boundary for geometry. May be null for some geometry types.
@@ -246,10 +235,6 @@ class CORE_EXPORT QgsAbstractGeometry
246
235
*/
247
236
virtual void transform ( const QTransform &t ) = 0;
248
237
249
- #if 0
250
- virtual void clip( const QgsRectangle &rect ); //todo
251
- #endif
252
-
253
238
/* * Draws the geometry using the specified QPainter.
254
239
* \param p destination QPainter
255
240
*/
You can’t perform that action at this time.
0 commit comments