#include <qgspointlocator.h>
Definition at line 130 of file qgspointlocator.h.
◆ Match() [1/2]
QgsPointLocator::Match::Match |
( |
| ) |
|
|
default |
◆ Match() [2/2]
◆ distance()
double QgsPointLocator::Match::distance |
( |
| ) |
const |
|
inline |
for vertex / edge match units depending on what class returns it (geom.cache: layer units, map canvas snapper: dest crs units)
Definition at line 161 of file qgspointlocator.h.
◆ edgePoints()
Only for a valid edge match - obtain endpoints of the edge.
Definition at line 184 of file qgspointlocator.h.
◆ featureId()
The id of the feature to which the snapped geometry belongs.
Definition at line 181 of file qgspointlocator.h.
◆ hasArea()
bool QgsPointLocator::Match::hasArea |
( |
| ) |
const |
|
inline |
◆ hasEdge()
bool QgsPointLocator::Match::hasEdge |
( |
| ) |
const |
|
inline |
◆ hasVertex()
bool QgsPointLocator::Match::hasVertex |
( |
| ) |
const |
|
inline |
◆ isValid()
bool QgsPointLocator::Match::isValid |
( |
| ) |
const |
|
inline |
◆ layer()
The vector layer where the snap occurred.
Will be null if the snap happened on an intersection.
Definition at line 176 of file qgspointlocator.h.
◆ operator==()
◆ point()
QgsPointXY QgsPointLocator::Match::point |
( |
| ) |
const |
|
inline |
for vertex / edge match coords depending on what class returns it (geom.cache: layer coords, map canvas snapper: dest coords)
Definition at line 167 of file qgspointlocator.h.
◆ type()
◆ vertexIndex()
int QgsPointLocator::Match::vertexIndex |
( |
| ) |
const |
|
inline |
for vertex / edge match (first vertex of the edge)
Definition at line 170 of file qgspointlocator.h.
◆ mDist
double QgsPointLocator::Match::mDist = 0 |
|
protected |
◆ mEdgePoints
◆ mFid
◆ mLayer
◆ mPoint
◆ mType
◆ mVertexIndex
int QgsPointLocator::Match::mVertexIndex = 0 |
|
protected |
The documentation for this struct was generated from the following file: