Subject: CGAL users discussion list
List archive
Exact_predicates_exact_constructions_kernel_with_sqrt and Regular Triangulation = compile error
Chronological Thread
- From: Thomas Zangl <>
- To:
- Subject: Exact_predicates_exact_constructions_kernel_with_sqrt and Regular Triangulation = compile error
- Date: Mon, 18 Jun 2007 20:29:07 +0200
Hi!
I use the "Exact_predicates_exact_constructions_kernel" Kernel and I
need the sqrt function. The manual told me to use the
Exact_predicates_exact_constructions_kernel_with_sqrt kernel and now I
get the following compile error:
/home/tzi/CGAL-3.3/include/CGAL/Regular_triangulation_filtered_traits_2.h:
In instantiation of
»CGAL::Regular_triangulation_filtered_traits_2<CGAL::Simple_cartesian<CORE::Expr>
>«:
/home/tzi/CGAL-3.3/include/CGAL/Regular_triangulation_2.h:32:
instantiated from
»CGAL::Weighted_point_mapper_2<CGAL::Regular_triangulation_filtered_traits_2<CGAL::Simple_cartesian<CORE::Expr>
> >«
/home/tzi/CGAL-3.3/include/CGAL/Triangulation_2.h:70: instantiated
from
»CGAL::Triangulation_2<CGAL::Weighted_point_mapper_2<CGAL::Regular_triangulation_filtered_traits_2<CGAL::Simple_cartesian<CORE::Expr>
> >,
CGAL::Tds2<CGAL::Rtvb<CGAL::Regular_triangulation_filtered_traits_2<CGAL::Simple_cartesian<CORE::Expr>
>, CGAL::Tdsvb<void> >,
CGAL::Rtfb<CGAL::Regular_triangulation_filtered_traits_2<CGAL::Simple_cartesian<CORE::Expr>
>,
CGAL::Tfb<CGAL::Regular_triangulation_filtered_traits_2<CGAL::Simple_cartesian<CORE::Expr>
>, CGAL::Tdsfb<void> > > > >«
/home/tzi/CGAL-3.3/include/CGAL/Regular_triangulation_2.h:45:
instantiated from
»CGAL::Regular_triangulation_2<CGAL::Regular_triangulation_filtered_traits_2<CGAL::Simple_cartesian<CORE::Expr>
>,
CGAL::Tds2<CGAL::Rtvb<CGAL::Regular_triangulation_filtered_traits_2<CGAL::Simple_cartesian<CORE::Expr>
>, CGAL::Tdsvb<void> >,
CGAL::Rtfb<CGAL::Regular_triangulation_filtered_traits_2<CGAL::Simple_cartesian<CORE::Expr>
>,
CGAL::Tfb<CGAL::Regular_triangulation_filtered_traits_2<CGAL::Simple_cartesian<CORE::Expr>
>, CGAL::Tdsfb<void> > > > >«
./include/common.h:56: instantiated from here
/home/tzi/CGAL-3.3/include/CGAL/Regular_triangulation_filtered_traits_2.h:59:
Fehler: kein Typ namens »EK« in »struct CGAL::Simple_cartesian<CORE::Expr>«
/home/tzi/CGAL-3.3/include/CGAL/Regular_triangulation_filtered_traits_2.h:62:
Fehler: kein Typ namens »FK« in »struct CGAL::Simple_cartesian<CORE::Expr>«
/home/tzi/CGAL-3.3/include/CGAL/Regular_triangulation_filtered_traits_2.h:64:
Fehler: kein Typ namens »C2E« in »struct CGAL::Simple_cartesian<CORE::Expr>«
/home/tzi/CGAL-3.3/include/CGAL/Regular_triangulation_filtered_traits_2.h:65:
Fehler: kein Typ namens »C2F« in »struct CGAL::Simple_cartesian<CORE::Expr>«
/home/tzi/CGAL-3.3/include/CGAL/Regular_triangulation_filtered_traits_2.h:75:
Fehler: kein Typ namens »EK« in »struct CGAL::Simple_cartesian<CORE::Expr>«
/home/tzi/CGAL-3.3/include/CGAL/Regular_triangulation_filtered_traits_2.h:81:
Fehler: kein Typ namens »EK« in »struct CGAL::Simple_cartesian<CORE::Expr>«
/home/tzi/CGAL-3.3/include/CGAL/Regular_triangulation_filtered_traits_2.h:83:
Fehler: kein Typ namens »EK« in »struct CGAL::Simple_cartesian<CORE::Expr>«
/home/tzi/CGAL-3.3/include/CGAL/Regular_triangulation_filtered_traits_2.h:86:
Fehler: kein Typ namens »EK« in »struct CGAL::Simple_cartesian<CORE::Expr>«
make: *** [src/IntersectionTools.o] Fehler 1
These are the relevant typedefs:
typedef CGAL::Exact_predicates_exact_constructions_kernel_with_sqrt K;
//typedef CGAL::Exact_predicates_exact_constructions_kernel K;
typedef K::FT dbl;
typedef CGAL::Regular_triangulation_filtered_traits_2<K>
TriangulationTraits;
typedef CGAL::Regular_triangulation_2<TriangulationTraits>
Regular_triangulation;
typedef Regular_triangulation::Weighted_point Rt_Weighted_point;
typedef Regular_triangulation::Vertex_handle Rt_Vertex_handle;
typedef Regular_triangulation::Bare_point Rt_Point;
typedef Regular_triangulation::Segment Rt_Segment;
typedef Regular_triangulation::Edge_circulator Rt_Edge_circulator;
typedef Regular_triangulation::Vertex_circulator Rt_Vertex_circulator;
typedef Regular_triangulation::Finite_vertices_iterator
Rt_Finite_vertices_iterator;
typedef Regular_triangulation::Finite_edges_iterator
Rt_Finite_edges_iterator;
typedef Regular_triangulation::Hidden_vertices_iterator
Rt_Hidden_vertices_iterator;
typedef Regular_triangulation::All_edges_iterator Rt_All_edges_iterator;
typedef Regular_triangulation::All_vertices_iterator
Rt_All_vertices_iterator;
typedef Regular_triangulation::Edge_iterator Rt_Edge_iterator;
typedef Regular_triangulation::Face_handle Rt_Face_handle;
typedef Regular_triangulation::Locate_type Rt_Locate_type;
typedef K::Vector_2 Vector;
typedef K::Ray_2 Ray;
typedef K::Line_2 Line;
typedef CGAL::Point_2<K> Point;
Whats wrong?
Best regards,
--
----------------------------------------------------------------
,yours Thomas Zangl, Bakk.rer.soc.oec. -
-
- Freelancer - IT Consulting & Software Development -
- Student of Software Development-Economy (Master) -
- Exact_predicates_exact_constructions_kernel_with_sqrt and Regular Triangulation = compile error, Thomas Zangl, 06/18/2007
Archive powered by MHonArc 2.6.16.