Skip to content

Commit

Permalink
[tracing curves] experimental notice
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierdalang committed May 14, 2020
1 parent 784ddd9 commit 68582a6
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 1 deletion.
4 changes: 4 additions & 0 deletions python/core/auto_generated/geometry/qgsgeometry.sip.in
Expand Up @@ -1243,6 +1243,10 @@ This method only consider a segments as suitable for replacing with an arc if th
regularly spaced on the candidate arc. The ``pointSpacingAngleTolerance`` parameter specifies the maximum
angular deviation (in radians) allowed when testing for regular point spacing.

.. note::

The API is considered EXPERIMENTAL and can be changed without a notice

.. versionadded:: 3.14
%End

Expand Down
4 changes: 4 additions & 0 deletions python/core/auto_generated/geometry/qgsgeometryutils.sip.in
Expand Up @@ -367,6 +367,10 @@ This method only consider a segments as continuing an arc if the points are all
on the candidate arc. The ``pointSpacingAngleTolerance`` parameter specifies the maximum
angular deviation (in radians) allowed when testing for regular point spacing.

.. note::

The API is considered EXPERIMENTAL and can be changed without a notice

.. versionadded:: 3.14
%End

Expand Down
2 changes: 2 additions & 0 deletions src/core/geometry/qgsgeometry.h
Expand Up @@ -1254,6 +1254,8 @@ class CORE_EXPORT QgsGeometry
* regularly spaced on the candidate arc. The \a pointSpacingAngleTolerance parameter specifies the maximum
* angular deviation (in radians) allowed when testing for regular point spacing.
*
* \note The API is considered EXPERIMENTAL and can be changed without a notice
*
* \since QGIS 3.14
*/
QgsGeometry convertToCurves( double distanceTolerance = 1e-8, double angleTolerance = 1e-8 ) const;
Expand Down
2 changes: 2 additions & 0 deletions src/core/geometry/qgsgeometryutils.h
Expand Up @@ -383,6 +383,8 @@ class CORE_EXPORT QgsGeometryUtils
* on the candidate arc. The \a pointSpacingAngleTolerance parameter specifies the maximum
* angular deviation (in radians) allowed when testing for regular point spacing.
*
* \note The API is considered EXPERIMENTAL and can be changed without a notice
*
* \since QGIS 3.14
*/
static bool pointContinuesArc( const QgsPoint &a1, const QgsPoint &a2, const QgsPoint &a3, const QgsPoint &b, double distanceTolerance,
Expand Down
2 changes: 2 additions & 0 deletions src/core/geometry/qgsinternalgeometryengine.h
Expand Up @@ -177,6 +177,8 @@ class QgsInternalGeometryEngine
* regularly spaced on the candidate arc. The \a pointSpacingAngleTolerance parameter specifies the maximum
* angular deviation (in radians) allowed when testing for regular point spacing.
*
* \note The API is considered EXPERIMENTAL and can be changed without a notice
*
* \since QGIS 3.14
*/
QgsGeometry convertToCurves( double distanceTolerance, double angleTolerance ) const;
Expand Down
2 changes: 1 addition & 1 deletion src/ui/qgsoptionsbase.ui
Expand Up @@ -4515,7 +4515,7 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
<item row="0" column="0" colspan="3">
<widget class="QCheckBox" name="mTracingConvertToCurveCheckBox">
<property name="text">
<string>Convert tracing to curve</string>
<string>Convert tracing to curve (this feature is experimental)</string>
</property>
</widget>
</item>
Expand Down

0 comments on commit 68582a6

Please sign in to comment.