27     : mGeometry( geometry.geometry() )
    45     for ( 
int i = 0; i < multiCurve->
partCount(); ++i )
    47       linesToProcess << static_cast<QgsLineStringV2*>( multiCurve->
geometryN( i )->
clone() );
    54     linesToProcess << static_cast<QgsLineStringV2*>( curve->segmentize() );
    60   if ( !linesToProcess.
empty() )
    69       line->
append( secondline );
    76         multipolygon->addGeometry( polygon );
 
QgsInternalGeometryEngine(const QgsGeometry &geometry)
The caller is responsible that the geometry is available and unchanged for the whole lifetime of this...
Multi curve geometry collection. 
A geometry is the spatial representation of a feature. 
void append(const QgsLineStringV2 *line)
Appends the contents of another line string to the end of this line string. 
const QgsAbstractGeometryV2 * geometryN(int n) const
Returns a const reference to a geometry from within the collection. 
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. 
QgsGeometry extrude(double x, double y)
Will extrude a line or (segmentized) curve by a given offset and return a polygon representation of i...
virtual int partCount() const override
Returns count of parts contained in the geometry. 
void addVertex(const QgsPointV2 &pt)
Adds a new vertex to the end of the line string. 
void transform(const QgsCoordinateTransform &ct, QgsCoordinateTransform::TransformDirection d=QgsCoordinateTransform::ForwardTransform, bool transformZ=false) override
Transforms the geometry using a coordinate transform. 
virtual QgsLineStringV2 * reversed() const override
Returns a reversed copy of the curve, where the direction of the curve has been flipped. 
Multi polygon geometry collection. 
virtual QgsAbstractGeometryV2 * clone() const =0
Clones the geometry by performing a deep copy. 
Abstract base class for curved geometry type. 
QgsPointV2 pointN(int i) const
Returns the specified point from inside the line string.