4 // Copyright (c) 2019, Oracle and/or its affiliates.
6 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
8 // Use, modification and distribution is subject to the Boost Software License,
9 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
10 // http://www.boost.org/LICENSE_1_0.txt)
12 #include "test_difference.hpp"
16 typedef bg::model::point<double, 2, bg::cs::spherical_equatorial<bg::degree> > point;
17 typedef bg::model::linestring<point> linestring;
18 typedef bg::model::polygon<point> polygon;
20 // https://github.com/boostorg/geometry/issues/619
22 test_one_lp<linestring, linestring, polygon>(
24 "LINESTRING(-106.373725 39.638846, -106.373486 39.639362, -106.368378 39.614603)",
25 "POLYGON((-106.374074 39.638593, -106.373626 39.639230, -106.373594 39.639232, "
26 "-106.373366 39.638502, -106.373299 39.638459, -106.373369 39.638382, "
27 "-106.374074 39.638593))",
28 2, 5, 0.00044107988528133710);
31 int test_main(int, char* [])