Defines constraints for the QgsCadUtils::alignMapPoint() method.
More...
#include <qgscadutils.h>
Defines constraints for the QgsCadUtils::alignMapPoint() method.
- Since
- QGIS 3.0
Definition at line 103 of file qgscadutils.h.
◆ cadPoint()
QgsPoint QgsCadUtils::AlignMapPointContext::cadPoint |
( |
int |
index | ) |
const |
|
inline |
Returns the recent CAD point at the specified index (in map coordinates).
- See also
- setCadPoint()
- Since
- QGIS 3.22
Definition at line 176 of file qgscadutils.h.
◆ cadPoints()
QList< QgsPoint > QgsCadUtils::AlignMapPointContext::cadPoints |
( |
| ) |
const |
|
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.
- See also
- setCadPoints()
- Since
- QGIS 3.22
Definition at line 152 of file qgscadutils.h.
◆ dump()
void QgsCadUtils::AlignMapPointContext::dump |
( |
| ) |
const |
Dumps the context's properties, for debugging.
- Note
- Not available in Python bindings.
Definition at line 501 of file qgscadutils.cpp.
◆ lockedSnapVertices()
◆ setCadPoint()
void QgsCadUtils::AlignMapPointContext::setCadPoint |
( |
int |
index, |
|
|
const QgsPoint & |
point |
|
) |
| |
|
inline |
Sets the recent CAD point at the specified index to point (in map coordinates).
- See also
- cadPoint()
- Since
- QGIS 3.22
Definition at line 168 of file qgscadutils.h.
◆ setCadPoints()
void QgsCadUtils::AlignMapPointContext::setCadPoints |
( |
const QList< QgsPoint > & |
points | ) |
|
|
inline |
Sets the list of recent CAD points (in map coordinates).
- See also
- cadPoints()
- Since
- QGIS 3.22
Definition at line 160 of file qgscadutils.h.
◆ setLockedSnapVertices()
void QgsCadUtils::AlignMapPointContext::setLockedSnapVertices |
( |
const QQueue< QgsPointLocator::Match > & |
lockedSnapVertices | ) |
|
|
inline |
Sets the queue of locked vertices.
Point locator matches are stored instead of vertices to keep more context.
- See also
- lockedSnapVertices()
- Since
- QGIS 3.26
Definition at line 186 of file qgscadutils.h.
◆ angleConstraint
◆ commonAngleConstraint
Constraint for soft lock to a common angle.
Definition at line 132 of file qgscadutils.h.
◆ distanceConstraint
◆ lineExtensionConstraint
◆ mapUnitsPerPixel
double QgsCadUtils::AlignMapPointContext::mapUnitsPerPixel |
Map units/pixel ratio from map canvas.
Definition at line 109 of file qgscadutils.h.
◆ mConstraint
Constraint for M coordinate.
- Since
- QGIS 3.22
Definition at line 126 of file qgscadutils.h.
◆ snappingUtils
Snapping utils that will be used to snap point to map. Must not be nullptr
.
Definition at line 107 of file qgscadutils.h.
◆ xConstraint
◆ xyVertexConstraint
◆ yConstraint
◆ zConstraint
Constraint for Z coordinate.
- Since
- QGIS 3.22
Definition at line 120 of file qgscadutils.h.
The documentation for this class was generated from the following files: