QGIS API Documentation
2.14.0-Essen
|
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!= (QgsVertexId other) const |
bool | operator== (QgsVertexId other) const |
bool | partEqual (QgsVertexId o) const |
bool | ringEqual (QgsVertexId o) const |
bool | vertexEqual (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 376 of file qgsabstractgeometryv2.h.
Enumerator | |
---|---|
SegmentVertex | |
CurveVertex |
Definition at line 378 of file qgsabstractgeometryv2.h.
|
inline |
Definition at line 384 of file qgsabstractgeometryv2.h.
|
inline |
Returns true if the vertex id is valid.
Definition at line 389 of file qgsabstractgeometryv2.h.
|
inline |
Definition at line 411 of file qgsabstractgeometryv2.h.
|
inline |
Definition at line 395 of file qgsabstractgeometryv2.h.
|
inline |
Definition at line 391 of file qgsabstractgeometryv2.h.
|
inline |
Definition at line 399 of file qgsabstractgeometryv2.h.
|
inline |
Definition at line 403 of file qgsabstractgeometryv2.h.
|
inline |
Definition at line 407 of file qgsabstractgeometryv2.h.
int QgsVertexId::part |
Definition at line 418 of file qgsabstractgeometryv2.h.
int QgsVertexId::ring |
Definition at line 419 of file qgsabstractgeometryv2.h.
VertexType QgsVertexId::type |
Definition at line 421 of file qgsabstractgeometryv2.h.
int QgsVertexId::vertex |
Definition at line 420 of file qgsabstractgeometryv2.h.