50   wkbPtr -= 1 + 
sizeof( int );
    77   if ( text.
startsWith( 
"Point", Qt::CaseInsensitive ) )
    81   else if ( text.
startsWith( 
"LineString", Qt::CaseInsensitive ) )
    85   else if ( text.
startsWith( 
"CircularString", Qt::CaseInsensitive ) )
    89   else if ( text.
startsWith( 
"CompoundCurve" , Qt::CaseInsensitive ) )
    93   else if ( text.
startsWith( 
"Polygon", Qt::CaseInsensitive ) )
    97   else if ( text.
startsWith( 
"CurvePolygon", Qt::CaseInsensitive ) )
   101   else if ( text.
startsWith( 
"MultiPoint", Qt::CaseInsensitive ) )
   105   else if ( text.
startsWith( 
"MultiCurve", Qt::CaseInsensitive ) )
   109   else if ( text.
startsWith( 
"MultiLineString", Qt::CaseInsensitive ) )
   113   else if ( text.
startsWith( 
"MultiSurface", Qt::CaseInsensitive ) )
   117   else if ( text.
startsWith( 
"MultiPolygon", Qt::CaseInsensitive ) )
   121   else if ( text.
startsWith( 
"GeometryCollection", Qt::CaseInsensitive ) )
   146   for ( ; ptIt != multipoint.
constEnd(); ++ptIt )
   156   return linestringFromPolyline( polyline );
   162   for ( 
int i = 0; i < multiline.
size(); ++i )
   174   for ( 
int i = 0; i < polygon.
size(); ++i )
   195   for ( 
int i = 0; i < multipoly.
size(); ++i )
   223   for ( ; it != polyline.
constEnd(); ++it )
 
virtual bool addGeometry(QgsAbstractGeometryV2 *g) override
Adds a geometry and takes ownership. 
 
void close()
Closes the line string by appending the first point to the end of the line, if it is not already clos...
 
void setInteriorRings(const QList< QgsCurveV2 *> &rings)
Sets all interior rings (takes ownership) 
 
A rectangle specified with double values. 
 
void append(const T &value)
 
void push_back(const T &value)
 
virtual bool addGeometry(QgsAbstractGeometryV2 *g) override
Adds a geometry and takes ownership. 
 
Circular string geometry type. 
 
Multi curve geometry collection. 
 
const_iterator constEnd() const
 
static QgsAbstractGeometryV2 * fromPolygon(const QgsPolygon &polygon)
Construct geometry from a polygon. 
 
Abstract base class for all geometries. 
 
Multi point geometry collection. 
 
static QgsAbstractGeometryV2 * fromPolyline(const QgsPolyline &polyline)
Construct geometry from a polyline. 
 
virtual bool addGeometry(QgsAbstractGeometryV2 *g) override
Adds a geometry and takes ownership. 
 
static QgsAbstractGeometryV2 * fromPoint(const QgsPoint &point)
Construct geometry from a point. 
 
static QgsAbstractGeometryV2 * fromMultiPolygon(const QgsMultiPolygon &multipoly)
Construct geometry from a multipolygon. 
 
static QgsAbstractGeometryV2 * geomFromWkb(QgsConstWkbPtr wkb)
Construct geometry from a WKB string. 
 
Multi line string geometry collection. 
 
double y() const
Get the y value of the point. 
 
static QgsAbstractGeometryV2 * geomFromWkt(const QString &text)
Construct geometry from a WKT string. 
 
static QgsAbstractGeometryV2 * fromMultiPoint(const QgsMultiPoint &multipoint)
Construct geometry from a multipoint. 
 
void append(const T &value)
 
virtual void setExteriorRing(QgsCurveV2 *ring) override
Sets the exterior ring of the polygon. 
 
Line string geometry type, with support for z-dimension and m-values. 
 
virtual bool fromWkb(QgsConstWkbPtr wkb)=0
Sets the geometry from a WKB string. 
 
void setPoints(const QgsPointSequenceV2 &points)
Resets the line string to match the specified list of points. 
 
Point geometry type, with support for z-dimension and m-values. 
 
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
 
Multi surface geometry collection. 
 
static QgsAbstractGeometryV2 * geomFromWkbType(QgsWKBTypes::Type t)
Return empty geometry from wkb type. 
 
virtual bool fromWkt(const QString &wkt)=0
Sets the geometry from a WKT string. 
 
A class to represent a point. 
 
Compound curve geometry type. 
 
double yMinimum() const
Get the y minimum value (bottom side of rectangle) 
 
double xMaximum() const
Get the x maximum value (right side of rectangle) 
 
const T & at(int i) const
 
const_iterator constBegin() const
 
static QgsAbstractGeometryV2 * fromRect(const QgsRectangle &rect)
Construct geometry from a rectangle. 
 
double xMinimum() const
Get the x minimum value (left side of rectangle) 
 
static QgsAbstractGeometryV2 * fromMultiPolyline(const QgsMultiPolyline &multiline)
Construct geometry from a multipolyline. 
 
static Type flatType(Type type)
Returns the flat type for a WKB type. 
 
Multi polygon geometry collection. 
 
double yMaximum() const
Get the y maximum value (top side of rectangle) 
 
Curve polygon geometry type. 
 
QgsWKBTypes::Type readHeader() const
 
double x() const
Get the x value of the point.