Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Natural Neighbor Interpolation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Natural Neighbor Interpolation


Chronological Thread 
  • From: Rhys D <>
  • To: cgal-discuss <>
  • Subject: Re: [cgal-discuss] Natural Neighbor Interpolation
  • Date: Sat, 20 Apr 2013 07:44:33 +1200

Thankyou for your reply.
With some more careful reading of the examples I think I have it figured out.

One last question; How can I continue interpolating outside of the point sets convex hull?

with the linear example at least I just get 0 once I go outside of the points.

R


On 19 April 2013 19:40, Sebastien Loriot (GeometryFactory) <> wrote:
If you need to store the z coordinates, you can use the projection_traits, which turn a 3D point into a 2D one [1,2].

Note that the z coordinate does not need to be stored in the point, it
is just a matter of how you display or use your result then. For example
in this example [3], it is stored in a map.

Sebastien.

[1] http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Triangulation_2/Chapter_main.html#Subsection_37.5.2

[2] http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Kernel_23_ref/Class_Projection_traits_xy_3.html

[3] http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Interpolation/Chapter_main.html#Subsection_70.3.3


On 04/16/2013 07:15 AM, Rhys D wrote:
In your Google tech talk you showed an example of a Japanese weather map
where they interpolated randomly sampled (in 2D) temperatures onto a
random grid.

Is there a sample that shows how I would do this?

I'm not quite following the sample in the docs.
I see where you set the X Y coords of the input and query points. I
don't see where you set the "z" values of each point.

regards,

Rhys.


--
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