Subject: CGAL users discussion list
List archive
- From: "Kevin Xu" <>
- To:
- Subject: Re: [cgal-discuss] Reverse the orientation of a single face?
- Date: Tue, 20 May 2008 21:02:16 +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=tY/NaEor8n3bb0a/p/q03lnUlNVvYniWZyV/sV3B+9EUVllMgUvcQTUpGxPVzT7704jL3hvhuHIQBvDSoD0BHIUmA7Ot1RmeHBNvJssm68wvdyg+Yc0f0Tjy4LDITo+pat2124D/aQMh5i0f7wyeP0gtL+VqHWcnLUCz4UY5rDg=
Hi Andreas,
Thanks for your reply.
> What would be the meaning of this? Faces must be oriented in a consistent
> way, that is two faces sharing an edge, must be hooked up with two
> opposite halfedges. So the orientation of one face implies the orientation
> of the neighbor faces, and changing the orientation of one face, does
> not really make sense.
The truth is I'm loading a mesh file in which there are indeed some
faces with inconsistent orientation with its neighbors. So, is there
any way to detect this inconsistency during loading the mesh?
> What you can do is have an adapter layer, add a boolean flag to your Face
> type,
> and write an iterator adaptor that when you call operator++ for a halfedge
> circulator internally calls operator--
This is a good idea! But is there a method to make the orientations of
all faces consistent anyway?
Thank you.
- Reverse the orientation of a single face?, kevin . kai . xu, 05/19/2008
- Re: [cgal-discuss] Reverse the orientation of a single face?, Andreas Fabri, 05/19/2008
- Re: [cgal-discuss] Reverse the orientation of a single face?, Kevin Xu, 05/20/2008
- Re: [cgal-discuss] Reverse the orientation of a single face?, Andreas Fabri, 05/19/2008
Archive powered by MHonArc 2.6.16.