libigl v2.5.0
Loading...
Searching...
No Matches
complex_to_mesh.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) 2014 Alec Jacobson <alecjacobson@gmail.com>
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_COMPLEX_TO_MESH_H
9#define IGL_COPYLEFT_CGAL_COMPLEX_TO_MESH_H
10#include "../../igl_inline.h"
11
12#include <Eigen/Dense>
13#include <CGAL/Complex_2_in_triangulation_3.h>
14
15namespace igl
16{
17 namespace copyleft
18 {
19 namespace cgal
20 {
31 template <typename Tr, typename DerivedV, typename DerivedF>
33 const CGAL::Complex_2_in_triangulation_3<Tr> & c2t3,
34 Eigen::PlainObjectBase<DerivedV> & V,
35 Eigen::PlainObjectBase<DerivedF> & F);
36 }
37 }
38}
39
40#ifndef IGL_STATIC_LIBRARY
41# include "complex_to_mesh.cpp"
42#endif
43
44#endif
45
#define IGL_INLINE
Definition igl_inline.h:15
bool complex_to_mesh(const CGAL::Complex_2_in_triangulation_3< Tr > &c2t3, Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F)
Convert a CGAL::Complex_2_in_triangulation_3 to a mesh (V,F)
Definition AABB.h:17