mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-12 12:12:10 +00:00
added example used by Barend in his email to discuss the output of set operations
This commit is contained in:
@@ -51,6 +51,12 @@ BOOST_AUTO_TEST_CASE( test_intersection_linestring_linestring )
|
||||
|
||||
typedef test_intersection_of_geometries<L, L, ML> tester;
|
||||
|
||||
tester()
|
||||
(from_wkt<L>("LINESTRING(0 0,1 1,2 1,3 2)"),
|
||||
from_wkt<L>("LINESTRING(0 2,1 1,2 1,3 0)"),
|
||||
from_wkt<ML>("MULTILINESTRING((1 1,2 1))"),
|
||||
"lli00");
|
||||
|
||||
tester()
|
||||
(from_wkt<L>("LINESTRING(0 0,5 0)"),
|
||||
from_wkt<L>("LINESTRING(3 0,4 0)"),
|
||||
|
||||
Reference in New Issue
Block a user