Skip to content
Permalink
Browse files
Apply suggestions from code review
  • Loading branch information
nyalldawson committed Jan 6, 2022
1 parent 4a32f0d commit ce7d4220c51267715617dfa61c9414597c6994df
Showing with 6 additions and 6 deletions.
  1. +3 −3 python/core/auto_generated/geometry/qgsgeometryutils.sip.in
  2. +3 −3 src/core/geometry/qgsgeometryutils.h
@@ -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/,
@@ -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
@@ -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
@@ -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,

0 comments on commit ce7d422

Please sign in to comment.