QgsCadUtils::AlignMapPointOutput struct

Structure returned from alignMapPoint() method.

Contents

Public variables

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