mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-09 11:12:21 +00:00
[test] fix merge error, remove duplicate function in point_on_surface
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user