2 Copyright (C) 2015-2016 EDF
4 This file is part of SALOME HYDRO module.
6 SALOME HYDRO module is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
11 SALOME HYDRO module is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with SALOME HYDRO module. If not, see <http://www.gnu.org/licenses/>.
19 #########################################
21 #########################################
23 .. |exemple_profil| image:: /../_static/exemple_profil.png
26 .. |profilsEtLignedo| image:: /../_static/profilsEtLignedo.png
29 .. |iconeImportSinusX| image:: /../_static/iconeImportSinusX.png
32 .. |menuImportSinusX| image:: /../_static/menuImportSinusX.png
35 .. |georeferencementProfiles| image:: /../_static/georeferencementProfiles.png
38 .. |profilsIgnores| image:: /../_static/profilsIgnores.png
41 .. |createStream| image:: /../_static/createStream.png
44 .. |objetStream| image:: /../_static/objetStream.png
47 Stream object allow to define a river with a list of profiles (cross sections).
48 These cross sections are vertical sections done at regular intervals along the river.
52 To rebuild the river, we need a list of georeferenced profiles, and a line defining the river axis.
53 This line is only used to reorder the profiles.
57 Let's import a list of georeferenced profiles, and a XY polyline defining the river axis, in SinusX format (or xyz).
58 The polyline must not be precise, but must cut all the profiles.
60 SinusX import is done with *HYDRO* menu, *Import from SinusX* command, or corresponding button in the module toolbar.
66 Let's import *lignedo.sx* and *garonne_profiles.sx* files, in the SALOME_HYDRO install folder ::
68 <appli_xxx>/bin/salome/test/HYDRO
70 Th axis is stored in *POLYLINES* folder in the study tree, and the profiles are the *PROFILES* folder.
72 Each profile receive a name, and is editable.
74 |georeferencementProfiles|
76 To build the Stream object, use the *Create stream* command of the context menu on study folder *NATURAL OBJECTS*.
78 Let's name the stream *garonne_stream*, select the polyline *lignedo* and the list of profiles previously imported
79 (They must be selected in the study tree. Use the *Add* button in the *create stream* dialog).
81 The polyligne does not cut all the profiles. Some profiles upstream and downstream will be ignored.
85 To allow the bathymetry calculation, a 3D point cloud is generated by interpolation between profiles: a list of
86 intermediate profiles defined by points is built.
88 The *Stream spatial step* parameter gives the distance between intermediate profiles.
90 The *Stream ddz* parameter gives the vertical step used to discretize the profiles.
94 Use *Apply and Close* to validate. The Stream object is shown on the 3D view and in the *NATURAL OBJECTS* folder,
95 under the name previouly given, *garonne_stream*.
99 The corresponding point cloud appears in *BATHYMETRIES* folder under the name *garonne_stream_Altitude_1*.
103 :ref:`ref_casParticuliers`