18#ifndef QGSREFERENCEDGEOMETRY_H
19#define QGSREFERENCEDGEOMETRY_H
84 operator QVariant() const
86 return QVariant::fromValue( *
this );
93 SIP_PYOBJECT __repr__();
95 QString
str = QStringLiteral(
"<QgsReferencedRectangle: %1 (%2)>" ).arg( sipCpp->asWktCoordinates(), sipCpp->crs().authid() );
96 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
121 operator QVariant()
const
123 return QVariant::fromValue( *
this );
130 SIP_PYOBJECT __repr__();
132 QString
str = QStringLiteral(
"<QgsReferencedPointXY: %1 (%2)>" ).arg( sipCpp->asWkt(), sipCpp->crs().authid() );
133 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
159 operator QVariant() const
161 return QVariant::fromValue( *
this );
179 SIP_PYOBJECT __repr__();
181 QString
str = QStringLiteral(
"<QgsReferencedGeometry: %1 (%2)>" ).arg( sipCpp->asWkt(), sipCpp->crs().authid() );
182 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
A QgsPointXY with associated coordinate reference system.
QgsReferencedPointXY()=default
A QgsRectangle with associated coordinate reference system.
QgsReferencedRectangle()=default
Q_DECLARE_METATYPE(QgsDatabaseQueryLogEntry)
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
const QgsCoordinateReferenceSystem & crs