20#include "moc_qgsreferencedgeometry.cpp"
38 return !( *
this == other );
53 return !( *
this == other );
63 return ( ( this->
isNull() && other.
isNull() ) || this->equals( other ) ) &&
crs() == other.
crs();
68 return !( *
this == other );
Represents a coordinate reference system (CRS).
static QgsGeometry fromRect(const QgsRectangle &rect)
Creates a new geometry from a QgsRectangle.
static QgsGeometry fromPointXY(const QgsPointXY &point)
Creates a new geometry from a QgsPointXY object.
bool operator==(const QgsPointXY &other) const
QgsRectangle()=default
Constructor for a null rectangle.
bool operator==(const QgsRectangle &r1) const
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.
bool operator==(const QgsReferencedGeometry &other) const
QgsReferencedGeometry(const QgsGeometry &geometry, const QgsCoordinateReferenceSystem &crs)
Constructor for QgsReferencedGeometry, with the specified initial geometry and crs.
QgsReferencedGeometry()=default
bool operator!=(const QgsReferencedGeometry &other) const
static QgsReferencedGeometry fromReferencedPointXY(const QgsReferencedPointXY &point)
Construct a new QgsReferencedGeometry from referenced point.
static QgsReferencedGeometry fromReferencedRect(const QgsReferencedRectangle &rectangle)
Construct a new QgsReferencedGeometry from referenced rectangle.
A QgsPointXY with associated coordinate reference system.
QgsReferencedPointXY(const QgsPointXY &point, const QgsCoordinateReferenceSystem &crs)
Constructor for QgsReferencedPointXY, with the specified initial point and crs.
bool operator!=(const QgsReferencedPointXY &other)
QgsReferencedPointXY()=default
bool operator==(const QgsReferencedPointXY &other)
A QgsRectangle with associated coordinate reference system.
bool operator!=(const QgsReferencedRectangle &other) const
bool operator==(const QgsReferencedRectangle &other) const
QgsReferencedRectangle(const QgsRectangle &rectangle, const QgsCoordinateReferenceSystem &crs)
Constructor for QgsReferencedRectangle, with the specified initial rectangle and crs.
QgsReferencedRectangle()=default