Skip to content
Permalink
Browse files

Refactor CAD editing alignment logic to new QgsCadUtils class

  • Loading branch information
wonder-sk committed Oct 3, 2017
1 parent 68bb68d commit 878dfddd3ba67ff6038a24dcbc3d0bda0fe85faa
@@ -476,6 +476,7 @@ QgsAdvancedDigitizingDockWidget {#qgis_api_break_3_0_QgsAdvancedDigitizin

- canvasPressEvent(), canvasReleaseEvent(), canvasMoveEvent() were removed. Handling of events is done in QgsMapToolAdvancedDigitizing.
- snappingMode() was removed. Advanced digitizing now always uses project's snapping configuration.
- lineCircleIntersection() was removed


QgsApplication {#qgis_api_break_3_0_QgsApplication}
@@ -11,7 +11,6 @@




class QgsAdvancedDigitizingDockWidget : QgsDockWidget
{
%Docstring
@@ -151,14 +150,6 @@ class QgsAdvancedDigitizingDockWidget : QgsDockWidget

};

static bool lineCircleIntersection( const QgsPointXY &center, const double radius, const QList<QgsPointXY> &segment, QgsPointXY &intersection );
%Docstring
.. note::

from the two solutions, the intersection will be set to the closest point
:rtype: bool
%End

explicit QgsAdvancedDigitizingDockWidget( QgsMapCanvas *canvas, QWidget *parent = 0 );
%Docstring
Create an advanced digitizing dock widget
@@ -139,6 +139,7 @@ SET(QGIS_CORE_SRCS
qgscachedfeatureiterator.cpp
qgscacheindex.cpp
qgscacheindexfeatureid.cpp
qgscadutils.cpp
qgsclipper.cpp
qgscolorramp.cpp
qgscolorscheme.cpp
@@ -792,6 +793,7 @@ SET(QGIS_CORE_HDRS
qgscachedfeatureiterator.h
qgscacheindex.h
qgscacheindexfeatureid.h
qgscadutils.h
qgsclipper.h
qgscolorramp.h
qgscolorscheme.h

0 comments on commit 878dfdd

Please sign in to comment.
You can’t perform that action at this time.