[test] fix merge error, remove duplicate function in point_on_surface

This commit is contained in:
Barend Gehrels
2014-10-21 22:30:17 +02:00
parent 07151aa8b1
commit 8bc77aae4a

View File

@@ -149,21 +149,6 @@ void test_point_order_and_type()
test_geometry<cw_closed_polygon>("with_hole_cw_closed", "POLYGON((0 0,0 9,9 9,9 0,0 0),(2 2,7 2,7 7,2 7,2 2))", 0, 0);
}
template <typename Point>
void test_point_order_and_type()
{
typedef bg::model::polygon<Point> polygon;
typedef bg::model::polygon<Point, false, false> ccw_open_polygon;
typedef bg::model::polygon<Point, true, false> cw_open_polygon;
typedef bg::model::polygon<Point, false, true> ccw_closed_polygon;
typedef bg::model::polygon<Point, true, true> cw_closed_polygon;
test_geometry<ccw_open_polygon>("with_hole_ccw_open", "POLYGON((0 0,9 0,9 9,0 9),(2 2,2 7,7 7,7 2))", 0, 0);
test_geometry<cw_open_polygon>("with_hole_cw_open", "POLYGON((0 0,0 9,9 9,9 0),(2 2,7 2,7 7,2 7))", 0, 0);
test_geometry<ccw_closed_polygon>("with_hole_ccw_closed", "POLYGON((0 0,9 0,9 9,0 9,0 0),(2 2,2 7,7 7,7 2,2 2))", 0, 0);
test_geometry<cw_closed_polygon>("with_hole_cw_closed", "POLYGON((0 0,0 9,9 9,9 0,0 0),(2 2,7 2,7 7,2 7,2 2))", 0, 0);
}
template <typename Point>
void test_all()
{