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 A rectangle specified with double values.
bool isInitialized() const
Whether the internal data structures have been initialized.
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...
QgsCoordinateReferenceSystem destinationCrs() const
Get CRS used for tracing.
QList< QgsVectorLayer * > layers() const
Get layers used for tracing.
A geometry is the spatial representation of a feature.
bool hasTopologyProblem() const
Whether there was an error during graph creation due to noding exception, indicating some input data ...
int maxFeatureCount() const
Get maximum possible number of features in graph. If the number is exceeded, graph is not created...
Max feature count threshold was reached while reading features.
PathError
Possible errors that may happen when calling findShortestPath()
bool hasCrsTransformEnabled() const
Return true if reprojection to destination CRS is enabled.
Simple graph structure for shortest path search.
A class to represent a point.
End point cannot be joined to the graph.
void setMaxFeatureCount(int count)
Get maximum possible number of features in graph. If the number is exceeded, graph is not created...
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) ...
Represents a vector layer which manages a vector based data sets.
Points are not connected in the graph.
Start point cannot be joined to the graph.