15 #ifndef QGSGRAPHBUILDERINTERFACE 16 #define QGSGRAPHBUILDERINTERFACE 46 , mCtfEnabled( ctfEnabled )
47 , mTopologyTolerance( topologyTolerance )
49 mDa.setSourceCrs( mCrs.srsid() );
50 mDa.setEllipsoid( ellipsoidID );
51 mDa.setEllipsoidalMode( ctfEnabled );
73 return mTopologyTolerance;
109 Q_UNUSED( properties );
119 double mTopologyTolerance;
122 #endif //QGSGRAPHBUILDERINTERFACE virtual ~QgsGraphBuilderInterface()
Destructor.
virtual void addVertex(int id, const QgsPoint &pt)
add vertex
bool coordinateTransformationEnabled()
get coordinate transformation enabled
Determine interface for creating a graph.
QgsCoordinateReferenceSystem & destinationCrs()
get destinaltion Crs
virtual void addArc(int pt1id, const QgsPoint &pt1, int pt2id, const QgsPoint &pt2, const QVector< QVariant > &properties)
add arc
QgsGraphBuilderInterface(const QgsCoordinateReferenceSystem &crs, bool ctfEnabled=true, double topologyTolerance=0.0, const QString &ellipsoidID="WGS84")
QgsGraphBuilderInterface constructor.
A class to represent a point.
General purpose distance and area calculator.
Class for storing a coordinate reference system (CRS)
double topologyTolerance()
get topology tolerance
QgsDistanceArea * distanceArea()
get measurement tool