Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Convert points and circles from 2D linear kernel to 2D circular kernel?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Convert points and circles from 2D linear kernel to 2D circular kernel?


Chronological Thread 
  • From: Stuart Hungerford <>
  • To:
  • Subject: Re: [cgal-discuss] Convert points and circles from 2D linear kernel to 2D circular kernel?
  • Date: Sun, 18 Feb 2018 06:01:38 +1100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:CDFmSB2iKLBdZhIrsmDT+DRfVm0co7zxezQtwd8Zse0fKfad9pjvdHbS+e9qxAeQG9mDsLQc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPbQhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7S60/Vza/4KdxUBLniikHOT43/m/Ul8J+kr5UrQm9pxBj2YPYfJ2ZOOZ8c67bYNgURXBBXsFUVyFZH428c5YPAPAbPeZEsoLzpUYOrR2xBQayHuPvxDhIhmXr0qYn1OkhCh3G3BE6ENIUrHTYttX1NLoUUeC60qbI1zvDb/RM2Tjg84XIfRUhruuNXbJ0a8be1U4vFwbcg1iWtIfrMTSV1uEXvGia6eptTf6gi2E9pAF1uDSvwd0siobPi4kIyV7E7T10zJgpKdC8UkJ2Yt6pHIFOuy2HOYZ6WN4uTmNmtSs817YIo4S0fDIQx5Qi3xPfa+KIc4yP4h/7UeaeOzZ4hHZ8dLO/nBm+7VGsyuPhWsS23ltGtCVFkt7LtnAC0xzc9NKLRed6/kekwTqP1gbT5f9YIU0si6bXN5oszqQzm5cTq0jPADL6lUvsgKOLdEgp9PCk6+H9bbXnop+cOZV0igb7Mqk2gcy/Hfk4PRIUX2iH4+i81KDj/Uv2QLpUlP02nK7ZsIrHKskAqa65BhVa0ocn6xqlEzim19EYkWEdLF1ZYBKHk5TpO1bWLf/kAvewmVCsnC52yPDHJb3uHojNLmPYkLr6ZrZ860tcyBIpwtxF5pJUDKsBIPPpVUPrutzYFExxDwvhyOnuDJBx15gVRHmUKq6fKqLb91GStcw1JOzZX5MIsSzhY9g44fHjl3E+g1NVKbK1wJINdDa4A/JpLl+XZmDgqtgEGGYO+AE5Sbq52xW5TTdPaiPqDOoH7TYhBdf+VNaRdsWWmLWEmRyDMNhTb2FCBEqLFC6xJYqBUvYILimVJ504y2BWZf2aU4YkkCqWmkri0bM+d7jb/yQZsdTo090nv7SOxyF3ziR9CoGm60/IT2xwmTlWFTo/3aQ6sEYlj1najvM+jPtfGtheofhOV1ViOA==

On Sun, Feb 18, 2018 at 1:46 AM, Efi Fogel
<>
wrote:

> 1. I guess it does, but why not using one of the predefined kernel (see
> below)?
>
> #include <CGAL/Exact_predicates_exact_constructions_kernel.h>
>
> typedef CGAL::Exact_predicates_exact_constructions_kernel Linear_kernel;
>
> 2. The points and curve types defined by the circular kernel and the points
> and curves defined by the Arr_circle_segment_traits_2 traits are the same.
> They use coordinates represented by a type called CGAL: :Sqrt_extension. You
> can read more about it in the manual.)

Thanks for the pointers Efi -- much appreciated.

Does that approach of using a predefined kernel also hold for conic curves?

Following the example in
https://doc.cgal.org/latest/Arrangement_on_surface_2/Arrangement_on_surface_2_2conics_8cpp-example.html,
the example uses explicit choices of number type etc.

I'm asking so I can create ellipses and elliptic arcs using CGAL.
(Even if I have to create the bounding box and affine transformation
methods myself).

Thanks,

Stu



Archive powered by MHonArc 2.6.18.

Top of Page