changed namespce from CGAL::Visibility_2 to CGAL

This commit is contained in:
Francisc 2013-08-06 12:43:43 +03:00
parent b29a7f2946
commit 2240ef4424
7 changed files with 8 additions and 22 deletions

View File

@ -34,8 +34,6 @@
namespace CGAL {
namespace Visibility_2 {
//debug
template<typename Point_handle>
void print(std::vector<Point_handle> ps){
@ -788,10 +786,7 @@ void print_arrangement(const Arrangement_2 &arr) {
std::cout << "[" << eit->curve() << "]" << std::endl;
}
} // namespace Visibility_2
} // namespace CGAL
} // end namespace CGAL

View File

@ -29,8 +29,6 @@
namespace CGAL {
namespace Visibility_2 {
template<class Arrangement_2>
class Preprocessed_visibility_2 {
@ -103,7 +101,6 @@ private:
};
} // namespace Visibility_2
} // namespace CGAL
#endif

View File

@ -29,8 +29,6 @@
namespace CGAL {
namespace Visibility_2 {
template<class Arrangement_2, class RegularizationTag>
class Simple_polygon_visibility_2 {
@ -786,7 +784,6 @@ private:
}
};
} // namespace Visibility_2
} // namespace CGAL
#endif

View File

@ -28,8 +28,6 @@
namespace CGAL {
namespace Visibility_2 {
template<class Arrangement_2>
class Triangular_expansion_visibility_2 {
@ -104,7 +102,6 @@ private:
};
} // namespace Visibility_2
} // namespace CGAL
#endif

View File

@ -25,7 +25,7 @@
#include <CGAL/Arr_segment_traits_2.h>
#include <CGAL/Arrangement_2.h>
#include <CGAL/Simple_polygon_visibility_2.h>
#include <CGAL/Naive_visibility_2.h>
//#include <CGAL/Naive_visibility_2.h>
#include <CGAL/test_model_methods.h>
#include <CGAL/test_utils.h>
#include <CGAL/test_simple_polygons.h>
@ -41,9 +41,9 @@ int main() {
typedef Traits_2::Point_2 Point_2;
typedef Traits_2::X_monotone_curve_2 Segment_2;
typedef CGAL::Arrangement_2<Traits_2> Arrangement_2;
typedef CGAL::Visibility_2::Simple_polygon_visibility_2<Arrangement_2, CGAL::Tag_false>
typedef CGAL::Simple_polygon_visibility_2<Arrangement_2, CGAL::Tag_false>
Simple_polygon_visibility_2;
typedef CGAL::Visibility_2::Naive_visibility_2<Arrangement_2, CGAL::Tag_false>
typedef CGAL::Simple_polygon_visibility_2<Arrangement_2, CGAL::Tag_false>
Naive_visibility_2;
// First read arrangement

View File

@ -41,7 +41,7 @@ int main() {
typedef Traits_2::Point_2 Point_2;
typedef Traits_2::X_monotone_curve_2 Segment_2;
typedef CGAL::Arrangement_2<Traits_2> Arrangement_2;
typedef CGAL::Visibility_2::Simple_polygon_visibility_2<Arrangement_2, CGAL::Tag_false>
typedef CGAL::Simple_polygon_visibility_2<Arrangement_2, CGAL::Tag_false>
Simple_polygon_visibility_2;
CGAL::test_model_methods<Simple_polygon_visibility_2>();
@ -53,7 +53,7 @@ int main() {
typedef Traits_2::Point_2 Point_2;
typedef Traits_2::X_monotone_curve_2 Segment_2;
typedef CGAL::Arrangement_2<Traits_2> Arrangement_2;
typedef CGAL::Visibility_2::Simple_polygon_visibility_2<Arrangement_2, CGAL::Tag_false>
typedef CGAL::Simple_polygon_visibility_2<Arrangement_2, CGAL::Tag_false>
Simple_polygon_visibility_2;
CGAL::test_model_methods<Simple_polygon_visibility_2>();

View File

@ -41,7 +41,7 @@ int main() {
typedef Traits_2::Point_2 Point_2;
typedef Traits_2::X_monotone_curve_2 Segment_2;
typedef CGAL::Arrangement_2<Traits_2> Arrangement_2;
typedef CGAL::Visibility_2::Simple_polygon_visibility_2<Arrangement_2, CGAL::Tag_false>
typedef CGAL::Simple_polygon_visibility_2<Arrangement_2, CGAL::Tag_false>
Simple_polygon_visibility_2;
CGAL::test_model_methods<Simple_polygon_visibility_2>();
@ -53,7 +53,7 @@ int main() {
typedef Traits_2::Point_2 Point_2;
typedef Traits_2::X_monotone_curve_2 Segment_2;
typedef CGAL::Arrangement_2<Traits_2> Arrangement_2;
typedef CGAL::Visibility_2::Simple_polygon_visibility_2<Arrangement_2, CGAL::Tag_false>
typedef CGAL::Simple_polygon_visibility_2<Arrangement_2, CGAL::Tag_false>
Simple_polygon_visibility_2;
CGAL::test_model_methods<Simple_polygon_visibility_2>();