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
Copy file name to clipboardExpand all lines: src/gui/qgsmapcanvassnapper.h
+4-4
Original file line number
Diff line number
Diff line change
@@ -43,19 +43,19 @@ class GUI_EXPORT QgsMapCanvasSnapper
43
43
~QgsMapCanvasSnapper();
44
44
45
45
/**Does a snap to the current layer. Uses snap mode
46
-
QgsSnapper::SEVERAL_RESULTS_SAME_POSITION if topological editing is enabled
47
-
and QgsSnapper::ONE_RESULT_BY_SEGMENT if not. As this method is usually used to
46
+
QgsSnapper::SnapWithResultsForSamePosition if topological editing is enabled
47
+
and QgsSnapper::SnapWithOneResult_BY_SEGMENT if not. As this method is usually used to
48
48
find vertices/segments for editing operations, it uses the search radius for vertex
49
49
editing from the qgis options.
50
50
@param p start point of the snap (in pixel coordinates)
51
51
@param results list to which the results are appended
52
52
@param snap_to snap to vertex or to segment
53
53
@param snappingTol snapping tolerance. -1 means that the search radius for vertex edits is taken
54
54
@param excludePoints a list with (map coordinate) points that should be excluded in the snapping result. Useful e.g. for vertex moves where a vertex should not be snapped to its original position*/
0 commit comments