Skip to content
Permalink
Browse files
Correct parameter name and version description for doxygen
  • Loading branch information
tschmetzer authored and nyalldawson committed Jan 6, 2022
1 parent f0c7727 commit 4a32f0d344812899d16a2daeff0081d32b414249
Showing with 4 additions and 5 deletions.
  1. +2 −2 python/core/auto_generated/geometry/qgsgeometryutils.sip.in
  2. +2 −3 src/core/geometry/qgsgeometryutils.h
@@ -663,14 +663,14 @@ The result is a line (segment) centered in point p and perpendicular to segment
:param segmentPoint1x: : x-coordinate of segmentPoint1, the segment's start point
:param segmentPoint1y: : y-coordinate of segmentPoint1, the segment's start point
:param segmentPoint2x: : x-coordinate of segmentPoint2, the segment's end point
:param y2: : y-coordinate of segmentPoint2, the segment's end point
:param segmentPoint2y: : y-coordinate of segmentPoint2, the segment's end point
:param perpendicularSegmentPoint1x: : x-coordinate of the perpendicularCenterSegment's start point
:param perpendicularSegmentPoint1y: : y-coordinate of the perpendicularCenterSegment's start point
:param perpendicularSegmentPoint2x: : x-coordinate of the perpendicularCenterSegment's end point
:param perpendicularSegmentPoint2y: : y-coordinate of the perpendicularCenterSegment's end point
:param segmentLength: (optional) Trims to given length. A segmentLength value of 0 refers to the default length which is double the length of the input segment. Set to 1 for a normalized length.

.. versionadded:: 3.17
.. versionadded:: 3.24
%End

static double skewLinesDistance( const QgsVector3D &P1, const QgsVector3D &P12,
@@ -686,16 +686,15 @@ class CORE_EXPORT QgsGeometryUtils
* \param segmentPoint1x: x-coordinate of segmentPoint1, the segment's start point
* \param segmentPoint1y: y-coordinate of segmentPoint1, the segment's start point
* \param segmentPoint2x: x-coordinate of segmentPoint2, the segment's end point
* \param y2: y-coordinate of segmentPoint2, the segment's end point
* \param segmentPoint2y: y-coordinate of segmentPoint2, the segment's end point
* \param perpendicularSegmentPoint1x: x-coordinate of the perpendicularCenterSegment's start point
* \param perpendicularSegmentPoint1y: y-coordinate of the perpendicularCenterSegment's start point
* \param perpendicularSegmentPoint2x: x-coordinate of the perpendicularCenterSegment's end point
* \param perpendicularSegmentPoint2y: y-coordinate of the perpendicularCenterSegment's end point
* \param segmentLength (optional) Trims to given length. A segmentLength value of 0 refers to the default length which is double the length of the input segment. Set to 1 for a normalized length.
*
*
* \since QGIS 3.17?
*
* \since QGIS 3.24
*/

static void perpendicularCenterSegment( double centerPointx, double centerPointy,

0 comments on commit 4a32f0d

Please sign in to comment.