libigl v2.5.0
Loading...
Searching...
No Matches
remesh_intersections.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) 2015 Qingnan Zhou <qnzhou@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//
9#ifndef IGL_COPYLEFT_CGAL_REMESH_INTERSECTIONS_H
10#define IGL_COPYLEFT_CGAL_REMESH_INTERSECTIONS_H
11
12#include "../../igl_inline.h"
13#include <Eigen/Dense>
14#include "CGAL_includes.hpp"
15
16namespace igl
17{
18 namespace copyleft
19 {
20 namespace cgal
21 {
42 template <
43 typename DerivedV,
44 typename DerivedF,
45 typename Kernel,
46 typename DerivedVV,
47 typename DerivedFF,
48 typename DerivedJ,
49 typename DerivedIM>
51 const Eigen::MatrixBase<DerivedV> & V,
52 const Eigen::MatrixBase<DerivedF> & F,
53 const std::vector<CGAL::Triangle_3<Kernel> > & T,
54 const std::map<
55 typename DerivedF::Index,
56 std::vector<
57 std::pair<typename DerivedF::Index, CGAL::Object> > > & offending,
58 bool stitch_all,
59 bool slow_and_more_precise_rounding,
60 Eigen::PlainObjectBase<DerivedVV> & VV,
61 Eigen::PlainObjectBase<DerivedFF> & FF,
62 Eigen::PlainObjectBase<DerivedJ> & J,
63 Eigen::PlainObjectBase<DerivedIM> & IM);
64 }
65 }
66}
67
68#ifndef IGL_STATIC_LIBRARY
69# include "remesh_intersections.cpp"
70#endif
71
72#endif
#define IGL_INLINE
Definition igl_inline.h:15
void remesh_intersections(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const std::vector< CGAL::Triangle_3< Kernel > > &T, const std::map< typename DerivedF::Index, std::vector< std::pair< typename DerivedF::Index, CGAL::Object > > > &offending, bool stitch_all, bool slow_and_more_precise_rounding, Eigen::PlainObjectBase< DerivedVV > &VV, Eigen::PlainObjectBase< DerivedFF > &FF, Eigen::PlainObjectBase< DerivedJ > &J, Eigen::PlainObjectBase< DerivedIM > &IM)
Remesh faces according to results of intersection detection and construction (e.g.
Definition AABB.h:17