File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,15 @@ typedef unsigned long size_t;
21
21
typedef unsigned int size_t;
22
22
%End
23
23
24
+ /** \ingroup core
25
+ * A geometry is the spatial representation of a feature. Since QGIS 2.10, QgsGeometry acts as a generic container
26
+ * for geometry objects. QgsGeometry is implicitly shared, so making copies of geometries is inexpensive. The geometry
27
+ * container class can also be stored inside a QVariant object.
28
+ *
29
+ * The actual geometry representation is stored as a @link QgsAbstractGeometryV2 @endlink within the container, and
30
+ * can be accessed via the @link geometry @endlink method or set using the @link setGeometry @endlink method.
31
+ */
32
+
24
33
class QgsGeometry
25
34
{
26
35
%TypeHeaderCode
Original file line number Diff line number Diff line change @@ -64,7 +64,13 @@ class QgsConstWkbPtr;
64
64
struct QgsGeometryPrivate ;
65
65
66
66
/* * \ingroup core
67
- - * A geometry is the spatial representation of a feature. This class is deprecated. Please use QgsAbstractGeometryV2 directly for new code*/
67
+ * A geometry is the spatial representation of a feature. Since QGIS 2.10, QgsGeometry acts as a generic container
68
+ * for geometry objects. QgsGeometry is implicitly shared, so making copies of geometries is inexpensive. The geometry
69
+ * container class can also be stored inside a QVariant object.
70
+ *
71
+ * The actual geometry representation is stored as a @link QgsAbstractGeometryV2 @endlink within the container, and
72
+ * can be accessed via the @link geometry @endlink method or set using the @link setGeometry @endlink method.
73
+ */
68
74
69
75
class CORE_EXPORT QgsGeometry
70
76
{
You can’t perform that action at this time.
0 commit comments