mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-11 11:52:11 +00:00
get_turns(L,A) added, the endpoints are NOT properly set yet!
This commit is contained in:
@@ -32,11 +32,11 @@ void test_all()
|
||||
typedef bg::model::linestring<pt> ls;
|
||||
typedef bg::model::polygon<pt> poly;
|
||||
|
||||
to_svg<ls, poly>("LINESTRING(15 5,24 5,20 2,19 0,13 -4,10 0,13 3,15 7,16 10,10 10,8 10,4 6,2 8,1 10)",
|
||||
to_svg<ls, poly>("LINESTRING(15 5,24 5,20 2,19 0,13 -4,1 0,10 0,13 3,15 7,16 10,10 10,8 10,4 6,2 8,1 10)",
|
||||
"POLYGON((0 0,5 5,0 10,20 10,20 2,19 0,0 0)(10 3,15 3,15 7,10 7,10 3))",
|
||||
"ls_poly.svg");
|
||||
to_svg<poly, ls>("POLYGON((0 0,5 5,0 10,20 10,20 2,19 0,0 0)(10 3,15 3,15 7,10 7,10 3))",
|
||||
"LINESTRING(15 5,24 5,20 2,19 0,13 -4,10 0,13 3,15 7,16 10,10 10,8 10,4 6,2 8,1 10)",
|
||||
"LINESTRING(15 5,24 5,20 2,19 0,13 -4,1 0,10 0,13 3,15 7,16 10,10 10,8 10,4 6,2 8,1 10)",
|
||||
"poly_ls.svg");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user