18 #ifndef QGSREFERENCEDGEOMETRY_H 19 #define QGSREFERENCEDGEOMETRY_H 22 #include "qgis_core.h" 88 operator QVariant()
const 90 return QVariant::fromValue( *
this );
97 SIP_PYOBJECT __repr__();
99 QString str = QStringLiteral(
"<QgsReferencedRectangle: %1 (%2)>" ).arg( sipCpp->asWktCoordinates(), sipCpp->crs().authid() );
100 sipRes = PyUnicode_FromString( str.toUtf8().constData() );
129 operator QVariant()
const 131 return QVariant::fromValue( *
this );
138 SIP_PYOBJECT __repr__();
140 QString str = QStringLiteral(
"<QgsReferencedPointXY: %1 (%2)>" ).arg( sipCpp->asWkt(), sipCpp->crs().authid() );
141 sipRes = PyUnicode_FromString( str.toUtf8().constData() );
149 #endif // QGSREFERENCEDGEOMETRY_H A rectangle specified with double values.
A class to represent a 2D point.
A QgsPointXY with associated coordinate reference system.
const QgsCoordinateReferenceSystem & crs
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.
Q_DECLARE_METATYPE(QgsMeshTimeSettings)
A QgsRectangle with associated coordinate reference system.
bool operator==(const QgsRectangle &r1) const
Comparison operator.
This class represents a coordinate reference system (CRS).
A base class for geometry primitives which are stored with an associated reference system...
bool operator!=(const QgsRectangle &r1) const
Comparison operator.