Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] How to invert the normals of facets in a polyhedron_3
- Date: Fri, 23 Dec 2011 07:35:23 +0100
If you want to reverse the orientation of each facet you can directly call Polyhedron_3::inside_out().
Sebastien.
johnzjq wrote:
Hi all,
I am trying to invert the normals of facets in a polyhedron_3.
A fast way is to modify the connections of halfedges inside each facet.
However, I found functions such as set_next() and set_prev() are private
members of class I_Polyhedron_halfedge. How to use these functions? or are
there exist some alternate operations?
Another way is to reconstruct a new polyhedron, which is clumsy solution I
think.
Your help would be appreciated!
John.Z
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/How-to-invert-the-normals-of-facets-in-a-polyhedron-3-tp4227589p4227589.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] How to invert the normals of facets in a polyhedron_3, johnzjq, 12/23/2011
- Re: [cgal-discuss] How to invert the normals of facets in a polyhedron_3, Sebastien Loriot (GeometryFactory), 12/23/2011
- [cgal-discuss] Re: How to invert the normals of facets in a polyhedron_3, johnzjq, 12/23/2011
- Re: [cgal-discuss] How to invert the normals of facets in a polyhedron_3, Sebastien Loriot (GeometryFactory), 12/23/2011
Archive powered by MHonArc 2.6.16.