Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] weighted alpha shape 2d, minimal example

Subject: CGAL users discussion list

List archive

[cgal-discuss] weighted alpha shape 2d, minimal example


Chronological Thread 
  • From: hidding <>
  • To:
  • Subject: [cgal-discuss] weighted alpha shape 2d, minimal example
  • Date: Wed, 18 Jan 2012 02:34:41 -0800 (PST)

Hello,
I'm trying to get a minimal example of a weighted alpha shape to work in 2d.
However the example programs in the manual consist of only typedefs. I use
simple double precision arithmatic, so it becomes:



If I use these and try to insert RT::Weighted_point into an AS instance, I
get compiler errors saying the


The 3D version apparently has a different template structure, where points
are derived as
CGAL::Regular_triangulation_euclidean_traits_3<K>::Weighted_point;
This type is not present in the
CGAL::Weighted_alpha_shape_euclidean_traits_2<K>, there is a
typedef ... Point; present in the header-file, but it gives the same
compiler-error when used.
Does anyone have a working example file from which I can kickstart?

Many thanks,
Johan Hidding

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/weighted-alpha-shape-2d-minimal-example-tp4306254p4306254.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page