QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Classes | Static Public Member Functions | List of all members
QgsCadUtils Class Reference

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.
 

Detailed Description

The QgsCadUtils class provides routines for CAD editing.

Definition at line 33 of file qgscadutils.h.

Member Function Documentation

◆ alignMapPoint()

QgsCadUtils::AlignMapPointOutput QgsCadUtils::alignMapPoint ( const QgsPointXY originalMapPoint,
const QgsCadUtils::AlignMapPointContext ctx 
)
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.


The documentation for this class was generated from the following files: