Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Triangulation 3D (I'm SORRY that I forgot to change the subject)

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Triangulation 3D (I'm SORRY that I forgot to change the subject)


Chronological Thread 
  • From:
  • To:
  • Subject: Re: [cgal-discuss] Triangulation 3D (I'm SORRY that I forgot to change the subject)
  • Date: Tue, 06 May 2008 12:46:37 +0200

Hui DING wrote:

2) From some basic exemple of chapiter 22, i saw that we get the
triangulation information by using "/ostream/", but I dont
understand what every value stands for. (the dimention, number of
finite, non-combinatorial, the number of cells are clear, but the
others i cant figure out, anyone can help?).

btw. it would be helpful to be a little more precise. I assume you are talking about example 27.6.1, right? I'm not sure having understood your question in the right way. In this example the triangulation is written to a file via a std::ofstream using the output operator << .
This is described under section "I/O" in http://www.cgal.org/Manual/3.3/doc_html/cgal_manual/Triangulation_3_ref/Class_Triangulation_3.html

- The output file shows like this (I understand the first 9 lines, but for the others, I dont know..):

It's documented at the address that Manuel gave you
------------------
The information in the iostream is: the dimension, the number of finite vertices, the non-combinatorial information about vertices (point, etc), the number of cells, the indices of the vertices of each cell, plus the non-combinatorial information about each cell, then the indices of the neighbors of each cell, where the index corresponds to the preceding list of cells. When dimension < 3, the same information is stored for faces of maximal dimension instead of cells.
------------------



Archive powered by MHonArc 2.6.16.

Top of Page