Subject: CGAL users discussion list
List archive
- From: "Kevin Xu" <>
- To:
- Subject: Re: [cgal-discuss] Reverse the winding of a polygon mesh?
- Date: Mon, 5 May 2008 17:04:33 +0800
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sU+Jl7QB9No3TzXxg3mmSZ3ogi36fCHHQxzxVYot965X6AV0QoE82IbvAugn0Sh4Dl6/OY9IYauKLKF1mWHcwbmU1fi0x+cDaLL0ibCuzSrfUctq9FWMXHcwseo5+gcWZMBMGPiOT6p0TKRIGp2aH3DZ5/dlDkzt5hD9GE5ZyQg=
Thanks, Andreas
On 5/5/08, Andreas Fabri
<>
wrote:
>
> 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
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>
- 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.