Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] use Surface mesher to re-mesh self-intersecting

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] use Surface mesher to re-mesh self-intersecting


Chronological Thread 
  • From: Pierre Alliez <>
  • To:
  • Subject: Re: [cgal-discuss] use Surface mesher to re-mesh self-intersecting
  • Date: Mon, 23 Feb 2009 01:00:46 +0100
  • Organization: INRIA

hello,

did you try the polyhedron demo in the new release?
there is a remeshing example in there.

Pierre Alliez
INRIA Sophia Antipolis - Mediterranee Project-team GEOMETRICA http://www-sop.inria.fr/members/Pierre.Alliez/
Tel: +33 4 92 38 76 77
Fax: +33 4 97 15 53 95



Qianqian Fang a écrit :
hi

In the past, I asked in this list about removing self-intersecting
elements from triangular surface. I was recommended to use
the surface mesher avoid repairing a bad mesh as it guarantees to
have no self-intersecting elements.

Now, I need to process a surface generated from other software,
unfortunately, this mesh contains self-intersecting elements. So, I
still need a program to fix this surface (and resample it to my
desired density).

Reading the documents of the Surface Mesher, I have the impression
that it can be applied for this situation. The only difference
is that the surface is not defined by gray-scale image, or an implicit
function, but by a triangular surface mesh.

Indeed, I can even define the surface by an implicit function, which
returns the distance from a Point_3 to a Polyhedron_3, similar to
the sphere case in the manual. Does this sound like a viable
approach to you?

If it may work, what I need is to find a subroutine to calculate the
distance. I only found a squared_distance() for Point_3
to Plane_3 in include/CGAL/squared_distance_3_2.h. I am wondering
if a similar function to calculate Point3 to a polyhedron exists?
if it does, can anyone show me an example how to use it?

thank you

Qianqian



Archive powered by MHonArc 2.6.16.

Top of Page