Subject: CGAL users discussion list
List archive
- From: Iasonm <>
- To:
- Subject: Re: [cgal-discuss] How to extract the kernel of an object
- Date: Wed, 13 Sep 2017 07:06:55 -0700 (MST)
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
- Ironport-phdr: 9a23:xNJZ5hZmce99CmGWKQ8ZR9P/LSx+4OfEezUN459isYplN5qZpsm4bnLW6fgltlLVR4KTs6sC0LWG9f24EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i76vnYuHUD0OgNxY+j0AYXPlN+f1uao+pSVbR8bqiC6ZOZTJQ6xqwCZ4tAPnYxmJ6A84hTMq3pMPe9RwDU7dhqogx/g65Lor9ZY+CNKtqd5+g==
I created the following test program but it is not working as expected:
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Kernel_traits.h>
#include <CGAL/Surface_mesh.h>
int main(int argc, char *argv[]) {
using SurfaceMesh = CGAL::Surface_mesh<
CGAL::Exact_predicates_inexact_constructions_kernel::Point_3>;
using Kernel = CGAL::Kernel_traits<SurfaceMesh>::Kernel;
using Point = Kernel::Point_3;
}
I get the following error:
error: ‘Point_3’ in ‘using Kernel =
CGAL::Kernel_traits<CGAL::Surface_mesh<CGAL::Point_3<CGAL::Epick> >
>::Kernel {aka struct
CGAL::internal_kernel_traits::Dummy_kernel<CGAL::Surface_mesh<CGAL::Point_3<CGAL::Epick>
> >}’ does not name a type
using Point = Kernel::Point_3;
^
In the above error I want instead of
CGAL::internal_kernel_traits::Dummy_kernel<CGAL::Surface_mesh<CGAL::Point_3<CGAL::Epick>
> > to get CGAL::Exact_predicates_inexact_constructions_kernel. Is there a
way to do that?
Best Regards,
IM
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] How to extract the kernel of an object, Iasonm, 09/13/2017
- Re: [cgal-discuss] How to extract the kernel of an object, Sebastien Loriot (GeometryFactory), 09/13/2017
- Re: [cgal-discuss] How to extract the kernel of an object, Iasonm, 09/13/2017
- Re: [cgal-discuss] How to extract the kernel of an object, Sebastien Loriot (GeometryFactory), 09/13/2017
- Re: [cgal-discuss] How to extract the kernel of an object, Iasonm, 09/13/2017
- Re: [cgal-discuss] How to extract the kernel of an object, Sebastien Loriot (GeometryFactory), 09/13/2017
- Re: [cgal-discuss] How to extract the kernel of an object, Iasonm, 09/13/2017
- Re: [cgal-discuss] How to extract the kernel of an object, Sebastien Loriot (GeometryFactory), 09/13/2017
Archive powered by MHonArc 2.6.18.