Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Question about I/O triangulation with Data

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Question about I/O triangulation with Data


Chronological Thread 
  • From: Jakob van Bethlehem <>
  • To:
  • Subject: Re: [cgal-discuss] Question about I/O triangulation with Data
  • Date: Tue, 13 Mar 2012 16:47:00 +0100



On 03/12/2012 09:40 AM, Jonas Wallin wrote:
Well for two reason

1. Once I have the tessellation in CGAL I want do various operations like
point locations, intersection and so on.
2. I want to learn how to use CGAL.

mvh
Jonas Wallin

Hej Jonas,

That makes sense. So, did you have a look at these pages yet?
for 3D:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Triangulation_3_ref/Class_Triangulation_3.html
for 2D:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Triangulation_2_ref/Class_Triangulation_2.html
(from your mails I couldn't tell whether you are working in 2D or 3D,
although I suspect 2D)

On both of these pages at the very end you see that both operator<<() and operator>>() are overloaded in CGAL to act on a triangulation and the format is explicitly explained. Since you already have the full triangulation in some format, I'm guessing it shouldn't be to hard too convert that into 'CGAL-formatting', allowing you to directly read the triangulation into CGAL triangulation object using the extraction operator, operator>>().

Sincerely,
Jakob


Hej Jonas,

Maybe a bit silly.....if you have the tessellation already, why use CGAL
to recalculate the same tessellation?

Greetsz, Jakob

[..]


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





Archive powered by MHonArc 2.6.16.

Top of Page