libigl v2.5.0
Loading...
Searching...
No Matches
cut_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) 2019 Hanxiao Shen <hanxiao@cims.nyu.edu>
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_CUT_MESH_H
9#define IGL_CUT_MESH_H
10#include "igl_inline.h"
11
12#include <Eigen/Core>
13
14namespace igl
15{
27 template <typename DerivedV, typename DerivedF, typename DerivedC, typename DerivedI>
29 Eigen::PlainObjectBase<DerivedV>& V,
30 Eigen::PlainObjectBase<DerivedF>& F,
31 const Eigen::MatrixBase<DerivedC>& cuts,
32 Eigen::PlainObjectBase<DerivedI>& I
33 );
51 template <typename DerivedV, typename DerivedF, typename DerivedFF, typename DerivedFFi, typename DerivedC, typename DerivedI>
53 Eigen::PlainObjectBase<DerivedV>& V,
54 Eigen::PlainObjectBase<DerivedF>& F,
55 Eigen::MatrixBase<DerivedFF>& FF,
56 Eigen::MatrixBase<DerivedFFi>& FFi,
57 const Eigen::MatrixBase<DerivedC>& C,
58 Eigen::PlainObjectBase<DerivedI>& I
59 );
60
76 template <typename DerivedV, typename DerivedF, typename DerivedC>
78 const Eigen::MatrixBase<DerivedV>& V,
79 const Eigen::MatrixBase<DerivedF>& F,
80 const Eigen::MatrixBase<DerivedC>& cuts,
81 Eigen::PlainObjectBase<DerivedV>& Vn,
82 Eigen::PlainObjectBase<DerivedF>& Fn
83 );
84
101 template <typename DerivedV, typename DerivedF, typename DerivedC, typename DerivedI>
103 const Eigen::MatrixBase<DerivedV>& V,
104 const Eigen::MatrixBase<DerivedF>& F,
105 const Eigen::MatrixBase<DerivedC>& cuts,
106 Eigen::PlainObjectBase<DerivedV>& Vn,
107 Eigen::PlainObjectBase<DerivedF>& Fn,
108 Eigen::PlainObjectBase<DerivedI>& I
109 );
110
111
112
113}
114
115
116#ifndef IGL_STATIC_LIBRARY
117#include "cut_mesh.cpp"
118#endif
119
120
121#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void cut_mesh(Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F, const Eigen::MatrixBase< DerivedC > &cuts, Eigen::PlainObjectBase< DerivedI > &I)
Given a mesh and a list of edges that are to be cut, the function generates a new disk-topology mesh ...