#include <qgspointlocator.h>
Definition at line 128 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 159 of file qgspointlocator.h.
◆ edgePoints()
Only for a valid edge match - obtain endpoints of the edge.
Definition at line 182 of file qgspointlocator.h.
◆ featureId()
The id of the feature to which the snapped geometry belongs.
Definition at line 179 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 174 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 165 of file qgspointlocator.h.
◆ type()
◆ vertexIndex()
int QgsPointLocator::Match::vertexIndex |
( |
| ) |
const |
|
inline |
for vertex / edge match (first vertex of the edge)
Definition at line 168 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: