53 void setCrsTransformEnabled(
bool enabled );
100 bool isPointSnapped(
const QgsPoint& pt );
110 void invalidateGraph();
119 void onLayerDestroyed(
QObject* obj );
127 bool mReprojectionEnabled;
134 int mMaxFeatureCount;
137 bool mHasTopologyProblem;
141 #endif // QGSTRACER_H
bool hasTopologyProblem() const
Whether there was an error during graph creation due to noding exception, indicating some input data ...
bool hasCrsTransformEnabled() const
Return true if reprojection to destination CRS is enabled.
A rectangle specified with double values.
Points are not connected in the graph.
virtual void configure()
Allows derived classes to setup the settings just before the tracer is initialized.
Utility class that construct a planar graph from the input vector layers and provides shortest path s...
A geometry is the spatial representation of a feature.
int maxFeatureCount() const
Get maximum possible number of features in graph. If the number is exceeded, graph is not created...
QgsCoordinateReferenceSystem destinationCrs() const
Get CRS used for tracing.
Start point cannot be joined to the graph.
End point cannot be joined to the graph.
PathError
Possible errors that may happen when calling findShortestPath()
Simple graph structure for shortest path search.
QList< QgsVectorLayer * > layers() const
Get layers used for tracing.
A class to represent a point.
void setMaxFeatureCount(int count)
Get maximum possible number of features in graph. If the number is exceeded, graph is not created...
bool isInitialized() const
Whether the internal data structures have been initialized.
Class for storing a coordinate reference system (CRS)
QgsRectangle extent() const
Get extent to which graph's features will be limited (empty extent means no limit) ...
Max feature count threshold was reached while reading features.
Represents a vector layer which manages a vector based data sets.