QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
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() );
199 #endif // QGSREFERENCEDGEOMETRY_H
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
A QgsRectangle with associated coordinate reference system.
const QgsCoordinateReferenceSystem & crs
A QgsGeometry with associated coordinate reference system.
QgsReferencedGeometry()=default
Constructor for QgsReferencedGeometry.
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
A rectangle specified with double values.
Q_DECLARE_METATYPE(QgsMeshTimeSettings)
QgsReferencedRectangle()=default
Constructor for QgsReferencedRectangle.
bool operator==(const QgsRectangle &r1) const
Comparison operator.
QgsReferencedPointXY()=default
Constructor for QgsReferencedPointXY.
void setCrs(const QgsCoordinateReferenceSystem &crs)
Sets the associated crs.
This class represents a coordinate reference system (CRS).
A QgsPointXY with associated coordinate reference system.
A class to represent a 2D point.
QgsCoordinateReferenceSystem crs() const
Returns the associated coordinate reference system, or an invalid CRS if no reference system is set.
bool operator!=(const QgsRectangle &r1) const
Comparison operator.
A base class for geometry primitives which are stored with an associated reference system.
A geometry is the spatial representation of a feature.