QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
Classes | Typedefs | Functions
qgsgeometry.cpp File Reference
#include <limits>
#include <cstdarg>
#include <cstdio>
#include <cmath>
#include <nlohmann/json.hpp>
#include <QCache>
#include "qgis.h"
#include "qgsgeometry.h"
#include "qgsgeometryeditutils.h"
#include "qgsgeometryfactory.h"
#include <geos_c.h>
#include "qgsgeometryutils.h"
#include "qgsinternalgeometryengine.h"
#include "qgsgeos.h"
#include "qgsmaptopixel.h"
#include "qgspointxy.h"
#include "qgsrectangle.h"
#include "qgsvectorlayer.h"
#include "qgsgeometryvalidator.h"
#include "qgsmultilinestring.h"
#include "qgsmultipoint.h"
#include "qgsmultipolygon.h"
#include "qgspoint.h"
#include "qgspolygon.h"
#include "qgslinestring.h"
#include "qgscircle.h"
#include "qgscurve.h"
Include dependency graph for qgsgeometry.cpp:

Go to the source code of this file.

Classes

struct  QgsGeometryPrivate
 

Typedefs

typedef QCache< QString, QgsGeometryWktCache
 

Functions

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...
 
 Q_GLOBAL_STATIC_WITH_ARGS (WktCache, sWktCache,(2000)) QgsGeometry QgsGeometry
 
std::unique_ptr< QgsLineStringsmoothCurve (const QgsLineString &line, const unsigned int iterations, const double offset, double squareDistThreshold, double maxAngleRads, bool isRing)
 

Typedef Documentation

◆ WktCache

typedef QCache< QString, QgsGeometry > WktCache

Definition at line 152 of file qgsgeometry.cpp.

Function Documentation

◆ operator<<()

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

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

Definition at line 3981 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 3987 of file qgsgeometry.cpp.

◆ Q_GLOBAL_STATIC_WITH_ARGS()

Q_GLOBAL_STATIC_WITH_ARGS ( WktCache  ,
sWktCache  ,
(2000)   
)

Definition at line 153 of file qgsgeometry.cpp.

◆ smoothCurve()

std::unique_ptr< QgsLineString > smoothCurve ( const QgsLineString line,
const unsigned int  iterations,
const double  offset,
double  squareDistThreshold,
double  maxAngleRads,
bool  isRing 
)

Definition at line 3548 of file qgsgeometry.cpp.