mirror of
https://github.com/boostorg/geometry.git
synced 2026-01-26 18:42:12 +00:00
Linestring/polygon overlay, unit tests for phase 4
[SVN r75569]
This commit is contained in:
@@ -151,6 +151,12 @@ void test_point_output()
|
||||
test_point_output<box, multi_polygon>("box(3 0,4 6)", case_multi_simplex[0], 8);
|
||||
}
|
||||
|
||||
template <typename LineString, typename MultiPolygon, typename MultiLineString>
|
||||
void test_polygon_linestring()
|
||||
{
|
||||
//test_one_lp<LineString, MultiPolygon, MultiLineString>("case_mp_mls_1", case_multi_simplex[0], "MULTILINESTRING((2 0,2 5),(3 0,3 5))", 4, 8, 10.0);
|
||||
test_one_lp<LineString, MultiPolygon, LineString>("case_mp_ls_1", case_multi_simplex[0], "LINESTRING(2 0,2 5)", 2, 4, 3.70);
|
||||
}
|
||||
|
||||
template <typename P>
|
||||
void test_all()
|
||||
@@ -185,6 +191,7 @@ void test_all()
|
||||
typedef bg::model::multi_linestring<linestring> multi_linestring;
|
||||
|
||||
test_linear<linestring, multi_linestring, box>();
|
||||
test_polygon_linestring<linestring, multi_polygon, multi_linestring>();
|
||||
#endif
|
||||
|
||||
test_point_output<P>();
|
||||
|
||||
Reference in New Issue
Block a user