QGIS API Documentation  2.99.0-Master (8ec3eaf)
Classes | Functions
qgsgeometry.cpp File Reference
#include <limits>
#include <cstdarg>
#include <cstdio>
#include <cmath>
#include "qgis.h"
#include "qgsgeometry.h"
#include "qgsgeometryeditutils.h"
#include "qgsgeometryfactory.h"
#include "qgsgeometryutils.h"
#include "qgsinternalgeometryengine.h"
#include "qgsgeos.h"
#include "qgsapplication.h"
#include "qgslogger.h"
#include "qgsmaptopixel.h"
#include "qgsmessagelog.h"
#include "qgspoint.h"
#include "qgsrectangle.h"
#include "qgsmaplayerregistry.h"
#include "qgsvectorlayer.h"
#include "qgsproject.h"
#include "qgsgeometryvalidator.h"
#include "qgsmulticurve.h"
#include "qgsmultilinestring.h"
#include "qgsmultipoint.h"
#include "qgsmultipolygon.h"
#include "qgsmultisurface.h"
#include "qgspointv2.h"
#include "qgspolygon.h"
#include "qgslinestring.h"
Include dependency graph for qgsgeometry.cpp:

Go to the source code of this file.

Classes

struct  QgsGeometryPrivate
 

Functions

QgsPointV2 interpolatePointOnLine (const QgsPointV2 &p1, const QgsPointV2 &p2, const double offset)
 
QDataStream & operator<< (QDataStream &out, const QgsGeometry &geometry)
 Writes the geometry to stream out. QGIS version compatibility is not guaranteed. More...
 
QDataStream & operator>> (QDataStream &in, QgsGeometry &geometry)
 Reads a geometry from stream in into geometry. QGIS version compatibility is not guaranteed. More...
 
QgsLineStringsmoothCurve (const QgsLineString &line, const unsigned int iterations, const double offset, double squareDistThreshold, double maxAngleRads, bool isRing)
 

Function Documentation

§ interpolatePointOnLine()

QgsPointV2 interpolatePointOnLine ( const QgsPointV2 p1,
const QgsPointV2 p2,
const double  offset 
)
inline

Definition at line 2277 of file qgsgeometry.cpp.

§ operator<<()

QDataStream& operator<< ( QDataStream &  out,
const QgsGeometry geometry 
)

Writes the geometry to stream out. QGIS version compatibility is not guaranteed.

Definition at line 2715 of file qgsgeometry.cpp.

§ operator>>()

QDataStream& operator>> ( QDataStream &  in,
QgsGeometry geometry 
)

Reads a geometry from stream in into geometry. QGIS version compatibility is not guaranteed.

Definition at line 2721 of file qgsgeometry.cpp.

§ smoothCurve()

QgsLineString* smoothCurve ( const QgsLineString line,
const unsigned int  iterations,
const double  offset,
double  squareDistThreshold,
double  maxAngleRads,
bool  isRing 
)

Definition at line 2284 of file qgsgeometry.cpp.