Skip to content

Commit

Permalink
Update version added strings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 29, 2018
1 parent 5484bb3 commit 054a8a0
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
Expand Up @@ -641,7 +641,7 @@ can safely be used to modify parts of the geometry.

.. seealso:: :py:func:`vertices`

.. versionadded:: 3.6
.. versionadded:: 3.4.3
%End


Expand Down Expand Up @@ -831,7 +831,7 @@ class QgsGeometryPartIterator
%Docstring
Java-style iterator for traversal of parts of a geometry

.. versionadded:: 3.6
.. versionadded:: 3.4.3
%End

%TypeHeaderCode
Expand Down Expand Up @@ -879,7 +879,7 @@ class QgsGeometryConstPartIterator
%Docstring
Java-style iterator for const traversal of parts of a geometry

.. versionadded:: 3.6
.. versionadded:: 3.4.3
%End

%TypeHeaderCode
Expand Down
4 changes: 2 additions & 2 deletions python/core/auto_generated/geometry/qgsgeometry.sip.in
Expand Up @@ -415,7 +415,7 @@ if the parts are not going to be modified.

.. seealso:: :py:func:`vertices`

.. versionadded:: 3.6
.. versionadded:: 3.4.3
%End

QgsGeometryConstPartIterator constParts() const;
Expand Down Expand Up @@ -449,7 +449,7 @@ iteration only is required.

.. seealso:: :py:func:`vertices`

.. versionadded:: 3.6
.. versionadded:: 3.4.3
%End

double hausdorffDistance( const QgsGeometry &geom ) const;
Expand Down
20 changes: 10 additions & 10 deletions src/core/geometry/qgsabstractgeometry.h
Expand Up @@ -609,7 +609,7 @@ class CORE_EXPORT QgsAbstractGeometry
/**
* \ingroup core
* The part_iterator class provides STL-style iterator for geometry parts.
* \since QGIS 3.6
* \since QGIS 3.4.3
*/
class CORE_EXPORT part_iterator
{
Expand Down Expand Up @@ -650,7 +650,7 @@ class CORE_EXPORT QgsAbstractGeometry
* \see parts_end()
* \see parts()
*
* \since QGIS 3.6
* \since QGIS 3.4.3
*/
part_iterator parts_begin()
{
Expand All @@ -663,7 +663,7 @@ class CORE_EXPORT QgsAbstractGeometry
* \see parts_begin()
* \see parts()
*
* \since QGIS 3.6
* \since QGIS 3.4.3
*/
part_iterator parts_end();

Expand All @@ -672,14 +672,14 @@ class CORE_EXPORT QgsAbstractGeometry
* returns read-only references to parts and cannot be used to modify the parts.
*
* \note Not available in Python bindings
* \since QGIS 3.6
* \since QGIS 3.4.3
*/
QgsGeometryConstPartIterator parts() const;

/**
* \ingroup core
* The part_iterator class provides STL-style iterator for const references to geometry parts.
* \since QGIS 3.6
* \since QGIS 3.4.3
*/
class CORE_EXPORT const_part_iterator
{
Expand Down Expand Up @@ -719,7 +719,7 @@ class CORE_EXPORT QgsAbstractGeometry
*
* \see const_parts_end()
*
* \since QGIS 3.6
* \since QGIS 3.4.3
*/
const_part_iterator const_parts_begin() const
{
Expand All @@ -731,7 +731,7 @@ class CORE_EXPORT QgsAbstractGeometry
*
* \see const_parts_begin()
*
* \since QGIS 3.6
* \since QGIS 3.4.3
*/
const_part_iterator const_parts_end() const;

Expand Down Expand Up @@ -844,7 +844,7 @@ class CORE_EXPORT QgsAbstractGeometry
* \endcode
*
* \see vertices()
* \since QGIS 3.6
* \since QGIS 3.4.3
*/
QgsGeometryPartIterator parts();

Expand Down Expand Up @@ -1057,7 +1057,7 @@ class CORE_EXPORT QgsVertexIterator
/**
* \ingroup core
* \brief Java-style iterator for traversal of parts of a geometry
* \since QGIS 3.6
* \since QGIS 3.4.3
*/
class CORE_EXPORT QgsGeometryPartIterator
{
Expand Down Expand Up @@ -1107,7 +1107,7 @@ class CORE_EXPORT QgsGeometryPartIterator
/**
* \ingroup core
* \brief Java-style iterator for const traversal of parts of a geometry
* \since QGIS 3.6
* \since QGIS 3.4.3
*/
class CORE_EXPORT QgsGeometryConstPartIterator
{
Expand Down
12 changes: 6 additions & 6 deletions src/core/geometry/qgsgeometry.h
Expand Up @@ -425,7 +425,7 @@ class CORE_EXPORT QgsGeometry
* This method forces a detach. Use const_parts_begin() to avoid the detach
* if the parts are not going to be modified.
*
* \since QGIS 3.6
* \since QGIS 3.4.3
*/
QgsAbstractGeometry::part_iterator parts_begin();

Expand All @@ -435,7 +435,7 @@ class CORE_EXPORT QgsGeometry
* This method forces a detach. Use const_parts_begin() to avoid the detach
* if the parts are not going to be modified.
*
* \since QGIS 3.6
* \since QGIS 3.4.3
*/
QgsAbstractGeometry::part_iterator parts_end();

Expand All @@ -445,7 +445,7 @@ class CORE_EXPORT QgsGeometry
* This method avoids a detach and is more efficient then parts_begin() for read
* only iteration.
*
* \since QGIS 3.6
* \since QGIS 3.4.3
*/
QgsAbstractGeometry::const_part_iterator const_parts_begin() const;

Expand All @@ -455,7 +455,7 @@ class CORE_EXPORT QgsGeometry
* This method avoids a detach and is more efficient then parts_end() for read
* only iteration.
*
* \since QGIS 3.6
* \since QGIS 3.4.3
*/
QgsAbstractGeometry::const_part_iterator const_parts_end() const;
#endif
Expand Down Expand Up @@ -494,7 +494,7 @@ class CORE_EXPORT QgsGeometry
*
* \see constParts()
* \see vertices()
* \since QGIS 3.6
* \since QGIS 3.4.3
*/
QgsGeometryPartIterator parts();

Expand Down Expand Up @@ -527,7 +527,7 @@ class CORE_EXPORT QgsGeometry
*
* \see parts()
* \see vertices()
* \since QGIS 3.6
* \since QGIS 3.4.3
*/
QgsGeometryConstPartIterator constParts() const;

Expand Down

0 comments on commit 054a8a0

Please sign in to comment.