Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] h->opposite()->facet() always invalid using Polyhedron_incremental_builder_3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] h->opposite()->facet() always invalid using Polyhedron_incremental_builder_3


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] h->opposite()->facet() always invalid using Polyhedron_incremental_builder_3
  • Date: Wed, 06 Mar 2013 06:37:07 +0100
  • Organization: GeometryFactory

Can you give more information like the modifier you wrote for example?

A common mistake is not reusing the vertices. If you add two vertices
with the same coordinates, they will be consider as different.

Sebastien.

On 03/06/2013 05:51 AM, Evan Behar wrote:
I have constructed a Polyhedron_3, /P/, using the
Polyhedron_incremental_builder_3, and I am running into the problem that
none of the halfedges in the structure are being associated with any
opposite halfedges that have been previously constructed.

After construction, retrieving a Halfedge_handle /h/ from /P /and
calling /h->opposite()->facet()/ always results in an invalid Facet_handle.

Is this expected behavior from Polyhedron_incremental_builder_3? Do I
have to stitch the facets together manually?




Archive powered by MHonArc 2.6.18.

Top of Page