QGIS API Documentation
3.2.0-Bonn (bc43194)
|
Structure defining all constraints for alignMapPoint() method. More...
#include <qgscadutils.h>
Public Member Functions | |
void | dump () const |
Dumps the context's properties, for debugging. More... | |
Public Attributes | |
QgsCadUtils::AlignMapPointConstraint | angleConstraint |
Constraint for angle. More... | |
QList< QgsPointXY > | cadPointList |
List of recent CAD points in map coordinates. More... | |
QgsCadUtils::AlignMapPointConstraint | commonAngleConstraint |
Constraint for soft lock to a common angle. More... | |
QgsCadUtils::AlignMapPointConstraint | distanceConstraint |
Constraint for distance. More... | |
double | mapUnitsPerPixel |
Map units/pixel ratio from map canvas. Needed for. More... | |
QgsSnappingUtils * | snappingUtils = nullptr |
Snapping utils that will be used to snap point to map. Must not be null. More... | |
QgsCadUtils::AlignMapPointConstraint | xConstraint |
Constraint for X coordinate. More... | |
QgsCadUtils::AlignMapPointConstraint | yConstraint |
Constraint for Y coordinate. More... | |
Structure defining all constraints for alignMapPoint() method.
Definition at line 54 of file qgscadutils.h.
void QgsCadUtils::AlignMapPointContext::dump | ( | ) | const |
Dumps the context's properties, for debugging.
Definition at line 311 of file qgscadutils.cpp.
QgsCadUtils::AlignMapPointConstraint QgsCadUtils::AlignMapPointContext::angleConstraint |
Constraint for angle.
Definition at line 68 of file qgscadutils.h.
QList<QgsPointXY> QgsCadUtils::AlignMapPointContext::cadPointList |
List of recent CAD points in map coordinates.
These are used to turn relative constraints to absolute. First point is the most recent point. Currently using only "previous" point (index 1) and "penultimate" point (index 2) for alignment purposes.
Definition at line 77 of file qgscadutils.h.
QgsCadUtils::AlignMapPointConstraint QgsCadUtils::AlignMapPointContext::commonAngleConstraint |
Constraint for soft lock to a common angle.
Definition at line 70 of file qgscadutils.h.
QgsCadUtils::AlignMapPointConstraint QgsCadUtils::AlignMapPointContext::distanceConstraint |
Constraint for distance.
Definition at line 66 of file qgscadutils.h.
double QgsCadUtils::AlignMapPointContext::mapUnitsPerPixel |
Map units/pixel ratio from map canvas. Needed for.
Definition at line 59 of file qgscadutils.h.
QgsSnappingUtils* QgsCadUtils::AlignMapPointContext::snappingUtils = nullptr |
Snapping utils that will be used to snap point to map. Must not be null.
Definition at line 57 of file qgscadutils.h.
QgsCadUtils::AlignMapPointConstraint QgsCadUtils::AlignMapPointContext::xConstraint |
Constraint for X coordinate.
Definition at line 62 of file qgscadutils.h.
QgsCadUtils::AlignMapPointConstraint QgsCadUtils::AlignMapPointContext::yConstraint |
Constraint for Y coordinate.
Definition at line 64 of file qgscadutils.h.