#include <qgspointlocator.h>
Definition at line 98 of file qgspointlocator.h.
◆ Match() [1/2]
QgsPointLocator::Match::Match |
( |
| ) |
|
|
inline |
◆ 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 134 of file qgspointlocator.h.
◆ edgePoints()
void QgsPointLocator::Match::edgePoints |
( |
QgsPoint & |
pt1, |
|
|
QgsPoint & |
pt2 |
|
) |
| const |
|
inline |
Only for a valid edge match - obtain endpoints of the edge.
Definition at line 155 of file qgspointlocator.h.
◆ featureId()
The id of the feature to which the snapped geometry belongs.
Definition at line 152 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 147 of file qgspointlocator.h.
◆ point()
QgsPoint 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 138 of file qgspointlocator.h.
◆ type()
Type QgsPointLocator::Match::type |
( |
| ) |
const |
|
inline |
◆ vertexIndex()
int QgsPointLocator::Match::vertexIndex |
( |
| ) |
const |
|
inline |
for vertex / edge match (first vertex of the edge)
Definition at line 141 of file qgspointlocator.h.
◆ mDist
double QgsPointLocator::Match::mDist |
|
protected |
◆ mEdgePoints
QgsPoint QgsPointLocator::Match::mEdgePoints[2] |
|
protected |
◆ mFid
◆ mLayer
◆ mPoint
◆ mType
Type QgsPointLocator::Match::mType |
|
protected |
◆ mVertexIndex
int QgsPointLocator::Match::mVertexIndex |
|
protected |
The documentation for this struct was generated from the following file: