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

Go to the source code of this file.

Namespaces

namespace  igl
 

Macros

#define IGL_COLLAPSE_EDGE_NULL   0
 Special value for indicating a null vertex index as the result of a collapsed edge.
 

Functions

bool igl::collapse_edge (const int e, const Eigen::RowVectorXd &p, Eigen::MatrixXd &V, Eigen::MatrixXi &F, Eigen::MatrixXi &E, Eigen::VectorXi &EMAP, Eigen::MatrixXi &EF, Eigen::MatrixXi &EI, int &e1, int &e2, int &f1, int &f2)
 Attempt to collapse a given edge of a mesh.
 
bool igl::collapse_edge (const int e, const Eigen::RowVectorXd &p, std::vector< int > &Nsv, const std::vector< int > &Nsf, std::vector< int > &Ndv, const std::vector< int > &Ndf, Eigen::MatrixXd &V, Eigen::MatrixXi &F, Eigen::MatrixXi &E, Eigen::VectorXi &EMAP, Eigen::MatrixXi &EF, Eigen::MatrixXi &EI, int &e1, int &e2, int &f1, int &f2)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
bool igl::collapse_edge (const int e, const Eigen::RowVectorXd &p, Eigen::MatrixXd &V, Eigen::MatrixXi &F, Eigen::MatrixXi &E, Eigen::VectorXi &EMAP, Eigen::MatrixXi &EF, Eigen::MatrixXi &EI)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
bool igl::collapse_edge (const decimate_cost_and_placement_callback &cost_and_placement, const decimate_pre_collapse_callback &pre_collapse, const decimate_post_collapse_callback &post_collapse, Eigen::MatrixXd &V, Eigen::MatrixXi &F, Eigen::MatrixXi &E, Eigen::VectorXi &EMAP, Eigen::MatrixXi &EF, Eigen::MatrixXi &EI, igl::min_heap< std::tuple< double, int, int > > &Q, Eigen::VectorXi &EQ, Eigen::MatrixXd &C, int &e, int &e1, int &e2, int &f1, int &f2)
 Collapse least-cost edge from a priority queue and update queue.
 
bool igl::collapse_edge (const decimate_cost_and_placement_callback &cost_and_placement, Eigen::MatrixXd &V, Eigen::MatrixXi &F, Eigen::MatrixXi &E, Eigen::VectorXi &EMAP, Eigen::MatrixXi &EF, Eigen::MatrixXi &EI, igl::min_heap< std::tuple< double, int, int > > &Q, Eigen::VectorXi &EQ, Eigen::MatrixXd &C)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
bool igl::collapse_edge (const decimate_cost_and_placement_callback &cost_and_placement, const decimate_pre_collapse_callback &pre_collapse, const decimate_post_collapse_callback &post_collapse, Eigen::MatrixXd &V, Eigen::MatrixXi &F, Eigen::MatrixXi &E, Eigen::VectorXi &EMAP, Eigen::MatrixXi &EF, Eigen::MatrixXi &EI, igl::min_heap< std::tuple< double, int, int > > &Q, Eigen::VectorXi &EQ, Eigen::MatrixXd &C)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 

Macro Definition Documentation

◆ IGL_COLLAPSE_EDGE_NULL

#define IGL_COLLAPSE_EDGE_NULL   0

Special value for indicating a null vertex index as the result of a collapsed edge.