libigl v2.5.0
Loading...
Searching...
No Matches
triangulate.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) 2021 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_TRIANGULATE_H
9#define IGL_COPYLEFT_CGAL_TRIANGULATE_H
10
11#include "../../igl_inline.h"
12#include <string>
13#include <Eigen/Core>
14
15namespace igl
16{
17 namespace copyleft
18 {
19 namespace cgal
20 {
33 template <
34 typename Kernel,
35 typename DerivedV,
36 typename DerivedE,
37 typename DerivedH,
38 typename DerivedV2,
39 typename DerivedF2>
41 const Eigen::MatrixBase<DerivedV> & V,
42 const Eigen::MatrixBase<DerivedE> & E,
43 const Eigen::MatrixBase<DerivedH> & H,
44 const bool retain_convex_hull,
45 Eigen::PlainObjectBase<DerivedV2> & V2,
46 Eigen::PlainObjectBase<DerivedF2> & F2);
47 }
48 }
49}
50
51#ifndef IGL_STATIC_LIBRARY
52# include "triangulate.cpp"
53#endif
54
55#endif
#define IGL_INLINE
Definition igl_inline.h:15
void triangulate(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedE > &E, const Eigen::MatrixBase< DerivedH > &H, const bool retain_convex_hull, Eigen::PlainObjectBase< DerivedV2 > &V2, Eigen::PlainObjectBase< DerivedF2 > &F2)
Triangulate the interior of a polygon using CGAL.
Definition AABB.h:17