libigl v2.5.0
Loading...
Searching...
No Matches
edge_collapse_is_valid.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 Alec Jacobson <alecjacobson@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#ifndef IGL_EDGE_COLLAPSE_IS_VALID_H
9#define IGL_EDGE_COLLAPSE_IS_VALID_H
10#include "igl_inline.h"
11#include <Eigen/Core>
12#include <vector>
13namespace igl
14{
32 template <
33 typename DerivedF,
34 typename DerivedE,
35 typename DerivedEMAP,
36 typename DerivedEF,
37 typename DerivedEI>
39 const int e,
40 const Eigen::MatrixBase<DerivedF> & F,
41 const Eigen::MatrixBase<DerivedE> & E,
42 const Eigen::MatrixBase<DerivedEMAP> & EMAP,
43 const Eigen::MatrixBase<DerivedEF> & EF,
44 const Eigen::MatrixBase<DerivedEI> & EI);
59 /*const*/ std::vector<int> & Nsv,
60 /*const*/ std::vector<int> & Ndv);
61}
62#ifndef IGL_STATIC_LIBRARY
63# include "edge_collapse_is_valid.cpp"
64#endif
65#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:18
bool edge_collapse_is_valid(const int e, const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedE > &E, const Eigen::MatrixBase< DerivedEMAP > &EMAP, const Eigen::MatrixBase< DerivedEF > &EF, const Eigen::MatrixBase< DerivedEI > &EI)
Tests whether collapsing exactly two faces and exactly 3 edges from E (e and one side of each face ge...