wolfhece.pydike
Author: HECE - University of Liege, Pierre Archambeau Date: 2024
Copyright (c) 2024 University of Liege. All rights reserved.
This script and its content are protected by copyright law. Unauthorized copying or distribution of this file, via any medium, is strictly prohibited.
Module Contents
- class wolfhece.pydike.SyntheticDike(idx: str = '', plotted: bool = True, mapviewer=None, need_for_wx: bool = False)[source]
Bases:
wolfhece.drawing_obj.Element_To_Draw
Dike class for synthetic dikes based on a trace vector, width of the crest and lateral slopes.
- property triangulation: wolfhece.PyVertexvectors.Triangulation[source]
Return the triangulation of the dike
- property zones: wolfhece.PyVertexvectors.Zones[source]
Return the zones of the dike
- create_from_slopes(trace: wolfhece.PyVertexvectors.vector, slope_up: float, slope_down: float, width_up: float, width_down: float, zmin: float, zmax: float, ds: float)[source]
Create the dike triangulation based on the trace vector and the width of the dike.
- Parameters:
trace – Trace vector of the dike
slope_up – Slope of the dike on the upstream side [slope = dz/dx]
slope_down – Slope of the dike on the downstream side [slope = dz/dx]
width_up – Width of the dike on the upstream side [m]
width_down – Width of the dike on the downstream side [m]
zmin – Minimum elevation of the dike [m]
zmax – Maximum elevation of the dike [m]
ds – Distance for rebinning [m]
- create_from_shape(trace: wolfhece.PyVertexvectors.vector, shape: wolfhece.PyVertexvectors.vector, ds: float)[source]
create the dike triangulation based on the trace vector and the shape vector
- Parameters:
trace – Trace vector of the dike
shape – Transversal shape of the dike in (s,z) coordinates, s=0.0 is on the trace vector, elevations are relative to the trace vector
ds – Distance for rebinning [m]