QGIS API Documentation  2.14.11-Essen
Public Member Functions | List of all members
QgsInternalGeometryEngine Class Reference

This class offers geometry processing methods. More...

#include <qgsinternalgeometryengine.h>

Public Member Functions

 QgsInternalGeometryEngine (const QgsGeometry &geometry)
 The caller is responsible that the geometry is available and unchanged for the whole lifetime of this object. More...
 
QgsGeometry extrude (double x, double y)
 Will extrude a line or (segmentized) curve by a given offset and return a polygon representation of it. More...
 

Detailed Description

This class offers geometry processing methods.

The methods are available via QgsGeometry::[geometryfunction] and therefore this does not need to be accessed directly.

Note
not available in Python bindings

Definition at line 30 of file qgsinternalgeometryengine.h.

Constructor & Destructor Documentation

◆ QgsInternalGeometryEngine()

QgsInternalGeometryEngine::QgsInternalGeometryEngine ( const QgsGeometry &  geometry)

The caller is responsible that the geometry is available and unchanged for the whole lifetime of this object.

Parameters
geometry

Definition at line 26 of file qgsinternalgeometryengine.cpp.

Member Function Documentation

◆ extrude()

QgsGeometry QgsInternalGeometryEngine::extrude ( double  x,
double  y 
)

Will extrude a line or (segmentized) curve by a given offset and return a polygon representation of it.

Parameters
xoffset in x direction
yoffset in y direction
Returns
an extruded polygon

Definition at line 38 of file qgsinternalgeometryengine.cpp.


The documentation for this class was generated from the following files: