16 #ifndef QGSGRAPHBUILDERINTERFACE_H 17 #define QGSGRAPHBUILDERINTERFACE_H 26 #include "qgis_analysis.h" 45 if ( dynamic_cast< QgsGraphBuilder * >( sipCpp ) != NULL )
46 sipType = sipType_QgsGraphBuilder;
63 , mCtfEnabled( ctfEnabled )
64 , mTopologyTolerance( topologyTolerance )
67 mDa.setEllipsoid( ellipsoidID );
87 return mTopologyTolerance;
123 Q_UNUSED( strategies );
133 double mTopologyTolerance;
139 #endif // QGSGRAPHBUILDERINTERFACE_H
bool coordinateTransformationEnabled()
Returns coordinate transformation enabled.
A class to represent a 2D point.
Determine interface for creating a 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.
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.
static QgsProject * instance()
Returns the QgsProject singleton instance.
This class represents a coordinate reference system (CRS).
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
double topologyTolerance()
Returns topology tolerance.
QgsCoordinateReferenceSystem destinationCrs() const
Returns destinaltion CRS.
QgsDistanceArea * distanceArea()
Returns measurement tool.