Skip to content

Commit

Permalink
Add default precision value
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Apr 16, 2019
1 parent 29f6822 commit a809625
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -81,7 +81,7 @@ to ``p2`` will be used (i.e. winding the other way around the circle).

virtual QString asJson( int precision = 17 ) const;

virtual QJsonObject asJsonObject( int precision ) const;
virtual QJsonObject asJsonObject( int precision = 17 ) const;

virtual bool isEmpty() const;

Expand Down
2 changes: 1 addition & 1 deletion src/core/geometry/qgscircularstring.h
Expand Up @@ -80,7 +80,7 @@ class CORE_EXPORT QgsCircularString: public QgsCurve
QDomElement asGml2( QDomDocument &doc, int precision = 17, const QString &ns = "gml", QgsAbstractGeometry::AxisOrder axisOrder = QgsAbstractGeometry::AxisOrder::XY ) const override;
QDomElement asGml3( QDomDocument &doc, int precision = 17, const QString &ns = "gml", QgsAbstractGeometry::AxisOrder axisOrder = QgsAbstractGeometry::AxisOrder::XY ) const override;
QString asJson( int precision = 17 ) const override;
QJsonObject asJsonObject( int precision ) const override;
QJsonObject asJsonObject( int precision = 17 ) const override;
bool isEmpty() const override;
int numPoints() const override;

Expand Down

0 comments on commit a809625

Please sign in to comment.