From 342ddb0348ace838f4bf598d28f30a291fa67d6c Mon Sep 17 00:00:00 2001 From: Panagiotis Cheilaris Date: Tue, 15 Jul 2014 13:59:36 +0200 Subject: [PATCH] test PSS bdiff=3 point on a side pssd3varxa.cin Signed-off-by: Panagiotis Cheilaris --- .../test_sdg_traits_2.cpp | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/Segment_Delaunay_graph_Linf_2/test/Segment_Delaunay_graph_Linf_2/test_sdg_traits_2.cpp b/Segment_Delaunay_graph_Linf_2/test/Segment_Delaunay_graph_Linf_2/test_sdg_traits_2.cpp index a4b152d9384..5060995daf8 100644 --- a/Segment_Delaunay_graph_Linf_2/test/Segment_Delaunay_graph_Linf_2/test_sdg_traits_2.cpp +++ b/Segment_Delaunay_graph_Linf_2/test/Segment_Delaunay_graph_Linf_2/test_sdg_traits_2.cpp @@ -782,6 +782,72 @@ void test_traits(const char* title) Point_2(-25, -35), CGAL::NEGATIVE); + + // PSS bdiff=3 point on a side variation pssd3varxa.cin + + test_incircle( + Point_2(0, 100), + Segment_2(Point_2(-150, 50), Point_2(150, -50)), + Segment_2(Point_2(150, -50), Point_2(150, 200)), + Point_2(-150, 50), + CGAL::POSITIVE); + test_incircle( + Point_2(0, 100), + Segment_2(Point_2(-150, 50), Point_2(150, -50)), + Segment_2(Point_2(150, -50), Point_2(150, 200)), + Point_2(-50, 0), + CGAL::POSITIVE); + test_incircle( + Point_2(0, 100), + Segment_2(Point_2(-150, 50), Point_2(150, -50)), + Segment_2(Point_2(150, -50), Point_2(150, 200)), + Point_2(-50, 50), + CGAL::POSITIVE); + test_incircle( + Point_2(0, 100), + Segment_2(Point_2(-150, 50), Point_2(150, -50)), + Segment_2(Point_2(150, -50), Point_2(150, 200)), + Point_2(150, -50), + CGAL::POSITIVE); + test_incircle( + Point_2(0, 100), + Segment_2(Point_2(-150, 50), Point_2(150, -50)), + Segment_2(Point_2(150, -50), Point_2(150, 200)), + Point_2(150, 200), + CGAL::POSITIVE); + test_incircle( + Segment_2(Point_2(-150, 50), Point_2(150, -50)), + Segment_2(Point_2(150, -50), Point_2(150, 200)), + Point_2(100, 50), + Point_2(0, 100), + CGAL::POSITIVE); + + test_incircle( + Point_2(0, 100), + Segment_2(Point_2(-150, 50), Point_2(150, -50)), + Segment_2(Point_2(150, -50), Point_2(150, 200)), + Point_2(50, 150), + CGAL::ZERO); + + test_incircle( + Point_2(0, 100), + Segment_2(Point_2(-150, 50), Point_2(150, -50)), + Segment_2(Point_2(150, -50), Point_2(150, 200)), + Point_2(100, 50), + CGAL::NEGATIVE); + test_incircle( + Point_2(0, 100), + Segment_2(Point_2(-150, 50), Point_2(150, -50)), + Segment_2(Point_2(150, -50), Point_2(150, 200)), + Point_2(50, 50), + CGAL::NEGATIVE); + test_incircle( + Point_2(0, 100), + Segment_2(Point_2(-150, 50), Point_2(150, -50)), + Segment_2(Point_2(150, -50), Point_2(150, 200)), + Point_2(90, 80), + CGAL::NEGATIVE); + std::cout << "====================================" << std::endl; std::cout << std::endl; }