libigl v2.5.0
Loading...
Searching...
No Matches
insert_into_cdt.h File Reference
#include "../../igl_inline.h"
#include <CGAL/double.h>
#include <CGAL/Plane_3.h>
#include <CGAL/Constrained_Delaunay_triangulation_2.h>
#include <CGAL/Constrained_triangulation_plus_2.h>
#include "insert_into_cdt.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 
namespace  igl::copyleft
 
namespace  igl::copyleft::cgal
 

Functions

template<typename Kernel >
void igl::copyleft::cgal::insert_into_cdt (const CGAL::Object &obj, const CGAL::Plane_3< Kernel > &P, CGAL::Constrained_triangulation_plus_2< CGAL::Constrained_Delaunay_triangulation_2< Kernel, CGAL::Triangulation_data_structure_2< CGAL::Triangulation_vertex_base_2< Kernel >, CGAL::Constrained_triangulation_face_base_2< Kernel > >, CGAL::Exact_intersections_tag > > &cdt)
 Given a current 2D constrained Delaunay triangulation (cdt), insert a 3D "object" (e.g., resulting from intersecting two triangles) into the cdt, by projecting it via the given plane (P) and adding appropriate constraints.