16#ifndef QGSGRAPHBUILDER_H
17#define QGSGRAPHBUILDER_H
19#include "qgis_analysis.h"
Represents a coordinate reference system (CRS).
A general purpose distance and area calculator, capable of performing ellipsoid based calculations.
virtual void addVertex(int id, const QgsPointXY &pt)
Add vertex to the graph.
QgsGraphBuilderInterface(const QgsCoordinateReferenceSystem &crs, bool ctfEnabled=true, double topologyTolerance=0.0, const QString &ellipsoidID="WGS84")
Default constructor.
virtual void addEdge(int pt1id, const QgsPointXY &pt1, int pt2id, const QgsPointXY &pt2, const QVector< QVariant > &strategies)
Add edge to the graph.
double topologyTolerance() const
Returns topology tolerance.
~QgsGraphBuilder() override
QgsGraphBuilder(const QgsCoordinateReferenceSystem &crs, bool otfEnabled=true, double topologyTolerance=0.0, const QString &ellipsoidID="WGS84")
Default constructor.
QgsGraph * takeGraph()
Takes the generated graph from the builder, resetting the builder back to its initial state ready for...
QgsGraph graph() const
Returns the generated QgsGraph.
Mathematical graph representation.
#define SIP_NODEFAULTCTORS