Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Building polyhedra.

Subject: CGAL users discussion list

List archive

[cgal-discuss] Building polyhedra.


Chronological Thread 
  • From: Noel Warren <>
  • To:
  • Subject: [cgal-discuss] Building polyhedra.
  • Date: Sun, 9 Dec 2012 11:30:26 +0100

I need to import a series of models from Sketchup into CGAL.  Up to now I've been using the Sketchup API and a simple little script to triangulate faces which I then use to create an OFF file and build my CGAL Polyhedron.  The problem is the Sketchup API uses floats and ocasionally creates degenerate OFF files.  (This usually happens when I have two rectangular holes on a face that are closely lined up)

The Sketchup model uses a structure very similar to that of CGAL with half_facets, half_edges, loops, etc.  My question is, could I construct a Polyhedron from this type of data structure directly?  If so how would I go about doing so.

Thanks.



Archive powered by MHonArc 2.6.18.

Top of Page