Class: QgsGraphBuilder¶
Used for making the QgsGraph object.
Class Hierarchy¶
Base classes¶
Interface for creating a graph. |
- class qgis.analysis.QgsGraphBuilder[source]¶
Bases:
QgsGraphBuilderInterface- __init__(crs: QgsCoordinateReferenceSystem, otfEnabled: bool = True, topologyTolerance: float = 0, ellipsoidID: str | None = '')
Default constructor
- Parameters:
otfEnabled (bool = True)
topologyTolerance (float = 0)
ellipsoidID (Optional[str] = '')
- virtual addVertex(self, id: int, pt: QgsPointXY)[source]¶
MANDATORY BUILDER PROPERTY DECLARATION
- Parameters:
id (int)
pt (QgsPointXY)