Subject: CGAL users discussion list
List archive
- From: Laurent Saboret <>
- To:
- Subject: Re: [cgal-discuss] Mesh a portion of an implicit surface
- Date: Fri, 07 Nov 2014 10:29:17 +0100
Dear Wiredchop,
CGAL Poisson reconstruction will always create a closed surface. See http://doc.cgal.org/latest/Surface_reconstruction_points_3/#title13
If you start from a small mesh (or point set) that is not closed, the reconstruction will create a closed surface and you will have to detect and delete the extra triangles.
As far as I know, CGAL does not provide any algorithm for such detection. You have to write your own.
Best regards,
Laurent Saboret
Le 06/11/2014 21:39, Wiredchop a écrit :
Hello all,
I've managed to create a mesh from a point set using the Poisson
reconstruction example.
I'm interested in meshing only a portion of this surface though rather than
the entire thing (for the purposes of hole filling).
In the documentation on mesh generation
<http://doc.cgal.org/latest/Surface_mesher/index.html#SurfaceMesher_section_criteria>
I noticed this: "The meshing algorithm requires to know the surface to be
meshed only through an oracle able to tell whether a given segment, line or
ray intersects the surface or not and to compute an intersection point if
any. This feature makes the package generic enough to be applied in a wide
variety of situations."
and hoped it meant I was able to give it a small starting mesh and it return
a corresponding mesh which intersects the implicit surface. I'm a little
confused on how to implement this though, all the implicit surface functions
seem to use a bounding sphere, suggesting to me the whole surface will be
meshed.
Can anyone provide a small sample of code to put me on the right track?
All help greatly appreciated,
Wiredchop
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Mesh-a-portion-of-an-implicit-surface-tp4660055.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Mesh a portion of an implicit surface, Wiredchop, 11/06/2014
- Re: [cgal-discuss] Mesh a portion of an implicit surface, Laurent Saboret, 11/07/2014
Archive powered by MHonArc 2.6.18.