Skip to Content.
Sympa Menu

cgal-discuss - Re: Re: [cgal-discuss] Triangulation issue - bug?

Subject: CGAL users discussion list

List archive

Re: Re: [cgal-discuss] Triangulation issue - bug?


Chronological Thread 
  • From:
  • To:
  • Subject: Re: Re: [cgal-discuss] Triangulation issue - bug?
  • Date: Mon, 31 Mar 2008 13:04:47 +0200

Here is snippet:

typedef MeteoKernel<double> MK;
typedef CGAL::Filtered_kernel_adaptor<MK> K;
typedef CGAL::Triangulation_3<K> Triangulation;

where MeteoKernel is

template < typename K_, typename K_Base >
struct MeteoCartesian_base : public K_Base::template Base<K_>::Type
{
typedef typename K_Base::template Base<K_>::Type OldK;

typedef K_ Kernel;
typedef MeteoPoint_3 Point_3;
typedef MeteoConstruct_point_3<Kernel> Construct_point_3;
typedef const double* Cartesian_const_iterator_3;
typedef MeteoConstruct_coord_iterator
Construct_cartesian_const_iterator_3;
typedef MeteoConstruct_bbox_3<typename OldK::Construct_bbox_3>
Construct_bbox_3;

template < typename Kernel3 >
struct Base
{
typedef MeteoCartesian_base<Kernel3, K_Base> Type;
};
};

template < typename FT_ >
struct MeteoKernel
: public MeteoCartesian_base<MeteoKernel<FT_>, CGAL::Cartesian<FT_> >
{
};

gives:

j:\CGAL\3.3.1\include\CGAL/Kernel/function_objects.h(1662) : error C2248:
'CGAL::TriangleC3<R_>::Rep' : cannot access private typedef declared in class
'CGAL::TriangleC3<R_>'
with
[
R_=atmo::MeteoKernel<double>
]
j:\CGAL\3.3.1\include\CGAL/Cartesian/Triangle_3.h(41) : see
declaration of 'CGAL::TriangleC3<R_>::Rep'
with
[
R_=atmo::MeteoKernel<double>
]
j:\CGAL\3.3.1\include\CGAL/Triangulation_3.h(265) : see reference to
class template instantiation
'CGAL::CommonKernelFunctors::Construct_triangle_3<K>' being compiled
with
[
K=atmo::MeteoKernel<double>
]
j:\CGAL\3.3.1\include\CGAL/Triangulation_3.h(264) : while compiling
class template member function 'CGAL::TriangleC3<R_>
CGAL::TR3<GT>::construct_triangle(const atmo::MeteoPoint_3 &,const
atmo::MeteoPoint_3 &,const atmo::MeteoPoint_3 &) const'
with
[
R_=atmo::MeteoKernel<double>,
GT=atmo::CGlobalWeather::K
]
c:\projects\core\libatmospherecore\CGlobalWeather.h(38) : see
reference to class template instantiation 'CGAL::TR3<GT>' being compiled
with
[
GT=atmo::CGlobalWeather::K
]



  • Re: Re: [cgal-discuss] Triangulation issue - bug?, petr . dannhofer, 03/31/2008

Archive powered by MHonArc 2.6.16.

Top of Page