Merge pull request #7914 from sloriot/PMP-remesh_planar_faces_missing_remove_const

PMP remesh_planar_patches: handle const meshes
This commit is contained in:
Laurent Rineau 2023-12-11 13:54:43 +01:00
commit 0ccf0745ec
1 changed files with 3 additions and 3 deletions

View File

@ -299,7 +299,7 @@ template <typename Kernel,
typename VertexPointMap>
void
mark_constrained_edges(
TriangleMesh& tm,
const TriangleMesh& tm,
EdgeIsConstrainedMap edge_is_constrained,
double coplanar_cos_threshold,
const VertexPointMap& vpm)
@ -319,7 +319,7 @@ template <typename Kernel,
typename VertexCornerIdMap>
std::size_t
mark_corner_vertices(
TriangleMesh& tm,
const TriangleMesh& tm,
EdgeIsConstrainedMap& edge_is_constrained,
VertexCornerIdMap& vertex_corner_id,
double coplanar_cos_threshold,
@ -546,7 +546,7 @@ template <typename Kernel,
typename FaceCCIdMap,
typename VertexPointMap>
std::pair<std::size_t, std::size_t>
tag_corners_and_constrained_edges(TriangleMesh& tm,
tag_corners_and_constrained_edges(const TriangleMesh& tm,
double coplanar_cos_threshold,
VertexCornerIdMap& vertex_corner_id,
EdgeIsConstrainedMap& edge_is_constrained,