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) 2014 Daniele Panozzo <daniele.panozzo@gmail.com>
4// Copyright (C) 2017 Alec Jacobson
5//
6// This Source Code Form is subject to the terms of the Mozilla Public License
7// v. 2.0. If a copy of the MPL was not distributed with this file, You can
8// obtain one at http://mozilla.org/MPL/2.0/.
9#ifndef IGL_TRIANGLE_TRIANGULATE_H
10#define IGL_TRIANGLE_TRIANGULATE_H
11#include "../igl_inline.h"
12#include <string>
13#include <Eigen/Core>
14
15namespace igl
16{
17 namespace triangle
18 {
32 template <
33 typename DerivedV,
34 typename DerivedE,
35 typename DerivedH,
36 typename DerivedVM,
37 typename DerivedEM,
38 typename DerivedV2,
39 typename DerivedF2,
40 typename DerivedVM2,
41 typename DerivedE2,
42 typename DerivedEM2>
44 const Eigen::MatrixBase<DerivedV> & V,
45 const Eigen::MatrixBase<DerivedE> & E,
46 const Eigen::MatrixBase<DerivedH> & H,
47 const Eigen::MatrixBase<DerivedVM> & VM,
48 const Eigen::MatrixBase<DerivedEM> & EM,
49 const std::string flags,
50 Eigen::PlainObjectBase<DerivedV2> & V2,
51 Eigen::PlainObjectBase<DerivedF2> & F2,
52 Eigen::PlainObjectBase<DerivedVM2> & VM2,
53 Eigen::PlainObjectBase<DerivedE2> & E2,
54 Eigen::PlainObjectBase<DerivedEM2> & EM2);
56 template <
57 typename DerivedV,
58 typename DerivedE,
59 typename DerivedH,
60 typename DerivedV2,
61 typename DerivedF2>
63 const Eigen::MatrixBase<DerivedV> & V,
64 const Eigen::MatrixBase<DerivedE> & E,
65 const Eigen::MatrixBase<DerivedH> & H,
66 const std::string flags,
67 Eigen::PlainObjectBase<DerivedV2> & V2,
68 Eigen::PlainObjectBase<DerivedF2> & F2);
69 }
70}
71
72#ifndef IGL_STATIC_LIBRARY
73# include "triangulate.cpp"
74#endif
75
76#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 Eigen::MatrixBase< DerivedVM > &VM, const Eigen::MatrixBase< DerivedEM > &EM, const std::string flags, Eigen::PlainObjectBase< DerivedV2 > &V2, Eigen::PlainObjectBase< DerivedF2 > &F2, Eigen::PlainObjectBase< DerivedVM2 > &VM2, Eigen::PlainObjectBase< DerivedE2 > &E2, Eigen::PlainObjectBase< DerivedEM2 > &EM2)
Triangulate the interior of a polygon using the triangle library.
Definition AABB.h:17