Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] Reverse the winding of a polygon mesh?
- Date: Mon, 05 May 2008 09:36:33 +0200
wrote:
Hi, all
I got a polygon mesh (stored as a Polygon_3) with wrong winding. Is there any
way to reverse its winding?
I'm thinking of reversing all halfedges in the mesh one by one. Is it
possible to reverse the orientation of a halfedge?
Thank you.
Hi Kevin,
This one should do it:
void Polyhedron_3<..>.inside_out () reverses facet
orientations (incl. plane equations if supported).
andreas
- Reverse the winding of a polygon mesh?, kevin . kai . xu, 05/05/2008
- Re: [cgal-discuss] Reverse the winding of a polygon mesh?, Andreas Fabri, 05/05/2008
- Re: [cgal-discuss] Reverse the winding of a polygon mesh?, Kevin Xu, 05/05/2008
- Re: [cgal-discuss] Reverse the winding of a polygon mesh?, Andreas Fabri, 05/05/2008
Archive powered by MHonArc 2.6.16.