QGIS API Documentation  3.2.0-Bonn (bc43194)
qgsreferencedgeometry.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  qgsreferencedgeometry.cpp
3  ------------------------
4  begin : June 2017
5  copyright : (C) 2017 by Nyall Dawson
6  email : nyall dot dawson at gmail dot com
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #include "qgsreferencedgeometry.h"
19 
21  : mCrs( crs )
22 {}
23 
25  : QgsRectangle( rect )
27 {}
28 
30  : QgsPointXY( point )
32 {}
A rectangle specified with double values.
Definition: qgsrectangle.h:40
A class to represent a 2D point.
Definition: qgspointxy.h:43
QgsReferencedGeometryBase(const QgsCoordinateReferenceSystem &crs=QgsCoordinateReferenceSystem())
Constructor for QgsReferencedGeometryBase, with the specified crs.
QgsCoordinateReferenceSystem crs() const
Returns the associated coordinate reference system, or an invalid CRS if no reference system is set...
QgsReferencedPointXY()=default
Constructor for QgsReferencedPointXY.
This class represents a coordinate reference system (CRS).
QgsReferencedRectangle()=default
Constructor for QgsReferencedRectangle.
A base class for geometry primitives which are stored with an associated reference system...