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

Go to the source code of this file.

Namespaces

namespace  igl

Functions

template<typename Derivedp, typename DerivedV, typename DerivedF, typename DerivedE, typename DerivedEMAP, typename DerivedEF, typename DerivedEI>
bool igl::collapse_edge (const int e, const Eigen::MatrixBase< Derivedp > &p, Eigen::MatrixBase< DerivedV > &V, Eigen::MatrixBase< DerivedF > &F, Eigen::MatrixBase< DerivedE > &E, Eigen::MatrixBase< DerivedEMAP > &EMAP, Eigen::MatrixBase< DerivedEF > &EF, Eigen::MatrixBase< DerivedEI > &EI, int &e1, int &e2, int &f1, int &f2)
 Attempt to collapse a given edge of a mesh.
template<typename Derivedp, typename DerivedV, typename DerivedF, typename DerivedE, typename DerivedEMAP, typename DerivedEF, typename DerivedEI>
bool igl::collapse_edge (const int e, const Eigen::MatrixBase< Derivedp > &p, std::vector< int > &Nsv, const std::vector< int > &Nsf, std::vector< int > &Ndv, const std::vector< int > &Ndf, Eigen::MatrixBase< DerivedV > &V, Eigen::MatrixBase< DerivedF > &F, Eigen::MatrixBase< DerivedE > &E, Eigen::MatrixBase< DerivedEMAP > &EMAP, Eigen::MatrixBase< DerivedEF > &EF, Eigen::MatrixBase< DerivedEI > &EI, int &a_e1, int &a_e2, int &a_f1, int &a_f2)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.