Performs an edge swap, implemented as a combination of swap and collapse.
std::vector< simplex::Simplex > execute(const simplex::Simplex &simplex) override
returns an empty vector in case of failure
EdgeCollapse & collapse()
std::vector< simplex::Simplex > unmodified_primitives(const simplex::Simplex &simplex) const override
Returns all simplices that will be potentially affected by the operation.
PrimitiveType primitive_type() const override
TetEdgeSwap(Mesh &m, int64_t collapse_index=0)