18#ifndef QGSREFERENCEDGEOMETRY_H
19#define QGSREFERENCEDGEOMETRY_H
86 operator QVariant() const
88 return QVariant::fromValue( *
this );
95 SIP_PYOBJECT __repr__();
97 QString str = QStringLiteral(
"<QgsReferencedRectangle: %1 (%2)>" ).arg( sipCpp->asWktCoordinates(), sipCpp->crs().authid() );
98 sipRes = PyUnicode_FromString( str.toUtf8().constData() );
123 operator QVariant()
const
125 return QVariant::fromValue( *
this );
132 SIP_PYOBJECT __repr__();
134 QString str = QStringLiteral(
"<QgsReferencedPointXY: %1 (%2)>" ).arg( sipCpp->asWkt(), sipCpp->crs().authid() );
135 sipRes = PyUnicode_FromString( str.toUtf8().constData() );
161 operator QVariant() const
163 return QVariant::fromValue( *
this );
181 SIP_PYOBJECT __repr__();
183 QString str = QStringLiteral(
"<QgsReferencedGeometry: %1 (%2)>" ).arg( sipCpp->asWkt(), sipCpp->crs().authid() );
184 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