Skip to content

Commit

Permalink
Correct parameter name and version description for doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
tschmetzer authored and nyalldawson committed Jan 6, 2022
1 parent f0c7727 commit 4a32f0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions python/core/auto_generated/geometry/qgsgeometryutils.sip.in
Expand Up @@ -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,
Expand Down
5 changes: 2 additions & 3 deletions src/core/geometry/qgsgeometryutils.h
Expand Up @@ -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,
Expand Down

0 comments on commit 4a32f0d

Please sign in to comment.