libigl v2.5.0
Loading...
Searching...
No Matches
edge_collapse_is_valid.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include <vector>
#include "edge_collapse_is_valid.cpp"

Go to the source code of this file.

Namespaces

namespace  igl

Functions

template<typename DerivedF, typename DerivedE, typename DerivedEMAP, typename DerivedEF, typename DerivedEI>
bool igl::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 gets collapsed to the other) will result in a mesh with the same topology.
bool igl::edge_collapse_is_valid (std::vector< int > &Nsv, std::vector< int > &Ndv)
 Tests whether collapsing exactly two faces and exactly 3 edges from E (e and one side of each face gets collapsed to the other) will result in a mesh with the same topology.