libigl v2.5.0
Loading...
Searching...
No Matches
insert_into_cdt.h
Go to the documentation of this file.
1// This file is part of libigl, a simple c++ geometry processing library.
2//
3// Copyright (C) 2016 Alec Jacobson
4//
5// This Source Code Form is subject to the terms of the Mozilla Public License
6// v. 2.0. If a copy of the MPL was not distributed with this file, You can
7// obtain one at http://mozilla.org/MPL/2.0/.
8#ifndef IGL_COPYLEFT_CGAL_INSERT_INTO_CDT_H
9#define IGL_COPYLEFT_CGAL_INSERT_INTO_CDT_H
10#include "../../igl_inline.h"
11
12#include <CGAL/double.h> // Workaround https://github.com/CGAL/cgal/issues/2182 with CGAL 4.10-1
13#include <CGAL/Plane_3.h>
14#include <CGAL/Constrained_Delaunay_triangulation_2.h>
15#include <CGAL/Constrained_triangulation_plus_2.h>
16
17namespace igl
18{
19 namespace copyleft
20 {
21 namespace cgal
22 {
36 template <typename Kernel>
38 const CGAL::Object & obj,
39 const CGAL::Plane_3<Kernel> & P,
40 CGAL::Constrained_triangulation_plus_2<
41 CGAL::Constrained_Delaunay_triangulation_2<
42 Kernel,
43 CGAL::Triangulation_data_structure_2<
44 CGAL::Triangulation_vertex_base_2<Kernel>,
45 CGAL::Constrained_triangulation_face_base_2< Kernel>
46 >,
47 CGAL::Exact_intersections_tag
48 >
49 >
50 & cdt);
51 }
52 }
53}
54
55#ifndef IGL_STATIC_LIBRARY
56# include "insert_into_cdt.cpp"
57#endif
58#endif
#define IGL_INLINE
Definition igl_inline.h:15
void 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....
Definition AABB.h:17