Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Preserve Polyhedron_3 halfedges order after save (simplification related)
Chronological Thread
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Preserve Polyhedron_3 halfedges order after save (simplification related)
- Date: Wed, 12 Mar 2014 19:41:44 +0100
- Organization: GeometryFactory
On 03/12/2014 06:02 PM, Zohar wrote:
If you want to hack, you should follow the way face vertices are written
Right, so again: After simplification (before saving - when I don't have
control anymore), how do I change the order of the edges to conform with the
file load? The question is really if there's a quick trick to do it, such as
normalize_border(), instead of modifying the whole HDS.
and how they are read to create halfedge. Then you need to reorder the
internal list holding the halfedges. The remaining problem is opposite
halfedges that might need to be swapt and their respective pointers.
IMO, You better write you own writer/reader or serialize the polyhedron.
If you can wait a bit, I have a similar need for another project,
I can share the code once written.
Sebastien.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Preserve-Polyhedron-3-halfedges-order-after-save-simplification-related-tp4658953p4658956.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Preserve Polyhedron_3 halfedges order after save (simplification related), Zohar, 03/12/2014
- Re: [cgal-discuss] Preserve Polyhedron_3 halfedges order after save (simplification related), Sebastien Loriot (GeometryFactory), 03/12/2014
- Re: [cgal-discuss] Preserve Polyhedron_3 halfedges order after save (simplification related), Zohar, 03/12/2014
- Re: [cgal-discuss] Preserve Polyhedron_3 halfedges order after save (simplification related), Sebastien Loriot (GeometryFactory), 03/12/2014
- Re: [cgal-discuss] Preserve Polyhedron_3 halfedges order after save (simplification related), Zohar, 03/12/2014
- Re: [cgal-discuss] Preserve Polyhedron_3 halfedges order after save (simplification related), Sebastien Loriot (GeometryFactory), 03/12/2014
Archive powered by MHonArc 2.6.18.