QGIS API Documentation  3.17.0-Master (8af46bc54f)
Public Attributes | List of all members
AnchorPoint Struct Reference

record about vertex coordinates and index of anchor to which it is snapped More...

Public Attributes

int anchor
 Anchor information: 0+ - index of anchor to which this point should be snapped -1 - initial value (undefined) -2 - this point is an anchor, i.e. More...
 
double x
 coordinates of the point More...
 
double y
 

Detailed Description

record about vertex coordinates and index of anchor to which it is snapped

Definition at line 29 of file qgsgeometrysnappersinglesource.cpp.

Member Data Documentation

◆ anchor

int AnchorPoint::anchor

Anchor information: 0+ - index of anchor to which this point should be snapped -1 - initial value (undefined) -2 - this point is an anchor, i.e.

do not snap this point (snap others to this point)

Definition at line 40 of file qgsgeometrysnappersinglesource.cpp.

◆ x

double AnchorPoint::x

coordinates of the point

Definition at line 32 of file qgsgeometrysnappersinglesource.cpp.

◆ y

double AnchorPoint::y

Definition at line 32 of file qgsgeometrysnappersinglesource.cpp.


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