Subject: CGAL users discussion list
List archive
- From: johnzjq <>
- To:
- Subject: [cgal-discuss] Polyhedron_incremental_builder_3 under ABSOLUTE_INDEXING mode
- Date: Fri, 15 Oct 2010 02:04:26 -0700 (PDT)
Dear All,
I would like to read several solids in a .obj file to Polyhedron_3 data
structure.
Question 1: Can I use one Polyhedron_3 to record all these solids? or for
each solid, I should define its own Polyhedron_3 object?
Question 2: How to use ABSOLUTE_INDEXING mode in the incremental_builder? I
read the manual but still a little confused: "...the incremental builder
uses absolute indexing and the vertices of the old polyhedral surface can be
used in new facets." Does that mean I can use begin_surface() to start a new
surface just after the last call of end_surface()? Something like:
-------------------------------------------------------
Builder pB(hds, true);
//1
pB.begin_surface()
...
pB.end_surface()
//2
pB.begin_surface()
...
pB.end_surface()
--------------------------------------------------------
It seems the new surface overwrite the old one, isn't it?
Any ideas? Thanks in advance.
John
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Polyhedron-incremental-builder-3-under-ABSOLUTE-INDEXING-mode-tp2996714p2996714.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Polyhedron_incremental_builder_3 under ABSOLUTE_INDEXING mode, johnzjq, 10/15/2010
- Re: [cgal-discuss] Polyhedron_incremental_builder_3 under ABSOLUTE_INDEXING mode, Sebastien Loriot (GeometryFactory), 10/15/2010
- [cgal-discuss] Re: Polyhedron_incremental_builder_3 under ABSOLUTE_INDEXING mode, johnzjq, 10/15/2010
- Re: [cgal-discuss] Polyhedron_incremental_builder_3 under ABSOLUTE_INDEXING mode, Sebastien Loriot (GeometryFactory), 10/15/2010
Archive powered by MHonArc 2.6.16.