Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] isotropic_remeshing: remeshed region

Subject: CGAL users discussion list

List archive

[cgal-discuss] isotropic_remeshing: remeshed region


Chronological Thread 
  • From: Robert Sage <>
  • To:
  • Subject: [cgal-discuss] isotropic_remeshing: remeshed region
  • Date: Fri, 18 Jan 2019 18:00:01 -0800
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:dFqVFBIr8/+eOD3Tr9mcpTZWNBhigK39O0sv0rFitYgRK/7xwZ3uMQTl6Ol3ixeRBMOHs6IC07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffwZFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QLYpUjqg8qhrUgflhygHOTA382/Zl9J+g75ArR27uxBy2ZTZbJ2JOPd8eK7WYNMURXBGXsZUTyFPHoS8YJARAOobIeZTspTzqEEBrRSgGAKhA/nvyjBThnDs0q01zf8sEQ7D3AM6HtIOtG7Yo8nyNKcXSO24yrTDwzvEb/NTwzj96Y7Ifwg9rvGDR71wddDdyU41FwPKiFibtI/rPyuN2+gTr2SW6/BsWOGvhmI9tg18ozmiyt0jh4XXgI8e10rK+j9jwIkvIN21UE57bsCgEJtXryyaMpF5QsImQ21xuSY6zaAKtYe1fCUF1pgr3RHfa/uAc4iH5hLsSvydLit/hHJgYL6/hhCy/la8yuDkSMW4zFJHojBGn9TMrHwByh3e58mdRvZy4EutwTOP2BrS6uFAL0A0j63bK5s5z74qmZoTql7MHiDol0jtg6+Wc18r+ums6+j9frrmoZqcO5duig7iKqQuhtC/AeMgPwcSUGiU4+C82KT+8k34W7VFkuA2krLCsJ3BPsQapqu5AxdP3Yo56ha/CS2m0NUCknUdIlJFYkHPs4+8MF7HJLX0DOy0nk+3uDZt3fHPeLP7UbvXKX2WqrDrcKxho3VVxwd7mcpQ/JtbB5kOJfvyXgn6s9mOXUxxCBC93+uyUIY17YgZQ2/aWvbIYpOXikeB46cUG8fJYYYUvDjnLP18vqzhiHY4nRkWeqz7hMJLOkD9JexvJgCiWVSpms0ISD5YsQ83Teisg1qHA2YKOiSCGpkk7zR+M7qISIfOQof33e6E1Sa/W5xRPyVIVgrKHnDveIGJHfwLbXDKLw==

Hi this is my first post to the CGAL forum. We are using 4.13

I want to remesh a selected surface on a mesh, then operate on only the remeshed region. For simplicity let's say my mesh is a cube, and the selected surface is one of the cube sides (square).

Adapting this example: https://doc.cgal.org/latest/Polygon_mesh_processing/index.html#title11
I have psuedo-code:

  mesh = ... my cube
  border = ... edges around my square side of the cube
  PMP::split_long_edges(border, target_edge_length, mesh);
  my_faces = ... faces on my square side
  PMP::isotropic_remeshing(
      my_faces,
      target_edge_length,
      mesh,
      PMP::parameters::number_of_iterations(nb_iter)
      .protect_constraints(true)//i.e. protect border, here
      );

Now my square is nicely remeshed. The adjacent sides also have some new faces because the border edges have been split. I would like to know which faces in the new 'mesh' lie on my square. Is there any way to get the this directly from results of isotropic_remeshing (without geometric operations like testing for overlap of the original my_faces etc).

Thanks!
Robert




Archive powered by MHonArc 2.6.18.

Top of Page