Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to store an existing triangulation in CGAL

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to store an existing triangulation in CGAL


Chronological Thread 
  • From: "Damian Sheehy" <>
  • To:
  • Subject: Re: [cgal-discuss] How to store an existing triangulation in CGAL
  • Date: Thu, 22 Feb 2007 08:27:40 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ESbwfOLkrt43jEhMfIo0QLQoywpzwArnYkgNdA4XJ6Gm9stpuoVE5u9fRbSThjTGZ+hmJHLh8F7WfdfMOZJpRSgNoS7zfcgC/qquOOaLEcT5EKEe0gVtmxN7ityx+Uppb83L3ZuHsHdYWPWQmn+/CljwkkpvddgSVASN/F3CG8s=

Well, if your mesh is contained in a file on disk, you may want to consider writing a script that converts that mesh into the Triangulation_2 format. The Triangulation_2 file could then be read into CGAL using the Triangulation_2 >> operator.

On 2/21/07, Olumide <> wrote:
Hello -

I've got another novice question. As some of you may know, I am very new
to CGAL and to computational geometry. So please bear with me.

I've been taking a close look at the Triangulation_2 class, with a view
to representing an existing triangulation in CGAL, and performing
certain computations on the triangulation. However, I have just realized
that the class Triangulation_2, appears to construct a triangulation
from a planar subset (I'm referring to page 185 of Computational
Geoemtry by M. de Berg et. al.) rather than represent an existing
triangulation.

First of all, I'd like to confirm if this is the case, and if so, how
may an *existing* triangulation may encoded (I'm not sure of this is the
appropriate term) in CGAL. The Constrained Delaunay triangulation/mesh
looks promising, but I'm still guessing, so I'd like someone to please
correct me if I'm wrong.

Lastly, I'd like to know if a mesh (I suppose that's what I'll be using)
can be converted into a Triangulation_2. I'd like to know because as I'd
like to perform certain computations on my triangulation.

Thank you,

- Olumide


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss




Archive powered by MHonArc 2.6.16.

Top of Page