wolfhece.pyvertexvectors._grid
GUI-enabled Grid class.
Module Contents
- class wolfhece.pyvertexvectors._grid.Grid(size: float = 1000.0, ox: float = 0.0, oy: float = 0.0, ex: float = 1000.0, ey: float = 1000.0, parent=None)[source]
Bases:
wolfhece.pyvertexvectors._zones.Zones,wolfhece.pyvertexvectors._models.GridModel
Grid to draw on the mapviewer.
Contains one zone and 3 vectors (gridx, gridy, contour).
Each gridx and gridy vector contains vertices forming a continuous line. Contour vector contains 4 vertices forming a closed polyline.
Drawing all the elements on the mapviewer allows to draw a grid.
Based on spatial extent and resolution.