Class: QgsReferencedGeometry

class qgis.core.QgsReferencedGeometry(geometry: QgsGeometry, crs: QgsCoordinateReferenceSystem)

Bases: QgsGeometry, QgsReferencedGeometryBase

Constructor for QgsReferencedGeometry, with the specified initial geometry and crs.

QgsReferencedGeometry() Constructor for QgsReferencedGeometry.

QgsReferencedGeometry(QgsReferencedGeometry)

A QgsGeometry with associated coordinate reference system.

New in version 3.16.

Parameters
fromReferencedPointXY(point: QgsReferencedPointXY)QgsReferencedGeometry

Construct a new QgsReferencedGeometry from referenced point

Parameters

point (QgsReferencedPointXY) –

Return type

QgsReferencedGeometry

fromReferencedRect(rectangle: QgsReferencedRectangle)QgsReferencedGeometry

Construct a new QgsReferencedGeometry from referenced rectangle

Parameters

rectangle (QgsReferencedRectangle) –

Return type

QgsReferencedGeometry