Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to tessellate a cube into tetrahedrons that it can be an valid element in CGAL::Triangulation_3?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to tessellate a cube into tetrahedrons that it can be an valid element in CGAL::Triangulation_3?


Chronological Thread 
  • From: Monique Teillaud <>
  • To:
  • Subject: Re: [cgal-discuss] How to tessellate a cube into tetrahedrons that it can be an valid element in CGAL::Triangulation_3?
  • Date: Wed, 04 Nov 2009 13:49:32 +0100

Shuchu Han wrote:
Thanks a lot! And I have another question :P

Hi

Currently, I try to represent several shell structured tetrahedral meshes that has two boundary surface. for example, a thin-wall sphere.

I am not sure I fully understand your needs, but I guess that the CGAL 3D mesh generation package could help you more than the 3D triangulation package alone.

I am using the incremental build method from the un-documented method described in " CGAL\Triangulation_incremental_builder_3.h"; Although it can not pass the "is_valid()" test, it works quite fine. my code can iterative visit the edges, cells and vertices;

however, problems occur recently when i handle a shell structured tetrahedral mesh which has shape edges. specifically, it has two boundaries, and each of them has polycube shape ( i got the surface mesh by polycube mapping).
When my old code iterative visit the finite edges of such a shell tetrahedral mesh, it seems jump into an infinite loop for looking the next edge. (when use Triangulation_3::Finite_edges_iterator);

well, if your triangulation does not pass the is_valid() test, there is a high probability that things don't work...

Sir, would u mind to give me an explanation about the theory of Edges of CGAL::Triangulation_3? or recommend some papers about this. And Is there any correct method to build a Triangulation_3 from an input file?

No need to look at papers, the CGAL manual of CGAL::Triangulation_3 (both user and reference manual) should be enough.

Best regards,
--
Monique Teillaud
INRIA Sophia Antipolis - Méditerranée
http://www.inria.fr/sophia/members/Monique.Teillaud/



Archive powered by MHonArc 2.6.16.

Top of Page