Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Trouble with Triangle_3_Segment_3_intersection.h

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Trouble with Triangle_3_Segment_3_intersection.h


Chronological Thread 
  • From: Stephane Tayeb <>
  • To:
  • Subject: Re: [cgal-discuss] Trouble with Triangle_3_Segment_3_intersection.h
  • Date: Thu, 06 Aug 2009 09:42:15 +0200

Matthew Denno wrote:
Stephane,

Thank you for your reply, I really appreciate your help. I did as you
suggested and moved the include to before the CGAL Kernel, but still no
success. I actually received 312 errors when I try to compile it, they are
shown below.

I should probably take a step back and ask a simple question. Pierre Alliez
emailed me the Triangle_3_segment_3_intersection.h file along with a few
other Triangle_3_XXXXXXX_intersection.h files a few weeks back. Is it
acceptable to just copy that file into the /usr/include/CGAL directory and
use it or are some other steps needed? It appears that many of the errors
are from the intersection_3_1.h file. Would a different version of that
file be required also?

Also, I don't know if this is important, but I am using CGAL version 3.5
beta.

Thanks again for your help,

Matt

Hi,

You could try to use the following includes in your main file :

#include <CGAL/intersections.h>
#include <CGAL/Triangle_3_segment_3_intersection.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
...


Note that the file you are using is distributed with CGAL3.5b1, located into "CGAL/AABB_intersections/Triangle_3_segment_3_intersection.h". The file
CGAL/AABB_intersections.h is including all the files of that directory if you need it (should be included before the kernel).

Best,

--
Stephane Tayeb
Engineer - INRIA Sophia Antipolis
Geometrica Project-Team




Archive powered by MHonArc 2.6.16.

Top of Page