===================== Geographic primitives ===================== Various primitives are needed to define :mod:`seismic sources ` location and shape. Those implemented include :mod:`~openquake.hazardlib.geo.point`, :mod:`~openquake.hazardlib.geo.line` and :mod:`~openquake.hazardlib.geo.polygon`. :mod:`Mesh ` objects are used only internally. ----- Point ----- .. automodule:: openquake.hazardlib.geo.point :members: ---- Line ---- .. automodule:: openquake.hazardlib.geo.line :members: ------- Polygon ------- .. automodule:: openquake.hazardlib.geo.polygon :members: ------ Meshes ------ .. automodule:: openquake.hazardlib.geo.mesh Simple mesh ----------- .. autoclass:: Mesh :members: Rectangular mesh ---------------- .. autoclass:: RectangularMesh :members: