Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Problem with building polyhedron

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Problem with building polyhedron


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Problem with building polyhedron
  • Date: Thu, 20 Nov 2014 09:40:13 +0100
  • Organization: GeometryFactory

On 11/19/2014 04:43 PM, Omer Ozturk wrote:
B.begin_facet();
for(int i=0;i&lt;pts.length(); i++){
B.add_vertex_to_facet( i);
}
B.end_facet();
Here you create one facet with all the vertices inside that facet.
If you have triangles, you need to do begin_facet/end_facet for
each triangle.


Sebastien.



Archive powered by MHonArc 2.6.18.

Top of Page