Subject: CGAL users discussion list
List archive
- From: Francois Berenger <>
- To:
- Subject: Re: [cgal-discuss] Re: Intersection of surfaces
- Date: Tue, 31 May 2011 09:40:56 +0900
Roger Mason wrote:
Hello Andreas,
"Andreas Fabri [via cgal-discuss]"
<[hidden email] </user/SendEmail.jtp?type=node&node=3560724&i=0>> writes:
> right. The manual page also has a paragraph refering to an
> example for the Polyhedron. There as well, one stores handles
> to facets:
>
> This example can be easily extended to test polyhedral surfaces of the
> Polyhedron_3 class for (self-) intersections. The main difference are
> the numerous cases of incidences between triangles in the polyhedral
> surface that should not be reported as intersections, see the
> examples/Polyhedron/polyhedron_self_intersection.cpp example program in
> the Cgal distribution.
I think I tried something based on the manual example 61.5 a couple of
days ago, before I asked for help.
When I introduce:
typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel;
typedef Kernel::Point_3 Point_3;
typedef Kernel::Triangle_3 Triangle_3;
typedef std::vector<Triangle_3> Triangles;
typedef Triangles::iterator Iterator;
into my existing code the application won't compile. The stream of
errors is too long to include here.
Welcome to the world of templated C++: not only it takes crazy amount
of time to compile, but also the error messages can be very long and difficult to understand.
My personal way to fight this is to advance little by little: starting
from a CGAL example that compiles and work cleanly, then changing it one thing at a time until I reach what I need.
Good luck,
F.
I think it is time to give up on this. Thank you very much for trying
to help, but I think using CGAL is beyond my programming skills.
Best wishes,
Roger
------------------------------------------------------------------------
View this message in context: Re: Intersection of surfaces <http://cgal-discuss.949826.n4.nabble.com/Intersection-of-surfaces-tp3549940p3560724.html>
Sent from the cgal-discuss mailing list archive <http://cgal-discuss.949826.n4.nabble.com/> at Nabble.com.
- [cgal-discuss] Intersection of surfaces, Roger Mason, 05/25/2011
- Re: [cgal-discuss] Intersection of surfaces, Sebastien Loriot (GeometryFactory), 05/25/2011
- [cgal-discuss] Re: Intersection of surfaces, Roger Mason, 05/25/2011
- Re: [cgal-discuss] Re: Intersection of surfaces, Sebastien Loriot (GeometryFactory), 05/26/2011
- [cgal-discuss] Re: Intersection of surfaces, Roger Mason, 05/26/2011
- [cgal-discuss] Re: Intersection of surfaces, Roger Mason, 05/30/2011
- Re: [cgal-discuss] Re: Intersection of surfaces, Andreas Fabri, 05/30/2011
- [cgal-discuss] Re: Intersection of surfaces, Roger Mason, 05/30/2011
- Re: [cgal-discuss] Re: Intersection of surfaces, Andreas Fabri, 05/30/2011
- [cgal-discuss] Re: Intersection of surfaces, Roger Mason, 05/30/2011
- Re: [cgal-discuss] Re: Intersection of surfaces, Francois Berenger, 05/31/2011
- [cgal-discuss] Re: Intersection of surfaces, Roger Mason, 05/30/2011
- Re: [cgal-discuss] Re: Intersection of surfaces, Andreas Fabri, 05/30/2011
- Re: [cgal-discuss] Re: Intersection of surfaces, Sebastien Loriot (GeometryFactory), 05/26/2011
- [cgal-discuss] Re: Intersection of surfaces, Roger Mason, 05/25/2011
- Re: [cgal-discuss] Intersection of surfaces, Sebastien Loriot (GeometryFactory), 05/25/2011
Archive powered by MHonArc 2.6.16.