{{ message }}

# qgis / QGIS

Sipify

nyalldawson committed Oct 9, 2020
1 parent 0e36265 commit 4ee9feb56bd0a029eba96fe08d9f67f040cc49a6
 @@ -136,10 +136,10 @@ Sums up the area of the curve by iterating over the vertices (shoelace formula). Returns the point and vertex id of a point within the curve. :param node: node number, where the first node is 0 :param type: will be set to the vertex type of the node :return: - ``True`` if node exists within the curve - point: will be set to point at corresponding node in the curve - type: will be set to the vertex type of the node %End virtual QgsCurve *reversed() const = 0 /Factory/;
 @@ -110,12 +110,12 @@ Compute the intersection between two segments :param p2: First segment end point :param q1: Second segment start point :param q2: Second segment end point :param isIntersection: Output parameter, return ``True`` if an intersection is found :param tolerance: The tolerance to use :param acceptImproperIntersection: By default, this method returns true only if segments have proper intersection. If set true, returns also ``True`` if segments have improper intersection (end of one segment on other segment ; continuous segments). :return: - Whether the segments intersect - intersectionPoint: Output parameter, the intersection point - isIntersection: Output parameter, return ``True`` if an intersection is found Example ------- @@ -565,8 +565,6 @@ Returns the coefficients (a, b, c for equation "ax + by + c = 0") of a line defi :param pt1: first point. :param pt2: second point. :param b: Output parameter, b coefficient of the equation. :param c: Output parameter, c coefficient of the equation. .. versionadded:: 3.0 %End @@ -678,7 +676,6 @@ Returns a weighted point inside the triangle denoted by the points (``aX``, ``aY :param cY: y-coordinate of third vertex in triangle :param weightB: weighting factor along axis A-B (between 0 and 1) :param weightC: weighting factor along axis A-C (between 0 and 1) :param pointY: y-coordinate of generated point .. versionadded:: 3.10 %End
 @@ -553,7 +553,6 @@ Register a feature for labeling. must have already had the feature and fields sets prior to calling this method. :param labelFeature: if using :py:class:`QgsLabelingEngine`, this will receive the label feature. Not available in Python bindings. :param symbol: feature symbol to label (ownership is not transferred, and ``symbol`` must exist until the labeling is complete) %End void readXml( const QDomElement &elem, const QgsReadWriteContext &context );
 @@ -132,12 +132,12 @@ the corresponding ``numerator`` and ``denominator``, within the specified ``tole This method is based of Richard's algorithm (1981) from "Continued Fractions without Tears" (University of Minnesota). :param value: input value to convert :param denominator: will be set to the calculated fraction denominator :param sign: will be set to the sign of the result (as -1 or +1 values) :param tolerance: acceptable tolerance. Larger values will give "nicer" fractions. :return: - ``True`` if ``value`` was successfully converted to a fraction - numerator: will be set to calculated fraction numerator - denominator: will be set to the calculated fraction denominator - sign: will be set to the sign of the result (as -1 or +1 values) %End static QString toUnicodeSuperscript( const QString &input );
 @@ -106,10 +106,10 @@ Decodes a provider key and layer ``uri`` from an encoded string, for use with :py:func:`~QgsProcessingUtils.encodeProviderKeyAndUri` :param string: encoded string, as returned by :py:func:`~QgsProcessingUtils.encodeProviderKeyAndUri` :param uri: decoded layer uri :return: - ``True`` if ``string`` was successfully decoded - providerKey: ID key for corresponding data provider - uri: decoded layer uri .. versionadded:: 3.14 %End
 @@ -42,11 +42,6 @@ The optional ``flags`` argument can be used to fine-tune the check behavior. Computes the six parameters of a world file. :param mapSettings: map settings :param b: the b parameter :param c: the c parameter :param d: the d parameter :param e: the e parameter :param f: the f parameter .. versionadded:: 3.10 %End
 @@ -295,12 +295,10 @@ of a sub-expression reflecting the parent property's state. Attempts to parse an expression into a corresponding property transformer. :param expression: expression to parse :param fieldName: will be set to a field name which is used to calculate the input to the property transformer. This will be set to an empty string if an expression is the transformer input. :return: - corresponding property transformer, or ``None`` if expression could not - baseExpression: will be set to the component of the source expression which is used to calculate the input to the property transformer. This will be set to an empty string if a field reference is the transformer input. - fieldName: will be set to a field name which is used to calculate the input to the property transformer. This will be set to an empty string if an expression is the transformer input. be parsed to a transformer. %End @@ -362,12 +360,10 @@ Constructor for QgsGenericNumericTransformer. Attempts to parse an expression into a corresponding :py:class:`QgsSizeScaleTransformer`. :param expression: expression to parse :param fieldName: will be set to a field name which is used to calculate the input to the property transformer. This will be set to an empty string if an expression is the transformer input. :return: - corresponding :py:class:`QgsSizeScaleTransformer`, or ``None`` if expression could not - baseExpression: will be set to the component of the source expression which is used to calculate the input to the property transformer. This will be set to an empty string if a field reference is the transformer input. - fieldName: will be set to a field name which is used to calculate the input to the property transformer. This will be set to an empty string if an expression is the transformer input. be parsed to a size scale transformer. %End @@ -509,12 +505,10 @@ Constructor for QgsSizeScaleTransformer. Attempts to parse an expression into a corresponding QgsSizeScaleTransformer. :param expression: expression to parse :param fieldName: will be set to a field name which is used to calculate the input to the property transformer. This will be set to an empty string if an expression is the transformer input. :return: - corresponding QgsSizeScaleTransformer, or ``None`` if expression could not - baseExpression: will be set to the component of the source expression which is used to calculate the input to the property transformer. This will be set to an empty string if a field reference is the transformer input. - fieldName: will be set to a field name which is used to calculate the input to the property transformer. This will be set to an empty string if an expression is the transformer input. be parsed to a size scale transformer. %End
 @@ -880,10 +880,10 @@ Lists all the style in db split into related to the layer and not related to :param ids: the list in which will be stored the style db ids :param names: the list in which will be stored the style names :param msgError: :return: - the number of styles related to current layer (-1 on not implemented) - descriptions: the list in which will be stored the style descriptions - msgError: .. note::
 @@ -46,13 +46,13 @@ the pixels in n rasters whilst aligning the result to a reference layer which is Note that calling this method also advances the iterator, just like calling :py:func:`~QgsRasterIterator.readNextRasterPart`. :param bandNumber: band to read :param rows: number of rows on output device :param topLeftColumn: top left column :param topLeftRow: top left row :param blockExtent: exact extent of returned raster block :return: - ``False`` if the last part was already returned - columns: number of columns on output device - rows: number of rows on output device - topLeftColumn: top left column - topLeftRow: top left row - blockExtent: exact extent of returned raster block .. versionadded:: 3.6 %End
 @@ -44,11 +44,11 @@ If ``encoding`` is specified, it will be set to the encoding of the created file :param parent: parent widget for dialog :param initialPath: initial file path to show in dialog :param encoding: if specified, will be set to file encoding of created layer :param crs: default layer CRS to show in dialog :return: - Newly created file name, or an empty string if user canceled or an error occurred. - errorMessage: will be set to any error message encountered during layer creation - encoding: will be set to file encoding of created layer .. versionadded:: 3.4.5