libigl v2.5.0
Loading...
Searching...
No Matches
flip_edge.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) 2016 Qingan 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_FLIP_EDGE_H
10#define IGL_FLIP_EDGE_H
11
12#include "igl_inline.h"
13#include <Eigen/Core>
14#include <vector>
15
16namespace igl
17{
30 template <
31 typename DerivedF,
32 typename DerivedE,
33 typename DeriveduE,
34 typename DerivedEMAP,
35 typename uE2EType>
37 Eigen::PlainObjectBase<DerivedF> & F,
38 Eigen::PlainObjectBase<DerivedE> & E,
39 Eigen::PlainObjectBase<DeriveduE> & uE,
40 Eigen::PlainObjectBase<DerivedEMAP> & EMAP,
41 std::vector<std::vector<uE2EType> > & uE2E,
42 const size_t uei);
43}
44
45#ifndef IGL_STATIC_LIBRARY
46# include "flip_edge.cpp"
47#endif
48#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void flip_edge(Eigen::PlainObjectBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedE > &E, Eigen::PlainObjectBase< DeriveduE > &uE, Eigen::PlainObjectBase< DerivedEMAP > &EMAP, std::vector< std::vector< uE2EType > > &uE2E, const size_t uei)
Flip an edge in a triangle mesh.