Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Re: [cgal-discuss] which demo?
- Date: Tue, 20 Mar 2012 16:49:44 +0100 (CET)
ok. I had a llok to mesh_2_demo.cpp and especially to open_triangulation
(seems to accept .data), but algo is not very clear about what is done :-\
Is it possible (with cgal_4.0) to specify the coordinates of a polygon
contour and to get _automatically_ the associated adaptive mesh (i mean
adaptive mesh= adaptive sampling and triangulation) ? (i.e. smaller triangles
along contours or sharp areas , and larger ones in the middle)
tahnks in advance
gwen
----- Mail original -----
De: "Laurent Rineau (GeometryFactory)"
<>
À:
Envoyé: Mardi 20 Mars 2012 15:46:01
Objet: Re: Re: [cgal-discuss] which demo?
Le mardi 20 mars 2012 15:35:04
a écrit :
> I have already tested constrained_delaunay_triangulation_2 but this demo
> triangulates outside of the shape if my shape is not convex :-( whereas on
> the "north america" picture, triangulation is only performed inside the
> area (even i do not understand why some lake have been triangulated and
> some others not...).
CGAL triangulations always triangulate the whole convex hull. But the quality
of triangles is ensured by Mesh_2 only inside the domain.
The old Mesh_2 demo that uses Qt3, located in demo/Mesh_2/Qt3/ does display
only triangles of the meshing domain. That may be the demo you are looking
for.
Some lakes were not meshed because we manually put negative seeds inside
them.
See the user documentation of Mesh_2:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Mesh_2/Chapter_main.html#Subsection_46.2.1
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- [cgal-discuss] which demo?, gwenm, 03/20/2012
- Re: [cgal-discuss] which demo?, Laurent Rineau (GeometryFactory), 03/20/2012
- Re: Re: [cgal-discuss] which demo?, Laurent Rineau (GeometryFactory), 03/20/2012
- Re: [cgal-discuss] which demo?, gwenaelle . marquant, 03/20/2012
- Re: Re: [cgal-discuss] which demo?, Laurent Rineau (GeometryFactory), 03/20/2012
- Re: [cgal-discuss] which demo?, gwenaelle . marquant, 03/20/2012
- Re: Re: [cgal-discuss] which demo?, Laurent Rineau (GeometryFactory), 03/20/2012
- Re: [cgal-discuss] which demo?, gwenaelle . marquant, 03/20/2012
- Re: Re: [cgal-discuss] which demo?, Laurent Rineau (GeometryFactory), 03/20/2012
- Re: [cgal-discuss] which demo?, gwenaelle . marquant, 03/20/2012
- Re: Re: [cgal-discuss] which demo?, Laurent Rineau (GeometryFactory), 03/20/2012
- Re: [cgal-discuss] which demo?, Laurent Rineau (GeometryFactory), 03/20/2012
Archive powered by MHonArc 2.6.16.