Code_TYMPAN  4.4.0
Industrial site acoustic simulation
TYSolverDefines.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) <2012> <EDF-R&D> <FRANCE>
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 2 of the License, or
6  * (at your option) any later version.
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10  * See the GNU General Public License for more details.
11  * You should have received a copy of the GNU General Public License along
12  * with this program; if not, write to the Free Software Foundation, Inc.,
13  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
14  */
15 
16 /*
17  *
18  *
19  *
20  *
21  */
22 
23 #ifndef __TY_SOLVERDEFINES_9613__
24 #define __TY_SOLVERDEFINES_9613__
25 
26 #include <deque>
27 
31 
37 {
38  string volume_id;
41  bool isEcran;
43 
47  bool is_infra() const
48  {
50 
51  return (pMat == nullptr) ? false : true;
52  }
53 };
54 
59 {
62  bool noIntersect;
63  bool bIntersect[2];
64  bool isEcran;
65  bool isInfra;
67 };
68 
72 typedef struct
73 {
77 } TYSPlan;
78 
82 typedef struct
83 {
87 
89 typedef std::deque<TYStructSegLPSp> TYTabStructSegLPSp;
90 
92 #define TY_EDF_FOREST_RAYON 5000
94 #define TY_EDF_DIFFRACTION_LIMIT 1.023293
95 
96 #endif // __TY_SOLVERDEFINES_9613__
All base classes related to 3D manipulation.
std::vector< OPoint3D > TabPoint3D
Definition: 3d.h:483
std::deque< TYStructSegLPSp > TYTabStructSegLPSp
Rayon du cercle utilise dans le calcul de l'attenuation de la vegetation.
The 3D point class.
Definition: 3d.h:487
Class to define a segment.
Definition: 3d.h:1089
The 3D vector class.
Definition: 3d.h:298
Describes building material.
Definition: entities.hpp:49
Base class for material.
Definition: entities.hpp:22
This file provides the declaration of the entities of the model, which inherit from BaseEntity.
Data structure for intersections.
bool isInfra
Flag to define if is a infrastructure face.
OSegment3D segInter[2]
bool isEcran
Flag to define if is a screen face.
bool bIntersect[2]
Flag to indicate the face cuts vertical plane ([0]) or horizontal plane ([1])
bool noIntersect
Flag to indicate that the face should not be tested for intersection.
tympan::AcousticMaterialBase * material
Pointer to a material.
Structure to describe a plan defined with 3 points.
OPoint3D pt3
OPoint3D pt1
OPoint3D pt2
Structure containing a segment and a spectrum.
OSegment3D _segment
OSpectre * _spectreAtt
Describe surface intersections.
string volume_id
Volume id.
TabPoint3D tabPoint
Array of points used for the preselection.
tympan::AcousticMaterialBase * material
Reference to a material.
bool isEcran
Flag to define if it is a screen.
bool is_infra() const
Detect if a face is on a infrastructure (has a material)
OVector3D normal
Normal vector to a face.