Code_TYMPAN  4.4.0
Industrial site acoustic simulation
cgal_bridge.h
Go to the documentation of this file.
1 
9 #ifndef TYMPAN__CGAL_BRIDGE_HPP__INCLUDED
10 #define TYMPAN__CGAL_BRIDGE_HPP__INCLUDED
11 
12 #include <deque>
13 #include <memory>
14 
15 #include "Tympan/core/exceptions.h"
18 
19 // Forward declarations
20 #include "Tympan/core/smartptr.h"
21 class TYPolygon;
22 class TYTopographie;
23 class TYSol;
24 class TYTerrain;
25 class TYCourbeNiveau;
28 
29 #ifndef BOOST_NOEXCEPT
30  #define BOOST_NOEXCEPT
31 #endif
32 
33 namespace tympan
34 {
35 
37 {
38 public:
40 
50  virtual void exportMesh(std::deque<OPoint3D>& points, std::deque<OTriangle>& triangles) const = 0;
51 
52 }; // class ITYPolygonTriangulator
53 
54 std::unique_ptr<ITYPolygonTriangulator> make_polygon_triangulator(const TYPolygon& poly);
55 
56 } // namespace tympan
57 
58 #endif // TYMPAN__CGAL_BRIDGE_HPP__INCLUDED
All base classes related to 3D manipulation.
SmartPtr< TYSol > LPTYSol
Smart pointer sur TYSol.
Definition: cgal_bridge.h:25
Definition: TYSol.h:25
virtual void exportMesh(std::deque< OPoint3D > &points, std::deque< OTriangle > &triangles) const =0
Export the surface as a triangular mesh.
Utilities to handle exceptions and to pretty-print value.
std::unique_ptr< ITYPolygonTriangulator > make_polygon_triangulator(const TYPolygon &poly)
Definition: cgal_bridge.cpp:96