Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] make_surface_mesh fails

Subject: CGAL users discussion list

List archive

[cgal-discuss] make_surface_mesh fails


Chronological Thread 
  • From: Zohar <>
  • To:
  • Subject: [cgal-discuss] make_surface_mesh fails
  • Date: Sun, 4 Sep 2011 01:21:10 -0700 (PDT)

Hi,

First congratulation on the forum interface, it's more convenient.

Second I have a problem with make_surface_mesh when reconstructing from an
implicit function. When I want higher resolution, i.e. I decrease the radius
or distance bounds in the criteria, it fails with:

CGAL::Polyhedron_incremental_builder_3<HDS>::
lookup_halfedge(): input error: facet 2960 shares a halfedge from vertex
3581 to vertex 351 with facet 1784.

So I thought instead of using Exact_predicates_inexact_constructions_kernel
to use Exact_predicates_exact_constructions_kernel, but I had compilation
problems. I fixed them with changing in:

Complex_2_in_triangulation_3_polyhedron_builder.h

double top_z =
=>
Tr::Geom_traits::FT top_z

Implicit_surface_oracle_3.h, Sphere_oracle_3.h

const FT radius = CGAL::sqrt(squared_radius);
=>
const FT radius = CGAL::sqrt(CGAL::to_double(squared_radius));


, but when I ran it with the changes, it just ran forever.

I appreciate your help,
Thanks



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/make-surface-mesh-fails-tp3788898p3788898.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page