QGIS API Documentation  3.20.0-Odense (decaadbb31)
Public Attributes | List of all members
QgsCadUtils::AlignMapPointOutput Struct Reference

Structure returned from alignMapPoint() method. More...

#include <qgscadutils.h>

Public Attributes

QgsPointLocator::Match edgeMatch
 Snapped segment - only valid if actually used for something. More...
 
QgsPointXY finalMapPoint
 map point aligned according to the constraints More...
 
QgsPointLocator::Match snapMatch
 Snapped point - only valid if actually used for something. More...
 
double softLockCommonAngle
 Angle (in degrees) to which we have soft-locked ourselves (if not set it is -1) More...
 
bool valid
 Whether the combination of constraints is actually valid. More...
 

Detailed Description

Structure returned from alignMapPoint() method.

Definition at line 87 of file qgscadutils.h.

Member Data Documentation

◆ edgeMatch

QgsPointLocator::Match QgsCadUtils::AlignMapPointOutput::edgeMatch

Snapped segment - only valid if actually used for something.

Deprecated:
will be removed in QGIS 4.0 - use snapMatch instead

Definition at line 105 of file qgscadutils.h.

◆ finalMapPoint

QgsPointXY QgsCadUtils::AlignMapPointOutput::finalMapPoint

map point aligned according to the constraints

Definition at line 93 of file qgscadutils.h.

◆ snapMatch

QgsPointLocator::Match QgsCadUtils::AlignMapPointOutput::snapMatch

Snapped point - only valid if actually used for something.

Since
QGIS 3.14

Definition at line 99 of file qgscadutils.h.

◆ softLockCommonAngle

double QgsCadUtils::AlignMapPointOutput::softLockCommonAngle

Angle (in degrees) to which we have soft-locked ourselves (if not set it is -1)

Definition at line 108 of file qgscadutils.h.

◆ valid

bool QgsCadUtils::AlignMapPointOutput::valid

Whether the combination of constraints is actually valid.

Definition at line 90 of file qgscadutils.h.


The documentation for this struct was generated from the following file: