You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- componentType enum has been renamed to ComponentType and its members were CamelCased too: VERTEX, RING and PART become Vertex, Ring and Part, respectively.
1455
1455
- adjacentVertices was removed - use QgsAbstractGeometry.adjacentVertices instead.
1456
-
1456
+
- segmentIntersection takes an optional boolean parameter "acceptImproperIntersection" returning true even if the intersection is improper.
1457
+
Takes another boolean argument "isIntersection" returning if there is an intersection or not. The "inter" parameter has been renamed "intersectionPoint".
\param inter Output parameter, the intersection point
109
-
\param isIntersect Output parameter, return true if an intersection is found
108
+
\param intersectionPoint Output parameter, the intersection point
109
+
\param isIntersection Output parameter, return true if an intersection is found
110
110
\param tolerance The tolerance to use
111
111
\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).
Copy file name to clipboardExpand all lines: src/core/geometry/qgsgeometryutils.h
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -106,8 +106,8 @@ class CORE_EXPORT QgsGeometryUtils
106
106
* \param p2 First segment end point
107
107
* \param q1 Second segment start point
108
108
* \param q2 Second segment end point
109
-
* \param inter Output parameter, the intersection point
110
-
* \param isIntersect Output parameter, return true if an intersection is found
109
+
* \param intersectionPoint Output parameter, the intersection point
110
+
* \param isIntersection Output parameter, return true if an intersection is found
111
111
* \param tolerance The tolerance to use
112
112
* \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).
113
113
* \returns Whether the segments intersect
@@ -135,7 +135,7 @@ class CORE_EXPORT QgsGeometryUtils
0 commit comments