18 #ifndef QGSREFERENCEDGEOMETRY_H
19 #define QGSREFERENCEDGEOMETRY_H
22 #include "qgis_core.h"
89 operator QVariant()
const
91 return QVariant::fromValue( *
this );
98 SIP_PYOBJECT __repr__();
100 QString
str = QStringLiteral(
"<QgsReferencedRectangle: %1 (%2)>" ).arg( sipCpp->asWktCoordinates(), sipCpp->crs().authid() );
101 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
130 operator QVariant()
const
132 return QVariant::fromValue( *
this );
139 SIP_PYOBJECT __repr__();
141 QString
str = QStringLiteral(
"<QgsReferencedPointXY: %1 (%2)>" ).arg( sipCpp->asWkt(), sipCpp->crs().authid() );
142 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
171 operator QVariant()
const
173 return QVariant::fromValue( *
this );
188 SIP_PYOBJECT __repr__();
190 QString
str = QStringLiteral(
"<QgsReferencedGeometry: %1 (%2)>" ).arg( sipCpp->asWkt(), sipCpp->crs().authid() );
191 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
This class represents a coordinate reference system (CRS).
A geometry is the spatial representation of a feature.
A class to represent a 2D point.
A rectangle specified with double values.
A base class for geometry primitives which are stored with an associated reference system.
QgsCoordinateReferenceSystem crs() const
Returns the associated coordinate reference system, or an invalid CRS if no reference system is set.
void setCrs(const QgsCoordinateReferenceSystem &crs)
Sets the associated crs.
A QgsGeometry with associated coordinate reference system.
QgsReferencedGeometry()=default
Constructor for QgsReferencedGeometry.
A QgsPointXY with associated coordinate reference system.
QgsReferencedPointXY()=default
Constructor for QgsReferencedPointXY.
A QgsRectangle with associated coordinate reference system.
QgsReferencedRectangle()=default
Constructor for QgsReferencedRectangle.
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
Q_DECLARE_METATYPE(QgsMeshTimeSettings)
const QgsCoordinateReferenceSystem & crs