Subject: CGAL users discussion list
List archive
- 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
- [cgal-discuss] Read IFC building model or VRML file with CGAL, Helmi Ben Hmida, 02/21/2012
- Re: [cgal-discuss] Read IFC building model or VRML file with CGAL, Philipp Moeller, 02/21/2012
- Re: Re: [cgal-discuss] Read IFC building model or VRML file with CGAL, Laurent Rineau (GeometryFactory), 02/22/2012
- Re: [cgal-discuss] Read IFC building model or VRML file with CGAL, Philipp Moeller, 02/21/2012
Archive powered by MHonArc 2.6.16.