QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
The QgsCadUtils class provides routines for CAD editing. More...
#include <qgscadutils.h>
Classes | |
class | AlignMapPointConstraint |
Structure with details of one constraint. More... | |
class | AlignMapPointContext |
Defines constraints for the QgsCadUtils::alignMapPoint() method. More... | |
class | AlignMapPointOutput |
Structure returned from alignMapPoint() method. More... | |
Static Public Member Functions | |
static QgsCadUtils::AlignMapPointOutput | alignMapPoint (const QgsPointXY &originalMapPoint, const QgsCadUtils::AlignMapPointContext &ctx) |
Applies X/Y/angle/distance constraints from the given context to a map point. | |
The QgsCadUtils class provides routines for CAD editing.
Definition at line 33 of file qgscadutils.h.
|
static |
Applies X/Y/angle/distance constraints from the given context to a map point.
Returns a structure containing aligned map point, whether the constraints are valid and some extra information.
Definition at line 41 of file qgscadutils.cpp.