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