QGIS API Documentation
3.24.2-Tisler (13c1a02865)
|
Defines constraints for the QgsCadUtils::alignMapPoint() method. More...
#include <qgscadutils.h>
Public Member Functions | |
QgsPoint | cadPoint (int index) const |
Returns the recent CAD point at the specified index (in map coordinates). More... | |
QList< QgsPoint > | cadPoints () const |
Returns the list of recent CAD points in map coordinates. More... | |
void | dump () const |
Dumps the context's properties, for debugging. More... | |
void | setCadPoint (int index, const QgsPoint &point) |
Sets the recent CAD point at the specified index to point (in map coordinates). More... | |
void | setCadPoints (const QList< QgsPoint > &points) |
Sets the list of recent CAD points (in map coordinates). More... | |
Public Attributes | |
QgsCadUtils::AlignMapPointConstraint | angleConstraint |
Constraint for angle. 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. More... | |
QgsCadUtils::AlignMapPointConstraint | mConstraint |
Constraint for M coordinate. More... | |
QgsSnappingUtils * | snappingUtils = nullptr |
Snapping utils that will be used to snap point to map. Must not be nullptr . More... | |
QgsCadUtils::AlignMapPointConstraint | xConstraint |
Constraint for X coordinate. More... | |
QgsCadUtils::AlignMapPointConstraint | yConstraint |
Constraint for Y coordinate. More... | |
QgsCadUtils::AlignMapPointConstraint | zConstraint |
Constraint for Z coordinate. More... | |
Defines constraints for the QgsCadUtils::alignMapPoint() method.
Definition at line 98 of file qgscadutils.h.
|
inline |
Returns the recent CAD point at the specified index (in map coordinates).
Definition at line 168 of file qgscadutils.h.
|
inline |
Returns the list of recent CAD points in map coordinates.
These are used to turn relative constraints to absolute. The first point is the most recent point.
Definition at line 144 of file qgscadutils.h.
void QgsCadUtils::AlignMapPointContext::dump | ( | ) | const |
Dumps the context's properties, for debugging.
Definition at line 314 of file qgscadutils.cpp.
|
inline |
Sets the recent CAD point at the specified index to point (in map coordinates).
Definition at line 160 of file qgscadutils.h.
|
inline |
Sets the list of recent CAD points (in map coordinates).
Definition at line 152 of file qgscadutils.h.
QgsCadUtils::AlignMapPointConstraint QgsCadUtils::AlignMapPointContext::angleConstraint |
Constraint for angle.
Definition at line 125 of file qgscadutils.h.
QgsCadUtils::AlignMapPointConstraint QgsCadUtils::AlignMapPointContext::commonAngleConstraint |
Constraint for soft lock to a common angle.
Definition at line 127 of file qgscadutils.h.
QgsCadUtils::AlignMapPointConstraint QgsCadUtils::AlignMapPointContext::distanceConstraint |
Constraint for distance.
Definition at line 123 of file qgscadutils.h.
double QgsCadUtils::AlignMapPointContext::mapUnitsPerPixel |
Map units/pixel ratio from map canvas.
Definition at line 104 of file qgscadutils.h.
QgsCadUtils::AlignMapPointConstraint QgsCadUtils::AlignMapPointContext::mConstraint |
QgsSnappingUtils* QgsCadUtils::AlignMapPointContext::snappingUtils = nullptr |
Snapping utils that will be used to snap point to map. Must not be nullptr
.
Definition at line 102 of file qgscadutils.h.
QgsCadUtils::AlignMapPointConstraint QgsCadUtils::AlignMapPointContext::xConstraint |
Constraint for X coordinate.
Definition at line 107 of file qgscadutils.h.
QgsCadUtils::AlignMapPointConstraint QgsCadUtils::AlignMapPointContext::yConstraint |
Constraint for Y coordinate.
Definition at line 109 of file qgscadutils.h.
QgsCadUtils::AlignMapPointConstraint QgsCadUtils::AlignMapPointContext::zConstraint |