add _3 suffix

This commit is contained in:
Sébastien Loriot 2011-12-30 15:22:11 +00:00
parent 898c7f2d34
commit 83cd1ef2d2
4 changed files with 13 additions and 13 deletions

View File

@ -1,4 +1,4 @@
// Copyright (c) 1997-2012 INRIA Sophia-Antipolis (France).
// Copyright (c) 1997, 2012 INRIA Sophia-Antipolis (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org); you may redistribute it under
@ -102,8 +102,8 @@ public:
typedef typename Dt::Triangulation_data_structure Tds;
//extra the type used for representing alpha according to ExactAlphaComparisonTag
typedef typename internal::Alpha_nt_selector<Gt,ExactAlphaComparisonTag,typename Dt::Weighted_tag>::Type_of_alpha NT;
typedef typename internal::Alpha_nt_selector<Gt,ExactAlphaComparisonTag,typename Dt::Weighted_tag>::Compute_squared_radius_3 Compute_squared_radius_3;
typedef typename internal::Alpha_nt_selector_3<Gt,ExactAlphaComparisonTag,typename Dt::Weighted_tag>::Type_of_alpha NT;
typedef typename internal::Alpha_nt_selector_3<Gt,ExactAlphaComparisonTag,typename Dt::Weighted_tag>::Compute_squared_radius_3 Compute_squared_radius_3;
typedef NT FT;
typedef typename Gt::FT Coord_type;
//checks whether tags are correctly set in Vertex and Cell classes

View File

@ -1,4 +1,4 @@
// Copyright (c) 1997-2012 INRIA Sophia-Antipolis (France).
// Copyright (c) 1997, 2012 INRIA Sophia-Antipolis (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org); you may redistribute it under
@ -69,7 +69,7 @@ public:
typedef Alpha_shape_cell_base_3<Gt, Cb2,ExactAlphaComparisonTag,Weighted_tag> Other;
};
typedef typename internal::Alpha_nt_selector<Gt,ExactAlphaComparisonTag,Weighted_tag>::Type_of_alpha NT;
typedef typename internal::Alpha_nt_selector_3<Gt,ExactAlphaComparisonTag,Weighted_tag>::Type_of_alpha NT;
typedef CGAL::Alpha_status<NT> Alpha_status;
typedef Compact_container<Alpha_status> Alpha_status_container;
typedef typename Alpha_status_container::const_iterator

View File

@ -1,4 +1,4 @@
// Copyright (c) 1997-2012 INRIA Sophia-Antipolis (France).
// Copyright (c) 1997, 2012 INRIA Sophia-Antipolis (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org); you may redistribute it under
@ -44,7 +44,7 @@ public:
};
typedef typename Gt::Point_3 Point;
typedef typename internal::Alpha_nt_selector<Gt,ExactAlphaComparisonTag,Weighted_tag>::Type_of_alpha NT;
typedef typename internal::Alpha_nt_selector_3<Gt,ExactAlphaComparisonTag,Weighted_tag>::Type_of_alpha NT;
typedef CGAL::Alpha_status<NT> Alpha_status;
typedef Compact_container<Alpha_status> Alpha_status_container;
typedef typename Alpha_status_container::const_iterator

View File

@ -294,17 +294,17 @@ struct Lazy_compute_squared_radius_3 {
template <class GeomTraits,class ExactAlphaComparisonTag,class Weighted_tag>
struct Alpha_nt_selector_impl;
struct Alpha_nt_selector_impl_3;
template <class GeomTraits,class Weighted_tag>
struct Alpha_nt_selector_impl<GeomTraits,Tag_false,Weighted_tag>
struct Alpha_nt_selector_impl_3<GeomTraits,Tag_false,Weighted_tag>
{
typedef typename GeomTraits::FT Type_of_alpha;
typedef iCompute_squared_radius_3<GeomTraits,Weighted_tag> Compute_squared_radius_3;
};
template <class GeomTraits,class Weighted_tag>
struct Alpha_nt_selector_impl<GeomTraits,Tag_true,Weighted_tag>
struct Alpha_nt_selector_impl_3<GeomTraits,Tag_true,Weighted_tag>
{
typedef Lazy_alpha_nt_3<GeomTraits,GeomTraits,true,Tag_false> Type_of_alpha;
typedef Lazy_compute_squared_radius_3<Type_of_alpha,typename GeomTraits::Point_3> Functor;
@ -315,7 +315,7 @@ struct Alpha_nt_selector_impl<GeomTraits,Tag_true,Weighted_tag>
};
template <class GeomTraits>
struct Alpha_nt_selector_impl<GeomTraits,Tag_true,Tag_true>
struct Alpha_nt_selector_impl_3<GeomTraits,Tag_true,Tag_true>
{
typedef Lazy_alpha_nt_3<GeomTraits,typename GeomTraits::Kernel,true,Tag_true> Type_of_alpha;
typedef Lazy_compute_squared_radius_3<Type_of_alpha,typename GeomTraits::Weighted_point> Functor;
@ -326,8 +326,8 @@ struct Alpha_nt_selector_impl<GeomTraits,Tag_true,Tag_true>
};
template <class GeomTraits,class ExactAlphaComparisonTag,class Weighted_tag>
struct Alpha_nt_selector:
public Alpha_nt_selector_impl<GeomTraits,
struct Alpha_nt_selector_3:
public Alpha_nt_selector_impl_3<GeomTraits,
Boolean_tag< boost::is_floating_point<typename GeomTraits::FT>::value && ExactAlphaComparisonTag::value >,
Weighted_tag>
{};