Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Mesh generation question

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Mesh generation question


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Mesh generation question
  • Date: Fri, 27 Jan 2012 15:19:03 +0100
  • Organization: GeometryFactory

Le jeudi 26 janvier 2012 09:43:31 Ram a écrit :

> Hi Laurent,

>

> Here is the relevant code:

>

> // Mesh refinement

> CGAL::refine_mesh_3(c3t3, domain, new_criteria);

>

> // Output

> std::ofstream medit_file("out.mesh");

> c3t3.output_to_medit(medit_file);

>

> Then i render it using medit, and medit shows me (Right click -> Render

> mode -> Shading)

>

> http://cgal-discuss.949826.n4.nabble.com/file/n4331141/Capture.jpg

>

> My rendering, which i posted has similar problems. Lets first fix the

> output_to_medit function (unless I'm doing something wrong), then I can see

> if my code needs fixing?

 

You are right. Your results are highly surprising. Can you give me the full code, with what you put in 'domain' and in 'new_criteria'? There must be something really wrong, because it seems you just mesh simple cuboid.

 

--

Laurent Rineau, PhD

R&D Engineer at GeometryFactory http://www.geometryfactory.com/

Release Manager of the CGAL Project http://www.cgal.org/

 




Archive powered by MHonArc 2.6.16.

Top of Page