File tree Expand file tree Collapse file tree 13 files changed +19
-19
lines changed Expand file tree Collapse file tree 13 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ class QgsAbstractGeometryV2
77
77
78
78
/** Clones the geometry by performing a deep copy
79
79
*/
80
- virtual QgsAbstractGeometryV2* clone() const = 0;
80
+ virtual QgsAbstractGeometryV2* clone() const = 0 /Factory/ ;
81
81
82
82
/** Clears the geometry, ie reset it to a null geometry
83
83
*/
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class QgsCircularStringV2: public QgsCurveV2
13
13
14
14
virtual QString geometryType() const;
15
15
virtual int dimension() const;
16
- virtual QgsCircularStringV2* clone() const;
16
+ virtual QgsCircularStringV2* clone() const /Factory/ ;
17
17
virtual void clear();
18
18
19
19
virtual bool fromWkb( QgsConstWkbPtr wkb );
@@ -57,7 +57,7 @@ class QgsCircularStringV2: public QgsCurveV2
57
57
/**
58
58
* @copydoc QgsCurveV2::curveToLine()
59
59
*/
60
- virtual QgsLineStringV2* curveToLine() const;
60
+ virtual QgsLineStringV2* curveToLine() const /Factory/ ;
61
61
62
62
void draw( QPainter& p ) const;
63
63
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class QgsCompoundCurveV2: public QgsCurveV2
15
15
16
16
virtual QString geometryType() const;
17
17
virtual int dimension() const;
18
- virtual QgsCompoundCurveV2* clone() const;
18
+ virtual QgsCompoundCurveV2* clone() const /Factory/ ;
19
19
virtual void clear();
20
20
21
21
virtual bool fromWkb( QgsConstWkbPtr wkb );
@@ -34,7 +34,7 @@ class QgsCompoundCurveV2: public QgsCurveV2
34
34
virtual QgsPointV2 endPoint() const;
35
35
virtual void points( QList<QgsPointV2>& pts ) const;
36
36
virtual int numPoints() const;
37
- virtual QgsLineStringV2* curveToLine() const;
37
+ virtual QgsLineStringV2* curveToLine() const /Factory/ ;
38
38
39
39
/** Returns the number of curves in the geometry.
40
40
*/
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class QgsCurvePolygonV2: public QgsSurfaceV2
12
12
13
13
virtual QString geometryType() const;
14
14
virtual int dimension() const;
15
- virtual QgsCurvePolygonV2* clone() const;
15
+ virtual QgsCurvePolygonV2* clone() const /Factory/ ;
16
16
void clear();
17
17
18
18
virtual bool fromWkb( QgsConstWkbPtr wkb );
@@ -28,7 +28,7 @@ class QgsCurvePolygonV2: public QgsSurfaceV2
28
28
//surface interface
29
29
virtual double area() const;
30
30
virtual double perimeter() const;
31
- QgsPolygonV2* surfaceToPolygon() const;
31
+ QgsPolygonV2* surfaceToPolygon() const /Factory/ ;
32
32
33
33
//curve polygon interface
34
34
int numInteriorRings() const;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class QgsCurveV2: public QgsAbstractGeometryV2
10
10
virtual bool operator==( const QgsCurveV2& other ) const = 0;
11
11
virtual bool operator!=( const QgsCurveV2& other ) const = 0;
12
12
13
- virtual QgsCurveV2* clone() const = 0;
13
+ virtual QgsCurveV2* clone() const = 0 /Factory/ ;
14
14
15
15
/** Returns the starting point of the curve.
16
16
* @see endPoint
@@ -33,7 +33,7 @@ class QgsCurveV2: public QgsAbstractGeometryV2
33
33
/** Returns a new line string geometry corresponding to a segmentized approximation
34
34
* of the curve.
35
35
*/
36
- virtual QgsLineStringV2* curveToLine() const = 0;
36
+ virtual QgsLineStringV2* curveToLine() const = 0 /Factory/ ;
37
37
38
38
/** Adds a curve to a painter path.
39
39
*/
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class QgsGeometryCollectionV2: public QgsAbstractGeometryV2
10
10
//QgsGeometryCollectionV2& operator=( const QgsGeometryCollectionV2& c );
11
11
virtual ~QgsGeometryCollectionV2();
12
12
13
- virtual QgsGeometryCollectionV2* clone() const;
13
+ virtual QgsGeometryCollectionV2* clone() const /Factory/ ;
14
14
15
15
/** Returns the number of geometries within the collection.
16
16
*/
@@ -85,7 +85,7 @@ class QgsGeometryCollectionV2: public QgsAbstractGeometryV2
85
85
bool hasCurvedSegments() const;
86
86
87
87
/** Returns a geometry without curves. Caller takes ownership*/
88
- QgsAbstractGeometryV2* segmentize() const;
88
+ QgsAbstractGeometryV2* segmentize() const /Factory/ ;
89
89
90
90
/** Returns approximate rotation angle for a vertex. Usually average angle between adjacent segments.
91
91
* @param vertex the vertex id
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class QgsMultiCurveV2: public QgsGeometryCollectionV2
6
6
7
7
public:
8
8
virtual QString geometryType() const;
9
- virtual QgsMultiCurveV2* clone() const;
9
+ virtual QgsMultiCurveV2* clone() const /Factory/ ;
10
10
11
11
bool fromWkt( const QString& wkt );
12
12
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class QgsMultiLineStringV2: public QgsMultiCurveV2
6
6
7
7
public:
8
8
virtual QString geometryType() const;
9
- virtual QgsMultiLineStringV2* clone() const;
9
+ virtual QgsMultiLineStringV2* clone() const /Factory/ ;
10
10
11
11
bool fromWkt( const QString& wkt );
12
12
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ class QgsMultiPointV2: public QgsGeometryCollectionV2
5
5
%End
6
6
public:
7
7
virtual QString geometryType() const;
8
- virtual QgsMultiPointV2* clone() const;
8
+ virtual QgsMultiPointV2* clone() const /Factory/ ;
9
9
10
10
bool fromWkt( const QString& wkt );
11
11
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ class QgsMultiPolygonV2: public QgsMultiSurfaceV2
5
5
%End
6
6
public:
7
7
virtual QString geometryType() const;
8
- virtual QgsMultiPolygonV2* clone() const;
8
+ virtual QgsMultiPolygonV2* clone() const /Factory/ ;
9
9
10
10
bool fromWkt( const QString& wkt );
11
11
You can’t perform that action at this time.
0 commit comments