Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Read IFC building model or VRML file with CGAL

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Read IFC building model or VRML file with CGAL


Chronological Thread 
  • From: Philipp Moeller <>
  • To:
  • Subject: Re: [cgal-discuss] Read IFC building model or VRML file with CGAL
  • Date: Tue, 21 Feb 2012 23:02:39 +0100
  • Organization: GeometryFactory

Helmi Ben Hmida
<>
writes:

> I would like to read the content of an IFC file (or VRML if not) from
> the CGAL library and store the different geometries inside in the
> nefPolyhderon Structure in order to apply certain topologic operaion
> on them later on.

As Sebastien already told you: The simplest way is probably to convert
your files to the OFF format [1], use those files to create a
CGAL::Polyhedron and construct a CGAL::Nef_polyhedron [2] from those files.

The documentation for Polyhedron [3] even says that it supports VRML
files, but I have never used this.

HTH,
Philipp Moeller

[1] : http://www.holmes3d.net/graphics/offfiles/
[2] :
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Nef_3_ref/Class_Nef_polyhedron_3.html
[3] :
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Polyhedron/Chapter_main.html#Section_25.4




Archive powered by MHonArc 2.6.16.

Top of Page