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

bool igl::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 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.