QGIS API Documentation
3.10.0-A Coruña (6c816b4204)
|
Utility class for identifying a unique vertex within a geometry. More...
#include <qgsabstractgeometry.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 QgsAbstractGeometry *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 1009 of file qgsabstractgeometry.h.
Enumerator | |
---|---|
SegmentVertex | |
CurveVertex |
Definition at line 1011 of file qgsabstractgeometry.h.
|
inlineexplicit |
Definition at line 1017 of file qgsabstractgeometry.h.
|
inline |
Returns true
if the vertex id is valid.
Definition at line 1027 of file qgsabstractgeometry.h.
|
inline |
Definition at line 1049 of file qgsabstractgeometry.h.
|
inline |
Definition at line 1033 of file qgsabstractgeometry.h.
|
inline |
Definition at line 1029 of file qgsabstractgeometry.h.
|
inline |
Definition at line 1037 of file qgsabstractgeometry.h.
|
inline |
Definition at line 1041 of file qgsabstractgeometry.h.
|
inline |
Definition at line 1045 of file qgsabstractgeometry.h.
int QgsVertexId::part |
Definition at line 1056 of file qgsabstractgeometry.h.
int QgsVertexId::ring |
Definition at line 1057 of file qgsabstractgeometry.h.
VertexType QgsVertexId::type |
Definition at line 1059 of file qgsabstractgeometry.h.
int QgsVertexId::vertex |
Definition at line 1058 of file qgsabstractgeometry.h.