16 lines
342 B
C++
16 lines
342 B
C++
#pragma once
|
|
#include "vde/mesh/halfedge_mesh.h"
|
|
|
|
namespace vde::mesh {
|
|
|
|
struct RepairOptions {
|
|
bool fill_holes = true;
|
|
bool remove_duplicates = true;
|
|
bool fix_orientation = true;
|
|
bool remove_degenerate = true;
|
|
};
|
|
|
|
HalfedgeMesh repair_mesh(const HalfedgeMesh& mesh, const RepairOptions& opts = {});
|
|
|
|
} // namespace vde::mesh
|