Skip to Content.
Sympa Menu

cgal-discuss - Re:[cgal-discuss] Convert Ray_2 (Filtered_kernel) to Line_arc_2 (Circular Kernel)

Subject: CGAL users discussion list

List archive

Re:[cgal-discuss] Convert Ray_2 (Filtered_kernel) to Line_arc_2 (Circular Kernel)


Chronological Thread 
  • From: "Thomas Zangl - Home" <>
  • To: "cgal-discuss" <>
  • Subject: Re:[cgal-discuss] Convert Ray_2 (Filtered_kernel) to Line_arc_2 (Circular Kernel)
  • Date: Wed, 13 Jun 2007 22:29:56 +0200


Am Wed, 13 Jun 2007 14:48:44 +0200, schrieb
<>:

Hi!

>I see a constructor of Line_arc_2 fron Segment_2 documented in the manual:
>
>http://www.cgal.org/Manual/3.3/doc_html/cgal_manual/Circular_kernel_2_ref/Class_Line_arc_2.html#Cross_link_anchor_452
>
>Line_arc_2<CircularKernel> la ( CircularKernel::Segment_2 s);

Well, the Segment I have is from a this Kernel:
typedef CGAL::Exact_predicates_exact_constructions_kernel K;
typedef CGAL::Lazy_exact_nt<CGAL::Gmpq> 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;

(I want to intersect the dual triangulation edges (=edges of the power
diagram) with some circles)

and now I need to convert it into the CircularKernel:
typedef CGAL::Exact_circular_kernel_2 Circular_k;
typedef Circular_k::Line_arc_2 Circular_Line_Arc;

This does not work - yet. Any ideas what can I do?

Best regards,
--
----------------------------------------------------------------
,yours Thomas Zangl, Bakk.rer.soc.oec. -

-
- Freelancer - IT Consulting & Software Development -
- Student of Software Development-Economy (Master) -



Archive powered by MHonArc 2.6.16.

Top of Page