Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (CGAL/GeometryFactory)" <>
- To:
- Subject: Re: 回复: 回复: [cgal-discuss] use CGAL as the grid generator
- Date: Mon, 07 Jan 2013 14:19:30 +0100
- Organization: GeometryFactory
Le lundi 07 janvier 2013 20:13:36
a écrit :
> Dear Lauren Rineau:
> Insert segments one by one can only be used for simple geometry, if i
> treate with a complex region, like the one on the CGAL manual page
> http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Mesh_2/delaunaymesh-
teaser.png
> , how to input the boundary into cgal.
> regards
Even that complex geometry is a collection of segments. You just have to loop
on all segments in the polygon, and insert them one by one in the constrained
Delaunay triangulation (CDT). The precise code that does that depends on how
you input polygons are represented, or if they are loaded from a file. For
example, the function 'loadEdgConstraints' at line 502 of the file
CGAL-4.1/demo/Triangulation_2/Constrained_Delaunay_triangulation_2.cpp inputs
a set of segments from a file, and insert them in a CDT.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] use CGAL as the grid generator, ztdep, 01/05/2013
- Re: [cgal-discuss] use CGAL as the grid generator, Sebastien Loriot (GeometryFactory), 01/07/2013
- 回复: [cgal-discuss] use CGAL as the grid generator, ztdep, 01/07/2013
- Re: [cgal-discuss] use CGAL as the grid generator, Laurent Rineau (CGAL/GeometryFactory), 01/07/2013
- 回复: [cgal-discuss] use CGAL as the grid generator, ztdep, 01/07/2013
- Re: 回复: [cgal-discuss] use CGAL as the grid generator, Laurent Rineau (CGAL/GeometryFactory), 01/07/2013
- 回复: 回复: [cgal-discuss] use CGAL as the grid generator, ztdep, 01/07/2013
- Re: 回复: 回复: [cgal-discuss] use CGAL as the grid generator, Laurent Rineau (CGAL/GeometryFactory), 01/07/2013
- 回复: 回复: [cgal-discuss] use CGAL as the grid generator, ztdep, 01/07/2013
- Re: 回复: [cgal-discuss] use CGAL as the grid generator, Laurent Rineau (CGAL/GeometryFactory), 01/07/2013
- 回复: [cgal-discuss] use CGAL as the grid generator, ztdep, 01/07/2013
- Re: [cgal-discuss] use CGAL as the grid generator, Sebastien Loriot (GeometryFactory), 01/07/2013
Archive powered by MHonArc 2.6.18.