Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Get corners of a Kd_tree_rectangle as Point_d

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Get corners of a Kd_tree_rectangle as Point_d


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Get corners of a Kd_tree_rectangle as Point_d
  • Date: Tue, 26 Apr 2016 21:07:26 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:QqlPJhPm2sOK19JYD9gl6mtUPXoX/o7sNwtQ0KIMzox0Kf3yrarrMEGX3/hxlliBBdydsKIUzbWH+Pm6BSQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JTnkb/jsMSJP01hv3mUX/BbFF2OtwLft80b08NJC50a7V/3mEZOYPlc3mhyJFiezF7W78a0+4N/oWwL46pyv50IbKPhYq5tTaBEFC90dCcu9cjzvF/CSxGO7z0SSCINgx9QCk/E6h/9GZz+uy+/uutm0zSBJp7KSuU/Vj2mqqtqUxT1kzwvNjgj8WiRhNYjorhcpUfrnBF1ypXIYYyTfN55ZKLaYZtaamdGW8tNTT1vC4igaJEeTqBJaf1cqJP8oEdIqB+WCgylBeepwThN0CyllZYm2vgsRFmVlDcrGMgD5SzZ
  • Organization: GeometryFactory

Everything here is a hack because you are trying to be generic to
support any kernel while the kd-rectangle you are using are clearly
targeting Cartesian coordinates. I suggest we go off the list and find
out a solution.

Sebastien.

On 04/25/2016 05:58 PM, Frédérik Paradis wrote:
For the specialization you can use the nested Kernel_tag for the Kernel
you are using that is either CGAL::Homogeneous_tag or
CGAL::Cartesian_tag.


Also, for that part, I did not succeed to make a specialization using
the Kernel_tag. All my tests had compiled errors and also the fact that
partial specialization of a method is not allowed. Do you have any
example of that? Another thing is that the Kernel_tag does not seem to
be a documented feature and the Homogeneous_d kernel does not provide
it, although it provides Rep_tag which I don't know what it is.

Thank you.

Frédérik


2016-04-20 8:38 GMT-04:00 Frédérik Paradis
<
<mailto:>>:

Hi Marc,

As you may have heard, I'm currently developing a package intended
to be included in CGAL so I want that my package be able to support
almost every type of points. And for Homogeneous_d<int>, it was just
a test.

Frédérik

2016-04-20 8:23 GMT-04:00 Marc Glisse
<

<mailto:>>:

Hello,

out of curiosity, why are you using Homogeneous_d, and in
particular Homogeneous_d<double>? Homogeneous_d<int> also sounds
rather dangerous.

--
Marc Glisse


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss








Archive powered by MHonArc 2.6.18.

Top of Page