Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Question about Mesh_3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Question about Mesh_3


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Question about Mesh_3
  • Date: Wed, 6 Jun 2018 17:51:38 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:NValIxUND68CKJS+tR5DsijbD6TV8LGtZVwlr6E/grcLSJyIuqrYbBCEt8tkgFKBZ4jH8fUM07OQ7/i9HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba9yIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KptVRTmijoINyQh/W/KlMJwgqJVrhGvqRNxzIHbYp2aOeFkca/BZ94XX3ZNU8hTWiFHH4iyb5EPD+0EPetAs4T9oUYBrQGgCga2H+Pk1z9GiWXt0q0g0uQqDAbL0xYmH90TqnTbss/6NLwIXeC71qbH1i/Db/JN1Dfy9ofIdRUhru+QXbJqccvRx1MgGB/ZjlWXs4zkPymZ2fgKs2ie9udtU/+khWAgqwF0uDevx8Esh5HGhoIU1lDE9Th5z50vKdKkT057ZNipG4ZTuSGCL4Z7TcIvT3t1tComyrAKo5y2cSkQxJg6yBPSaOSLfoyU7h75V+ucIC10iG9hdb6hnRq+7EitxvP6W8KpylhFtDBFncPJtn0V1xzc9MyHSvxl80qlwzqP0gfT5vxGLE0wj6bbLoQuwr80lpYKtkTDAzP2lF/xjK+IdkUo4O6o5Pr7Yrn+p5+cMZF7ih3mP6khm8GzG/k0PhQOUmSB++mx1afv8VD2TbhJlvE2l7PWsJHeJcQVvK65BApV35455Ba5EjimysoXkmMcLF5fdhKIlZPmO0vPIP3jAvewnVOskDJ1yPDaJL3gApvNIWLfn7f9erZ98U5dxBAvwtBY4pJYEqsBL+7rWk/tqNzYCQc0PBC7w+n9DNVxz54RWWOUAqCFLaPSqkSI6/k0I+iMYY8VoCzyJ+Ik5/7ol385mEUScbOn3ZsNOziEGaFtLEydJHbtmdwcCnwivwwkTeWshkfRfyRUYiObWa4m6zggQKyvB53CDtSkhrCb0S6gWJNfbHpHIl+BFnLla5+VVf4HdCWIM4lqlTlSBuvpcJMoyRz77Fyy8LFgNOeBonRJ56Km78B84qjorT938DV1C8qH1GTXFjN7k2QNSiMsza52qlB60EbF2q990aQBSY5joshRWwJ/DqbyivRgAoqrCA3MedKEVEy3TNytHTYrX5Q6xNpcOx8gSeXntQjK2m+RO5FQl7GPA8ZqoPOa2n+oeJc7zn/H0OwmkkVgRdVPc2urmvwn+g==

Hi Zesen Qian,

As Laurent pointed out the algorithm for finding initial points has
potential for improvement.

If you have a polyhedral surface then taking some vertices which
are not too close to each other might be a good seeding.

https://gist.github.com/afabri/1bbf46c6fd4f742bd982

Best,
Andreas

On 6/6/2018 5:41 PM, Laurent Rineau (CGAL/GeometryFactory) wrote:
Le Tuesday, June 5, 2018 7:47:50 PM CEST Zesen Qian a écrit :
Hi list,

I have several question about Mesh_3.

1. I'm generating isosurface by implicit function. It requires that
the center of the sphere be inside of the mesh. The question is, given
an arbitrary mesh, how can I find such a point?
Hi,

You talk at the same time about an implicit function and a mesh. What is 
actually your input?

2. Due to the first problem(I guess), the mesher seems to be sampling
a lot at a specific spot on the surface, making the mesh very dense at
that spot. While the generated mesh is self-intersection free by
construction, the exported .off is not(because of the precision
issue). I have set the precision to 17-digits and it doesn't help. I
guess one approach is to give a lower bound on the facet_size, but I
coudln't find such a parameter. Another approach is to simplify the
mesh, but I'm worried this might lose some details of the mesh.
That is probably related. The default initialization of the mesh is done by 
shooting random ray around a point (and that point is the center of the 
sphere by default). If that point is close to the iso-surface, then ray 
shootings will produces initial points that are very close.


-- 
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: +33.492.954.912    skype: andreas.fabri



Archive powered by MHonArc 2.6.18.

Top of Page