Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Planar Parameterization of Triangulated Surface Meshes

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Planar Parameterization of Triangulated Surface Meshes


Chronological Thread 
  • From: Mael <>
  • To:
  • Subject: Re: [cgal-discuss] Planar Parameterization of Triangulated Surface Meshes
  • Date: Mon, 5 Nov 2018 09:05:51 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:5RLzAhPEnZ2YERSFEF8l6mtUPXoX/o7sNwtQ0KIMzox0Ivj/rarrMEGX3/hxlliBBdydt6obzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlKiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD+s7bpkSAXwhSkaKTA5/mHZhM9+gq1Vrx2upQBwzpXOb42JLvdzZL/RcN0aSGdHQ81fVzZBAoS5b4YXCOQOJ/hXr43grFYJqBuxHxejBOf1xj9SgX/2wKI73PolEQ3c2AwvBckBv2/Ko9juO6cdT+e1zKzWwjXfdfNX2Tn955LUfRA9pvGMR7JxfdDNxkkoEgPIl1OdopHrMTOS0+QCqWmb7+x4WO2zhG4osQVxriKoxsc2hYnFno0VylHY9SV53YY6Pse0R1J8Yd6hFpZbqiKUN5NuT84hQWxkoiI3x74ctZKmfiUHy44ryhDeZvCfbYSE+A/vWeaLLTtli39oeKiziwi8/EWvzOD3S9O630xQriVfl9nBrnAN2ALX6siAUvZw/l2t2TOI1w3d8O1EJFo7lavfK5I4xb4wi4YTvV7EHi/omEX6lqmWeVs4+uSw6uTnZKvppoOEOoJ3iAzyKKAjl8+lDeglMAUDXHKX9Oq92bH7+E32WrRKjvk4kqnDt5DaINwWpqujDABL1oYv8Qy/DzC70NUXg3YHKEhJeBadgIfyIF7BPuv1DfihjFSrlTdk2ezGPqfhA5XDNHfMjKvhfbFn609c0gY80ddf55dMBrEbPP3zQlPxtMDfDhIhLwO0zPzoCNFk2owDWGKPGbOWML7JsV+T/e8vOOmNZIoNuDnnMfQl5vjujWU4mVAHZ6Wp04EXOziEGaFtLEydJHbtmdwcCnwivwwkTeWshkfRfyRUYiOXVq84rmU+AY+iS53EW5CghPqF1S2xE7VZa2dDB0yWAHnhfJmDQeZKYyWXdJwy2gcYXKSsHtdynSqlsxX3nuI+f7jkvxYAvJem7+BboujalBU87ztxVZ3P3GyKSmxohHIGTjQq27pu50d6zwXbiPQqs7ljDdVWoshxfEIiL5eGlr51Btf3Vx7bb9mAQ0qhWMTgCjY0HIpono0+Jn1lEtDntSjtmiqnB7hPy+7WQpkzqeTZ1nn1YsFg1zDByqlniVQ6EJNC

Hello,

For your first question, please see the link to the documentation of the class Seam_mesh, specifically the functions add_seams(), where you specify vertices. These vertices can be specified either as vertices directly, or as indices. Each vertex is by default associated an index, which is its position when you go through the vertices of the data structure, but you can also specify an index map. It's about the same for cone specification, see here.

As for self-intersection detection, you can use the package Polygon Mesh Processing, see here. This package also has some work-in-progress and undocumented repair functions (e.g. this one), but it's not guaranteed it will always fix up your meshes.

Best,
Mael

On 04/11/2018 08:51, Shalev Mintz wrote:

Thanks Mael.

 

I saw the examples you linked to, but what they don’t show is how to choose the actual vertices/edges of the cut graph.

They just read a list of vertex indices from a file, but it is unclear how those indices were chosen in the first place.

Same goes for choosing the cones in the Orbifold parameterization.

 

Is there a way I can recognize self-intersections in a mesh? How can I “repair” it in such a case and make it a topological disk/sphere?

 

Thanks a lot,

Shalev.

 

 

 

 

Hello,

You can use the class Seam_mesh of CGAL to create virtual borders on meshes. See this example for a simple use case of parameterization of a seam mesh.

A simple example of usage of the orbifold parameterization method is offered here.

The mesh you have attached has self-intersections and is not a topological disk, though. You will have to repair it first in any case.

Best,
Mael

On 01/11/2018 10:42, Shalev Mintz wrote:

Hi,

I’d like to perform a surface parametrization of a triangle mesh.

I tried using some of CGAL’s algorithms, e.g. ARAP, Discrete Conformal Map etc.

The problem is that the surface parameterization methods proposed by CGAL only deal with meshes which are homeomorphic to discs.

Meshes with arbitrary topology can be parameterized, provided that the user specifies a cut graph, which defines the border of a topological disc.

So the problem now becomes – how to cut the graph properly (using CGAL’s interface). I would really appreciate a simple example.

 

Another option, is to use the Orbifold Tutte Embeddings algorithm, that way the mesh only has to be homeomorphic to a sphere, but I still need to specify the “cones”.

So again, I’d really appreciate a simple example.

 

I’m attaching a small mesh which is a typical example of the sorts of meshes I need to parametrize.

 

Thanks a lot.

 




Archive powered by MHonArc 2.6.18.

Top of Page