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{
33 const int e,
34 const Eigen::MatrixXi & F,
35 const Eigen::MatrixXi & E,
36 const Eigen::VectorXi & EMAP,
37 const Eigen::MatrixXi & EF,
38 const Eigen::MatrixXi & EI);
53 /*const*/ std::vector<int> & Nsv,
54 /*const*/ std::vector<int> & Ndv);
55}
56#ifndef IGL_STATIC_LIBRARY
57# include "edge_collapse_is_valid.cpp"
58#endif
59#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
bool edge_collapse_is_valid(const int e, const Eigen::MatrixXi &F, const Eigen::MatrixXi &E, const Eigen::VectorXi &EMAP, const Eigen::MatrixXi &EF, const Eigen::MatrixXi &EI)
Tests whether collapsing exactly two faces and exactly 3 edges from E (e and one side of each face ge...