Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Classes | Namespaces | Typedefs | Functions
cgal_tools.h File Reference

Utilities to ease (and wrap) use of CGAL. More...

#include <boost/array.hpp>
#include <boost/foreach.hpp>
#include <boost/range.hpp>
#include <boost/range/iterator_range.hpp>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Triangulation_face_base_with_info_2.h>
#include <CGAL/Triangulation_vertex_base_with_info_2.h>
#include <CGAL/Constrained_Delaunay_triangulation_2.h>
#include <CGAL/Constrained_triangulation_plus_2.h>
#include <CGAL/Polygon_2.h>
#include <CGAL/Polygon_2_algorithms.h>
#include <CGAL/centroid.h>
#include <CGAL/box_intersection_d.h>
#include <CGAL/intersections.h>
#include "Tympan/models/common/3d.h"
#include "Tympan/models/common/plan.h"
Include dependency graph for cgal_tools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tympan::PolygonTriangulator
 This class provides triangulating simple polygons without holes. More...
 
struct  tympan::PolygonTriangulator::VertexInfo
 
struct  tympan::PolygonTriangulator::FaceInfo
 

Namespaces

 tympan
 

Typedefs

typedef CGAL::Exact_predicates_inexact_constructions_kernel tympan::CGAL_K
 
typedef CGAL_K tympan::CGAL_Gt
 
typedef CGAL::Point_2< CGAL_Gt > tympan::CGAL_Point2
 
typedef CGAL::Point_3< CGAL_Gt > tympan::CGAL_Point3
 
typedef CGAL::Vector_2< CGAL_Gt > tympan::CGAL_Vector2
 
typedef CGAL::Vector_3< CGAL_Gt > tympan::CGAL_Vector3
 
typedef CGAL::Polygon_2< CGAL_Gt > tympan::CGAL_Polygon
 
typedef CGAL::Plane_3< CGAL_Gt > tympan::CGAL_Plane
 
typedef CGAL::Triangle_3< CGAL_Gt > tympan::CGAL_Triangle
 
typedef std::deque< CGAL_Triangle > tympan::CGAL_Triangles
 
typedef CGAL::Box_intersection_d::Box_with_handle_d< double, 3, CGAL_Triangles::iterator > tympan::CGAL_TBox
 
typedef CGAL::Aff_transformation_3< CGAL_Gt > tympan::CGAL_Transform3
 

Functions

OPoint3D tympan::from_cgal (const CGAL_Point3 &cp)
 Convert a CGAL_Point3 to OPoint3D. More...
 
CGAL_Point3 tympan::to_cgal (const OPoint3D &op)
 Convert a OPoint3D to a CGAL_Point3. More...
 
OVector3D tympan::from_cgal (const CGAL_Vector3 &cp)
 Convert a CGAL_Vector3 to OVector3D. More...
 
CGAL_Vector3 tympan::to_cgal (const OVector3D &op)
 Convert a OVector3D to CGAL_Vector3. More...
 
CGAL_Plane tympan::to_cgal (const OPlan &oplan)
 Convert a OPlan to CGAL_Plane. More...
 
std::deque< CGAL_Point3 > tympan::build_box (float w, float h, CGAL_Point3 pta, CGAL_Point3 ptb)
 return 4 points defining a 3D parallelepiped More...
 
std::deque< size_t > tympan::intersected_triangles (CGAL_Triangles &triangle_soup, std::deque< CGAL_Point3 > query_triangle, float l, float w, float h)
 Find the triangles from triangle_soup that are intersected by the 3D box including the points of query_triangle More...
 
CGAL_Vector3 tympan::normalize (CGAL_Vector3 v)
 normalize vector v More...
 

Detailed Description

Utilities to ease (and wrap) use of CGAL.

Author
Anthony Truchet antho.nosp@m.ny.t.nosp@m.ruche.nosp@m.t@lo.nosp@m.gilab.nosp@m..fr

Definition in file cgal_tools.h.