Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to extract the kernel of an object

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to extract the kernel of an object


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] How to extract the kernel of an object
  • Date: Wed, 13 Sep 2017 15:41:13 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:tPYrpBDZlcukci9x/f0wUyQJP3N1i/DPJgcQr6AfoPdwSP3zo8bcNUDSrc9gkEXOFd2Crakb26yL6+jJYi8p39WoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6i760TlHERr2MU95J//+B5XJp8WxzeG7vZPJMCtSgz/oK4h/JhytsQTcsIEyhpFjLbp5ijTEpX5FZ/5H62pjOVWJjle2rpOr+Jl58iNM/fcl38FFWKT+Oa8/SOoLX3wdL2kp6Ziz5lH4RgyV6y5EXw==
  • Organization: GeometryFactory

you can use CGAL::Kernel_traits<Point>::Kernel

https://doc.cgal.org/latest/Kernel_23/classCGAL_1_1Kernel__traits.html

Sebastien.

On 09/13/2017 03:35 PM, Iasonm wrote:
When using templates what is the way to extract the Kernel of a triangle
mesh?
Here
<https://github.com/CGAL/cgal/blob/master/Surface_mesh_skeletonization/include/CGAL/internal/Surface_mesh_skeletonization/Curve_skeleton.h>
in the beginning the following is used to get the Kernel of the input
TriangleMesh:

typedef typename TriangleMesh::Traits Kernel;

Where is Traits located if for example TriangleMesh is a Surface Mesh
<https://doc.cgal.org/latest/Surface_mesh/index.html> ?



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/





Archive powered by MHonArc 2.6.18.

Top of Page