QGIS API Documentation
2.12.0-Lyon
|
Utility class for identifying a unique vertex within a geometry. More...
#include <qgsabstractgeometryv2.h>
Public Types | |
enum | VertexType { SegmentVertex = 1, CurveVertex } |
Public Member Functions | |
QgsVertexId (int _part=-1, int _ring=-1, int _vertex=-1, VertexType _type=SegmentVertex) | |
bool | isValid () const |
Returns true if the vertex id is valid. More... | |
bool | isValid (const QgsAbstractGeometryV2 *geom) const |
bool | operator!= (const QgsVertexId &other) const |
bool | operator== (const QgsVertexId &other) const |
bool | partEqual (const QgsVertexId &o) const |
bool | ringEqual (const QgsVertexId &o) const |
bool | vertexEqual (const QgsVertexId &o) const |
Public Attributes | |
int | part |
int | ring |
VertexType | type |
int | vertex |
Utility class for identifying a unique vertex within a geometry.
Definition at line 346 of file qgsabstractgeometryv2.h.
Enumerator | |
---|---|
SegmentVertex | |
CurveVertex |
Definition at line 348 of file qgsabstractgeometryv2.h.
|
inline |
Definition at line 354 of file qgsabstractgeometryv2.h.
|
inline |
Returns true if the vertex id is valid.
Definition at line 359 of file qgsabstractgeometryv2.h.
|
inline |
Definition at line 381 of file qgsabstractgeometryv2.h.
|
inline |
Definition at line 365 of file qgsabstractgeometryv2.h.
|
inline |
Definition at line 361 of file qgsabstractgeometryv2.h.
|
inline |
Definition at line 369 of file qgsabstractgeometryv2.h.
|
inline |
Definition at line 373 of file qgsabstractgeometryv2.h.
|
inline |
Definition at line 377 of file qgsabstractgeometryv2.h.
int QgsVertexId::part |
Definition at line 388 of file qgsabstractgeometryv2.h.
int QgsVertexId::ring |
Definition at line 389 of file qgsabstractgeometryv2.h.
VertexType QgsVertexId::type |
Definition at line 391 of file qgsabstractgeometryv2.h.
int QgsVertexId::vertex |
Definition at line 390 of file qgsabstractgeometryv2.h.