QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
21 double topologyTolerance,
const QString &ellipsoidID )
23 , mCtfEnabled( ctfEnabled )
24 , mTopologyTolerance( topologyTolerance )
38 const QVector<QVariant> &strategies )
44 Q_UNUSED( strategies )
const QgsCoordinateReferenceSystem & crs
static QgsProject * instance()
Returns the QgsProject singleton instance.
virtual void addEdge(int pt1id, const QgsPointXY &pt1, int pt2id, const QgsPointXY &pt2, const QVector< QVariant > &strategies)
Add edge to the graph.
bool setEllipsoid(const QString &ellipsoid)
Sets the ellipsoid by its acronym.
QgsGraphBuilderInterface(const QgsCoordinateReferenceSystem &crs, bool ctfEnabled=true, double topologyTolerance=0.0, const QString &ellipsoidID="WGS84")
Default constructor.
void setSourceCrs(const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &context)
Sets source spatial reference system crs.
This class represents a coordinate reference system (CRS).
A class to represent a 2D point.
virtual void addVertex(int id, const QgsPointXY &pt)
Add vertex to the graph.