Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 6, 2022
1 parent 4a32f0d commit ce7d422
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions python/core/auto_generated/geometry/qgsgeometryutils.sip.in
Expand Up @@ -644,7 +644,7 @@ Create a perpendicular line segment from p to segment [s1, s2]
%End


static void perpendicularCenterSegment( double centerPointx, double centerPointy,
static void perpendicularCenterSegment( double centerPointX, double centerPointY,
double segmentPoint1x, double segmentPoint1y,
double segmentPoint2x, double segmentPoint2y,
double &perpendicularSegmentPoint1x /Out/, double &perpendicularSegmentPoint1y /Out/,
Expand All @@ -658,8 +658,8 @@ May be used to split geometries. Unless ``segmentLength`` is specified the new c

The result is a line (segment) centered in point p and perpendicular to segment [segmentPoint1, segmentPoint2].

:param centerPointx: x-coordinate of the point where the center of the perpendicular should be located
:param centerPointy: y-coordinate of the point where the center of the perpendicular should be located
:param centerPointX: x-coordinate of the point where the center of the perpendicular should be located
:param centerPointY: y-coordinate of the point where the center of the perpendicular should be located
: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
Expand Down
6 changes: 3 additions & 3 deletions src/core/geometry/qgsgeometryutils.h
Expand Up @@ -681,8 +681,8 @@ class CORE_EXPORT QgsGeometryUtils
*
* The result is a line (segment) centered in point p and perpendicular to segment [segmentPoint1, segmentPoint2].
*
* \param centerPointx x-coordinate of the point where the center of the perpendicular should be located
* \param centerPointy y-coordinate of the point where the center of the perpendicular should be located
* \param centerPointX x-coordinate of the point where the center of the perpendicular should be located
* \param centerPointY y-coordinate of the point where the center of the perpendicular should be located
* \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
Expand All @@ -697,7 +697,7 @@ class CORE_EXPORT QgsGeometryUtils
* \since QGIS 3.24
*/

static void perpendicularCenterSegment( double centerPointx, double centerPointy,
static void perpendicularCenterSegment( double centerPointX, double centerPointY,
double segmentPoint1x, double segmentPoint1y,
double segmentPoint2x, double segmentPoint2y,
double &perpendicularSegmentPoint1x SIP_OUT, double &perpendicularSegmentPoint1y SIP_OUT,
Expand Down

0 comments on commit ce7d422

Please sign in to comment.