QGIS API Documentation
2.14.0-Essen
|
#include <qgspointlocator.h>
Public Member Functions | |
Match () | |
consruct invalid match More... | |
Match (Type t, QgsVectorLayer *vl, QgsFeatureId fid, double dist, const QgsPoint &pt, int vertexIndex=0, QgsPoint *edgePoints=nullptr) | |
double | distance () const |
for vertex / edge match units depending on what class returns it (geom.cache: layer units, map canvas snapper: dest crs units) More... | |
void | edgePoints (QgsPoint &pt1, QgsPoint &pt2) const |
Only for a valid edge match - obtain endpoints of the edge. More... | |
QgsFeatureId | featureId () const |
bool | hasArea () const |
bool | hasEdge () const |
bool | hasVertex () const |
bool | isValid () const |
QgsVectorLayer * | layer () const |
reference vector layer More... | |
QgsPoint | point () const |
for vertex / edge match coords depending on what class returns it (geom.cache: layer coords, map canvas snapper: dest coords) More... | |
Type | type () const |
int | vertexIndex () const |
for vertex / edge match (first vertex of the edge) More... | |
Protected Attributes | |
double | mDist |
QgsPoint | mEdgePoints [2] |
QgsFeatureId | mFid |
QgsVectorLayer * | mLayer |
QgsPoint | mPoint |
Type | mType |
int | mVertexIndex |
Definition at line 95 of file qgspointlocator.h.
|
inline |
consruct invalid match
Definition at line 98 of file qgspointlocator.h.
|
inline |
Definition at line 100 of file qgspointlocator.h.
|
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 119 of file qgspointlocator.h.
Only for a valid edge match - obtain endpoints of the edge.
Definition at line 134 of file qgspointlocator.h.
|
inline |
Definition at line 131 of file qgspointlocator.h.
|
inline |
Definition at line 115 of file qgspointlocator.h.
|
inline |
Definition at line 114 of file qgspointlocator.h.
|
inline |
Definition at line 113 of file qgspointlocator.h.
|
inline |
Definition at line 112 of file qgspointlocator.h.
|
inline |
reference vector layer
Definition at line 129 of file qgspointlocator.h.
|
inline |
for vertex / edge match coords depending on what class returns it (geom.cache: layer coords, map canvas snapper: dest coords)
Definition at line 123 of file qgspointlocator.h.
|
inline |
Definition at line 110 of file qgspointlocator.h.
|
inline |
for vertex / edge match (first vertex of the edge)
Definition at line 126 of file qgspointlocator.h.
|
protected |
Definition at line 142 of file qgspointlocator.h.
|
protected |
Definition at line 147 of file qgspointlocator.h.
|
protected |
Definition at line 145 of file qgspointlocator.h.
|
protected |
Definition at line 144 of file qgspointlocator.h.
|
protected |
Definition at line 143 of file qgspointlocator.h.
|
protected |
Definition at line 141 of file qgspointlocator.h.
|
protected |
Definition at line 146 of file qgspointlocator.h.