You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checks whether a function declaration has parameters that are
top level const.
const values in declarations do not affect the signature of a
function, so they should not be put there.
Copy file name to clipboardexpand all lines: python/core/auto_generated/geometry/qgsregularpolygon.sip.in
+5-5
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ The regular polygon is defined by a center point with a number of sides/vertices
38
38
Constructor for QgsRegularPolygon.
39
39
%End
40
40
41
-
QgsRegularPolygon( const QgsPoint ¢er, const double radius, const double azimuth, const unsigned int numberSides, const ConstructionOption circle );
41
+
QgsRegularPolygon( const QgsPoint ¢er, double radius, double azimuth, unsigned int numberSides, ConstructionOption circle );
42
42
%Docstring
43
43
Constructs a regular polygon by ``center`` and parameters for the first vertex. An empty regular polygon is returned if ``numberSides`` < 3 or ``ConstructionOption`` isn't valid.
44
44
@@ -49,7 +49,7 @@ Constructs a regular polygon by ``center`` and parameters for the first vertex.
49
49
:param circle: Option to create the polygon. see ConstructionOption
50
50
%End
51
51
52
-
QgsRegularPolygon( const QgsPoint ¢er, const QgsPoint &pt1, const unsigned int numberSides, const ConstructionOption circle );
52
+
QgsRegularPolygon( const QgsPoint ¢er, const QgsPoint &pt1, unsigned int numberSides, ConstructionOption circle );
53
53
%Docstring
54
54
Constructs a regular polygon by ``center`` and another point.
55
55
@@ -59,7 +59,7 @@ Constructs a regular polygon by ``center`` and another point.
59
59
:param circle: Option to create the polygon inscribed in circle (the radius is the distance between the center and vertices) or circumscribed about circle (the radius is the distance from the center to the midpoints of the sides).
0 commit comments