mirror of https://github.com/CGAL/cgal
changed namespce from CGAL::Visibility_2 to CGAL
This commit is contained in:
parent
b29a7f2946
commit
2240ef4424
|
|
@ -34,8 +34,6 @@
|
||||||
|
|
||||||
namespace CGAL {
|
namespace CGAL {
|
||||||
|
|
||||||
namespace Visibility_2 {
|
|
||||||
|
|
||||||
//debug
|
//debug
|
||||||
template<typename Point_handle>
|
template<typename Point_handle>
|
||||||
void print(std::vector<Point_handle> ps){
|
void print(std::vector<Point_handle> ps){
|
||||||
|
|
@ -788,10 +786,7 @@ void print_arrangement(const Arrangement_2 &arr) {
|
||||||
std::cout << "[" << eit->curve() << "]" << std::endl;
|
std::cout << "[" << eit->curve() << "]" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // end namespace CGAL
|
||||||
|
|
||||||
} // namespace Visibility_2
|
|
||||||
} // namespace CGAL
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,6 @@
|
||||||
|
|
||||||
namespace CGAL {
|
namespace CGAL {
|
||||||
|
|
||||||
namespace Visibility_2 {
|
|
||||||
|
|
||||||
template<class Arrangement_2>
|
template<class Arrangement_2>
|
||||||
class Preprocessed_visibility_2 {
|
class Preprocessed_visibility_2 {
|
||||||
|
|
||||||
|
|
@ -103,7 +101,6 @@ private:
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Visibility_2
|
|
||||||
} // namespace CGAL
|
} // namespace CGAL
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,6 @@
|
||||||
|
|
||||||
namespace CGAL {
|
namespace CGAL {
|
||||||
|
|
||||||
namespace Visibility_2 {
|
|
||||||
|
|
||||||
template<class Arrangement_2, class RegularizationTag>
|
template<class Arrangement_2, class RegularizationTag>
|
||||||
class Simple_polygon_visibility_2 {
|
class Simple_polygon_visibility_2 {
|
||||||
|
|
||||||
|
|
@ -786,7 +784,6 @@ private:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Visibility_2
|
|
||||||
} // namespace CGAL
|
} // namespace CGAL
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,6 @@
|
||||||
|
|
||||||
namespace CGAL {
|
namespace CGAL {
|
||||||
|
|
||||||
namespace Visibility_2 {
|
|
||||||
|
|
||||||
template<class Arrangement_2>
|
template<class Arrangement_2>
|
||||||
class Triangular_expansion_visibility_2 {
|
class Triangular_expansion_visibility_2 {
|
||||||
|
|
||||||
|
|
@ -104,7 +102,6 @@ private:
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Visibility_2
|
|
||||||
} // namespace CGAL
|
} // namespace CGAL
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
#include <CGAL/Arr_segment_traits_2.h>
|
#include <CGAL/Arr_segment_traits_2.h>
|
||||||
#include <CGAL/Arrangement_2.h>
|
#include <CGAL/Arrangement_2.h>
|
||||||
#include <CGAL/Simple_polygon_visibility_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_model_methods.h>
|
||||||
#include <CGAL/test_utils.h>
|
#include <CGAL/test_utils.h>
|
||||||
#include <CGAL/test_simple_polygons.h>
|
#include <CGAL/test_simple_polygons.h>
|
||||||
|
|
@ -41,9 +41,9 @@ int main() {
|
||||||
typedef Traits_2::Point_2 Point_2;
|
typedef Traits_2::Point_2 Point_2;
|
||||||
typedef Traits_2::X_monotone_curve_2 Segment_2;
|
typedef Traits_2::X_monotone_curve_2 Segment_2;
|
||||||
typedef CGAL::Arrangement_2<Traits_2> Arrangement_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;
|
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;
|
Naive_visibility_2;
|
||||||
|
|
||||||
// First read arrangement
|
// First read arrangement
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ int main() {
|
||||||
typedef Traits_2::Point_2 Point_2;
|
typedef Traits_2::Point_2 Point_2;
|
||||||
typedef Traits_2::X_monotone_curve_2 Segment_2;
|
typedef Traits_2::X_monotone_curve_2 Segment_2;
|
||||||
typedef CGAL::Arrangement_2<Traits_2> Arrangement_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;
|
Simple_polygon_visibility_2;
|
||||||
|
|
||||||
CGAL::test_model_methods<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::Point_2 Point_2;
|
||||||
typedef Traits_2::X_monotone_curve_2 Segment_2;
|
typedef Traits_2::X_monotone_curve_2 Segment_2;
|
||||||
typedef CGAL::Arrangement_2<Traits_2> Arrangement_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;
|
Simple_polygon_visibility_2;
|
||||||
|
|
||||||
CGAL::test_model_methods<Simple_polygon_visibility_2>();
|
CGAL::test_model_methods<Simple_polygon_visibility_2>();
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ int main() {
|
||||||
typedef Traits_2::Point_2 Point_2;
|
typedef Traits_2::Point_2 Point_2;
|
||||||
typedef Traits_2::X_monotone_curve_2 Segment_2;
|
typedef Traits_2::X_monotone_curve_2 Segment_2;
|
||||||
typedef CGAL::Arrangement_2<Traits_2> Arrangement_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;
|
Simple_polygon_visibility_2;
|
||||||
|
|
||||||
CGAL::test_model_methods<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::Point_2 Point_2;
|
||||||
typedef Traits_2::X_monotone_curve_2 Segment_2;
|
typedef Traits_2::X_monotone_curve_2 Segment_2;
|
||||||
typedef CGAL::Arrangement_2<Traits_2> Arrangement_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;
|
Simple_polygon_visibility_2;
|
||||||
|
|
||||||
CGAL::test_model_methods<Simple_polygon_visibility_2>();
|
CGAL::test_model_methods<Simple_polygon_visibility_2>();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue