Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Namespaces | Functions
cgal_tools.cpp File Reference

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

#include <cassert>
#include <algorithm>
#include <functional>
#include "cgal_tools.h"
Include dependency graph for cgal_tools.cpp:

Go to the source code of this file.

Namespaces

 tympan
 

Functions

CGAL_Plane tympan::to_cgal (const OPlan &oplan)
 Convert a OPlan to CGAL_Plane. More...
 
CGAL_Vector3 tympan::normalize (CGAL_Vector3 v)
 normalize vector v 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...
 
void tympan::intersection_report (std::deque< size_t > *intersected, CGAL_Triangles::iterator start_index, const CGAL_TBox &a, const CGAL_TBox &b)
 
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...
 

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.cpp.