Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Surface_mesher parameters

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Surface_mesher parameters


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Surface_mesher parameters
  • Date: Wed, 13 Apr 2011 10:14:03 +0300
  • Organization: GeometryFactory

Le lundi 11 avril 2011 13:57:11, Ricardo Uribe Lobello a écrit :
> Good morning,
>
> I am trying to use the Surface_mesher examples in CGAL 3.7 in order to
> extract an surface from
> a set of images in format raw. I used the CGALIO program to generate a
> file .inr and i execute the
> Surface_mesher but i always obtain only one part of the volume.
> Apparently it has to do with the parameters of the sphere that has to
> enclose the object and the
> Surface_mesh_default_criteria_3 trait.
>
> The volume dimentions are 1024 x 1024 x 1024 and the spacing is (1,2,1).
> The origin is (0,0,0) someone can explain me which are the good
> parameters for the surface_mesher in this case?

Use (512, 1024, 512) as the center of the sphere, and
r2 = 512^2+1024^2+512^2+1 = 1572865
as squared radius of the sphere.

--
Laurent Rineau, PhD
Release Manager of the CGAL Project http://www.cgal.org/
R&D Engineer at GeometryFactory http://www.geometryfactory.com/



Archive powered by MHonArc 2.6.16.

Top of Page