18#ifndef QGSREFERENCEDGEOMETRY_H
19#define QGSREFERENCEDGEOMETRY_H
29using namespace Qt::StringLiterals;
86 operator QVariant() const
88 return QVariant::fromValue( *
this );
96 SIP_PYOBJECT __repr__();
98 QString str = u
"<QgsReferencedRectangle: %1 (%2)>"_s.arg( sipCpp->asWktCoordinates(), sipCpp->crs().authid() );
99 sipRes = PyUnicode_FromString( str.toUtf8().constData() );
123 operator QVariant()
const {
return QVariant::fromValue( *
this ); }
130 SIP_PYOBJECT __repr__();
132 QString str = u
"<QgsReferencedPointXY: %1 (%2)>"_s.arg( sipCpp->asWkt(), sipCpp->crs().authid() );
133 sipRes = PyUnicode_FromString( str.toUtf8().constData() );
158 operator QVariant() const
160 return QVariant::fromValue( *
this );
179 SIP_PYOBJECT __repr__();
181 QString str = u
"<QgsReferencedGeometry: %1 (%2)>"_s.arg( sipCpp->asWkt(), sipCpp->crs().authid() );
182 sipRes = PyUnicode_FromString( str.toUtf8().constData() );
Represents a coordinate reference system (CRS).
QgsRectangle()=default
Constructor for a null rectangle.
QgsCoordinateReferenceSystem crs() const
Returns the associated coordinate reference system, or an invalid CRS if no reference system is set.
QgsReferencedGeometryBase(const QgsCoordinateReferenceSystem &crs=QgsCoordinateReferenceSystem())
Constructor for QgsReferencedGeometryBase, with the specified crs.
void setCrs(const QgsCoordinateReferenceSystem &crs)
Sets the associated crs.
A QgsGeometry with associated coordinate reference system.
QgsReferencedGeometry(const QgsGeometry &geometry, const QgsCoordinateReferenceSystem &crs)
Constructor for QgsReferencedGeometry, with the specified initial geometry and crs.
QgsReferencedGeometry()=default
A QgsPointXY with associated coordinate reference system.
QgsReferencedPointXY(const QgsPointXY &point, const QgsCoordinateReferenceSystem &crs)
Constructor for QgsReferencedPointXY, with the specified initial point and crs.
QgsReferencedPointXY()=default
A QgsRectangle with associated coordinate reference system.
QgsReferencedRectangle(const QgsRectangle &rectangle, const QgsCoordinateReferenceSystem &crs)
Constructor for QgsReferencedRectangle, with the specified initial rectangle and crs.
QgsReferencedRectangle()=default
Q_DECLARE_METATYPE(QgsDatabaseQueryLogEntry)
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)