Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Output from Delaunay Triangulation.

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Output from Delaunay Triangulation.


Chronological Thread 
  • From: Sylvain Pion <>
  • To:
  • Subject: Re: [cgal-discuss] Output from Delaunay Triangulation.
  • Date: Sun, 30 Nov 2008 16:32:33 +0100
  • Organization: INRIA

Chaman Singh Verma wrote:
I have list of 2D/3D coordinates and interested in Delaunay triangulation as follows.

#VertexID X Y Z
1 x1 y1 z1
2. x2 y2 z2
3


#Triangles in 2D
1 T1n1 T1n2 T1n3
2 T2n1 T2n2 T3n3
3.


How interger ID are assigned to the vertices ?

It is up to you. There is no internal ID for vertices in CGAL.
You can build one by std::map-ing Vertex_handles to integers for example.
Fell free to have a look at the implementation of operator<<
to get some inspiration.

--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.16.

Top of Page