Subject: CGAL users discussion list
List archive
[cgal-discuss] Re: unexpected number of facets in Parameterization_mesh_patch_3
Chronological Thread
- From: Alex Tsui <>
- To:
- Subject: [cgal-discuss] Re: unexpected number of facets in Parameterization_mesh_patch_3
- Date: Tue, 6 Nov 2012 12:08:22 -0800
As an update, I think I've tracked the problem down to a bug in Parameterization_mesh_patch_3::get_facet_seaming( ). When you get an iterator over the patch facets, this method is used to filter just the inner patch facets from all of the facets, but the check that it performed was incomplete and so some outer facets on the border were wrongly called inner facets.
Here's a patch to fix this problem:
http://pastie.org/5336645
--Alex
On Mon, Nov 5, 2012 at 7:28 PM, Alex Tsui <> wrote:
Hi,
I'm trying to specify a Parameterization_mesh_patch_3 on a mesh, but after specifying a closed loop of vertices, I am getting an unexpected number of facets being included in the patch. Here is an image to illustrate:
http://i.imgur.com/rBYMZ.png
The white dots are the vertices I've specified, and I would expect that the 9 enclosed facets form the patch, but there are actually 18 facets in total, including the one in red.
Before this, I tried to make a patch that exported a single facet by specifying a seam that included 3 vertices of a facet in clockwise order. I would expect 1 facet in the patch but for the mesh I used, I got a patch with 4 facets.
I'm not sure what might be wrong, but I wonder if anyone has any ideas?
--Alex
- [cgal-discuss] unexpected number of facets in Parameterization_mesh_patch_3, Alex Tsui, 11/06/2012
- [cgal-discuss] Re: unexpected number of facets in Parameterization_mesh_patch_3, Alex Tsui, 11/06/2012
Archive powered by MHonArc 2.6.18.