Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Is Ray typedef really needed in Alpha_Shape_2.h?
- Date: Mon, 03 Oct 2011 08:25:23 +0200
nsoonhui wrote:
I am referring to alpha_shape_2.h.Also, note that the class Triangulation_euclidean_traits_xy_3 is
From the http://webcache.googleusercontent.com/search?q=cache:F_61Ln5_tjkJ:www.cgal.org/Manual/latest/include/CGAL/Alpha_shape_2.h+Alpha_shape_2.h+typedef+typename+Gt::Ray_2+Ray%3B&cd=1&hl=en&ct=clnk&gl=my
definition , there is this line:
typedef typename Gt::Ray_2 Ray;
But from what I can see, the Ray is simply not used in anyway, is it
possible to remove it?
The reason I ask this is because without removing this line, one is simply
not possible to compile the following code:
struct Kernel : public CGAL::Exact_predicates_exact_constructions_kernel {};
typedef CGAL::Triangulation_euclidean_traits_xy_3<Kernel> Gt;
typedef CGAL::Alpha_shape_vertex_base_2<Gt> Vb;
typedef CGAL::Alpha_shape_face_base_2<Gt> Fb;
typedef CGAL::Triangulation_data_structure_2<Vb,Fb> Tds;
typedef CGAL::Delaunay_triangulation_2<Gt,Tds> Alpha_Triangulation_2;
typedef CGAL::Alpha_shape_2<Alpha_Triangulation_2> Alpha_shape_2;
Which means I am unable to use Triangulation_euclidean_traits_xy_3 with
deprecated and CGAL::Projection_traits_xy_3<K> should be used instead.
Sebastien.
alpha_shape_2, even though I am able to use it with
Delaunay_triangulation_2, although the two are not really that different,
only different by an (unused) definition.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Is-Ray-typedef-really-needed-in-Alpha-Shape-2-h-tp3866348p3866348.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Is Ray typedef really needed in Alpha_Shape_2.h?, nsoonhui, 10/03/2011
- Re: [cgal-discuss] Is Ray typedef really needed in Alpha_Shape_2.h?, Sebastien Loriot (GeometryFactory), 10/03/2011
- Re: [cgal-discuss] Is Ray typedef really needed in Alpha_Shape_2.h?, Sebastien Loriot (GeometryFactory), 10/03/2011
- [cgal-discuss] Re: Is Ray typedef really needed in Alpha_Shape_2.h?, nsoonhui, 10/04/2011
- Re: [cgal-discuss] Re: Is Ray typedef really needed in Alpha_Shape_2.h?, Sebastien Loriot (GeometryFactory), 10/05/2011
- [cgal-discuss] Re: Is Ray typedef really needed in Alpha_Shape_2.h?, nsoonhui, 10/04/2011
Archive powered by MHonArc 2.6.16.