mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-09 23:24:02 +00:00
Renamed GGL/Geometry in some testfiles
[SVN r59786]
This commit is contained in:
parent
ef4ab98d72
commit
eeef35e569
@ -10,7 +10,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include <boost/concept/requires.hpp>
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/access.hpp>
|
||||
#include <boost/geometry/algorithms/make.hpp>
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <boost/geometry/geometries/linear_ring.hpp>
|
||||
#include <boost/geometry/geometries/polygon.hpp>
|
||||
|
||||
//#define GGL_TEST_DEBUG
|
||||
//#define GEOMETRY_TEST_DEBUG
|
||||
|
||||
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/assign.hpp>
|
||||
#include <boost/geometry/algorithms/num_points.hpp>
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/buffer.hpp>
|
||||
#include <boost/geometry/core/coordinate_type.hpp>
|
||||
|
@ -6,7 +6,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/algorithms/assign.hpp>
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/correct.hpp>
|
||||
#include <boost/geometry/strategies/strategies.hpp>
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/disjoint.hpp>
|
||||
#include <boost/geometry/geometries/geometries.hpp>
|
||||
@ -24,8 +24,8 @@
|
||||
|
||||
|
||||
template <typename G1, typename G2>
|
||||
void test_disjoint(std::string const& id,
|
||||
std::string const& wkt1,
|
||||
void test_disjoint(std::string const& id,
|
||||
std::string const& wkt1,
|
||||
std::string const& wkt2, bool expected)
|
||||
{
|
||||
G1 g1;
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <sstream>
|
||||
|
||||
#include <boost/mpl/if.hpp>
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/algorithms/distance.hpp>
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/correct.hpp>
|
||||
#include <boost/geometry/algorithms/within.hpp>
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/convex_hull.hpp>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/make.hpp>
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
|
||||
@ -61,7 +61,7 @@ inline void test_assemble(std::string const& id, Geometry const& p, Geometry con
|
||||
BOOST_CHECK_CLOSE(diff, 0.0, 0.0001);
|
||||
if (abs(diff) > 0.001)
|
||||
{
|
||||
std::cout
|
||||
std::cout
|
||||
<< id << std::endl
|
||||
<< bg::wkt(p) << std::endl
|
||||
<< bg::wkt(q) << std::endl;
|
||||
@ -80,12 +80,12 @@ inline void test_assemble(std::string const& id, Geometry const& p, Geometry con
|
||||
mapper.map(q, "fill-opacity:0.6;stroke-opacity:0.9;fill:rgb(0,255,0);stroke:rgb(0,255,0);stroke-width:2");
|
||||
BOOST_FOREACH(Geometry const& geometry, u)
|
||||
{
|
||||
mapper.map(geometry,
|
||||
mapper.map(geometry,
|
||||
"stroke-opacity:0.6;fill:none;stroke:rgb(255,0,255);stroke-width:5");
|
||||
}
|
||||
BOOST_FOREACH(Geometry const& geometry, i)
|
||||
{
|
||||
mapper.map(geometry,
|
||||
mapper.map(geometry,
|
||||
"stroke-opacity:0.6;fill:none;stroke:rgb(255,0,0);stroke-width:5");
|
||||
}
|
||||
}
|
||||
@ -97,7 +97,7 @@ inline bool int_ok(Polygon const& poly)
|
||||
{
|
||||
namespace bg = boost::geometry;
|
||||
|
||||
typename bg::point_type<Polygon>::type const& pi =
|
||||
typename bg::point_type<Polygon>::type const& pi =
|
||||
bg::interior_rings(poly)[0].front();
|
||||
|
||||
return bg::within(pi, bg::exterior_ring(poly));
|
||||
@ -132,21 +132,21 @@ void generate()
|
||||
std::string ps = "POLYGON(" + exteriors[pe] + "," + interiors[pi] + ")";
|
||||
std::string qs = "POLYGON(" + exteriors[qe] + "," + interiors[qi] + ")";
|
||||
|
||||
bg::polygon_2d p, q;
|
||||
bg::polygon_2d p, q;
|
||||
bg::read_wkt(ps, p);
|
||||
bg::read_wkt(qs, q);
|
||||
bg::correct(p);
|
||||
bg::correct(q);
|
||||
if (! intersects(p)
|
||||
if (! intersects(p)
|
||||
&& ! intersects(q)
|
||||
&& int_ok(p)
|
||||
&& int_ok(p)
|
||||
&& int_ok(q)
|
||||
)
|
||||
{
|
||||
std::ostringstream out;
|
||||
out << pe << qe << pi << qi;
|
||||
test_assemble(out.str(), p, q);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -155,7 +155,7 @@ void generate()
|
||||
}
|
||||
|
||||
|
||||
#if ! defined(GGL_TEST_MULTI)
|
||||
#if ! defined(GEOMETRY_TEST_MULTI)
|
||||
int test_main(int, char* [])
|
||||
{
|
||||
generate();
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
|
||||
@ -75,14 +75,14 @@ void test_geometry(std::string const& id, int expected_count, double expected_ar
|
||||
|
||||
std::string caseid = id;
|
||||
|
||||
//#ifdef GGL_DEBUG_INTERSECTION
|
||||
//#ifdef GEOMETRY_DEBUG_INTERSECTION
|
||||
std::cout << std::endl << std::endl << "# " << caseid << std::endl;
|
||||
//#endif
|
||||
test_dissolve(caseid, expected_count, expected_area, geometry, precision);
|
||||
}
|
||||
|
||||
|
||||
#if ! defined(GGL_TEST_MULTI)
|
||||
#if ! defined(GEOMETRY_TEST_MULTI)
|
||||
|
||||
template <typename P>
|
||||
void test_all()
|
||||
@ -172,7 +172,7 @@ void test_all()
|
||||
|
||||
|
||||
|
||||
#if ! defined(GGL_TEST_MULTI)
|
||||
#if ! defined(GEOMETRY_TEST_MULTI)
|
||||
int test_main(int, char* [])
|
||||
{
|
||||
test_all<boost::geometry::point_xy<double> >();
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/intersection.hpp>
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
#include <boost/geometry/strategies/strategies.hpp>
|
||||
|
||||
#define GGL_TEST_OVERLAY_NOT_REVERSED
|
||||
#define GEOMETRY_TEST_OVERLAY_NOT_REVERSED
|
||||
|
||||
#include <overlay_common.hpp>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#define BOOST_GEOMETRY_DEBUG_SEGMENT_IDENTIFIER
|
||||
|
||||
@ -138,7 +138,7 @@ struct test_get_turns
|
||||
};
|
||||
|
||||
|
||||
#if ! defined(GGL_TEST_MULTI)
|
||||
#if ! defined(GEOMETRY_TEST_MULTI)
|
||||
template <typename T>
|
||||
void test_all()
|
||||
{
|
||||
|
@ -210,12 +210,12 @@ static std::string case_47[2] = {
|
||||
|
||||
// 50, collinear opposite
|
||||
static std::string case_50[2] = {
|
||||
"POLYGON((0 0,0 3,2 3,4 3,4 0,0 0))",
|
||||
"POLYGON((0 0,0 3,2 3,4 3,4 0,0 0))",
|
||||
"POLYGON((0 3,0 5,5 5,5 0,4 0,4 3,2 3,0 3))" };
|
||||
|
||||
// 51, fit
|
||||
static std::string case_51[2] = {
|
||||
"POLYGON((0 0,0 5,5 5,5 0,0 0),(4 1,3 4,1 2,4 1))",
|
||||
"POLYGON((0 0,0 5,5 5,5 0,0 0),(4 1,3 4,1 2,4 1))",
|
||||
"POLYGON((1 2,3 4,4 1,1 2))" };
|
||||
|
||||
// 52, partially equal, touching each other
|
||||
@ -223,28 +223,28 @@ static std::string case_52[2] = {
|
||||
"POLYGON((0 0,1 4,3 1,4 4,1 4,5 5,5 0,0 0))",
|
||||
"POLYGON((0 0,1 4,3 1,4 4,1 4,5 5,4 1,0 0))" };
|
||||
|
||||
// 53, wrapping a box, self-touching
|
||||
// 53, wrapping a box, self-touching
|
||||
static std::string case_53[3] = {
|
||||
"POLYGON((2 2,2 3,3 3,3 2,2 2))",
|
||||
// a: self-tangent ext. ring, ST_IsValid=false
|
||||
"POLYGON((0 2,0 5,5 5,5 0,2 0,2 2,3 2,3 1,4 1,4 4,1 4,1 3,2 3,2 2,0 2))",
|
||||
"POLYGON((0 2,0 5,5 5,5 0,2 0,2 2,3 2,3 1,4 1,4 4,1 4,1 3,2 3,2 2,0 2))",
|
||||
// b: tangent ext/int ring, ST_IsValid=true
|
||||
"POLYGON((0 2,0 5,5 5,5 0,2 0,2 2,0 2),(1 3,2 3,2 2,3 2,3 1,4 1,4 4,1 4,1 3))"
|
||||
"POLYGON((0 2,0 5,5 5,5 0,2 0,2 2,0 2),(1 3,2 3,2 2,3 2,3 1,4 1,4 4,1 4,1 3))"
|
||||
};
|
||||
|
||||
static std::string case_54[4] = {
|
||||
// a: self-tangent ext. ring
|
||||
"POLYGON((2 2,2 3,4 3,4 0,1 0,1 2,2 2,2 1,3 1,3 2,2 2))",
|
||||
"POLYGON((2 2,2 3,4 3,4 0,1 0,1 2,2 2,2 1,3 1,3 2,2 2))",
|
||||
// b: tangent ext/int ring
|
||||
"POLYGON((2 2,2 3,4 3,4 0,1 0,1 2,2 2),(2 1,3 1,3 2,2 2,2 1))",
|
||||
"POLYGON((2 2,2 3,4 3,4 0,1 0,1 2,2 2),(2 1,3 1,3 2,2 2,2 1))",
|
||||
case_53[1],
|
||||
case_53[2]
|
||||
// other like in case53
|
||||
};
|
||||
|
||||
static std::string case_55[2] = {
|
||||
"POLYGON((2 2,3 3,4 3,4 0,1 0,1 1,2 2),(2 1,3 1,3 2,2 2,2 1))",
|
||||
"POLYGON((0 2,0 5,5 5,5 0,2 0,2 2,0 2),(1 3,2 2,3 1,4 1,4 4,1 4,1 3))"
|
||||
"POLYGON((2 2,3 3,4 3,4 0,1 0,1 1,2 2),(2 1,3 1,3 2,2 2,2 1))",
|
||||
"POLYGON((0 2,0 5,5 5,5 0,2 0,2 2,0 2),(1 3,2 2,3 1,4 1,4 4,1 4,1 3))"
|
||||
};
|
||||
|
||||
|
||||
@ -319,4 +319,4 @@ static std::string isovist[2] =
|
||||
};
|
||||
*/
|
||||
|
||||
#endif // GGL_TEST_OVERLAY_CASES_HPP
|
||||
#endif // GEOMETRY_TEST_OVERLAY_CASES_HPP
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include <boost/geometry/geometry.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/io/svg/svg_mapper.hpp>
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
#include <test_overlay_p_q.hpp>
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <boost/geometry/extensions/gis/io/wkt/wkt.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/io/svg/svg_mapper.hpp>
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
#include <test_overlay_p_q.hpp>
|
||||
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include <boost/geometry/extensions/gis/io/wkt/wkt.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/io/svg/svg_mapper.hpp>
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
#include <test_overlay_p_q.hpp>
|
||||
|
||||
template <typename Polygon, typename Generator>
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <boost/geometry/geometry.hpp>
|
||||
#include <boost/geometry/extensions/gis/io/wkt/wkt.hpp>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
template <typename OutputType, typename CalculationType, typename G1, typename G2>
|
||||
@ -65,21 +65,21 @@ static bool test_overlay_p_q(std::string const& caseid, G1 const& p, G2 const& q
|
||||
{
|
||||
result = false;
|
||||
svg = true;
|
||||
|
||||
|
||||
std::cout
|
||||
<< "type: " << string_from_type<CalculationType>::name()
|
||||
<< " id: " << caseid
|
||||
<< " area i: " << area_i
|
||||
<< " area i: " << area_i
|
||||
<< " area u: " << area_u
|
||||
<< " area p: " << area_p
|
||||
<< " area q: " << area_q
|
||||
<< " diff: " << diff
|
||||
<< " diff: " << diff
|
||||
<< std::endl
|
||||
<< std::setprecision(20)
|
||||
<< " p: " << boost::geometry::wkt(p) << std::endl
|
||||
<< " q: " << boost::geometry::wkt(q) << std::endl
|
||||
;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <iomanip>
|
||||
#include <string>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/algorithms/intersection.hpp>
|
||||
@ -118,14 +118,14 @@ void test_self_overlay(std::string const& id, T const& expected,
|
||||
|
||||
std::string caseid = id;
|
||||
|
||||
//#ifdef GGL_DEBUG_INTERSECTION
|
||||
//#ifdef GEOMETRY_DEBUG_INTERSECTION
|
||||
std::cout << std::endl << std::endl << "# " << caseid << std::endl;
|
||||
//#endif
|
||||
test_self_intersection_points::apply(caseid, expected, geometry, precision);
|
||||
}
|
||||
|
||||
|
||||
#if ! defined(GGL_TEST_MULTI)
|
||||
#if ! defined(GEOMETRY_TEST_MULTI)
|
||||
|
||||
template <typename P>
|
||||
void test_self_all()
|
||||
@ -225,7 +225,7 @@ void test_self_all()
|
||||
|
||||
|
||||
|
||||
#if ! defined(GGL_TEST_MULTI)
|
||||
#if ! defined(GEOMETRY_TEST_MULTI)
|
||||
int test_main(int, char* [])
|
||||
{
|
||||
test_self_all<boost::geometry::point_xy<double> >();
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
//#define HAVE_TTMATH
|
||||
#ifdef HAVE_TTMATH
|
||||
|
@ -11,7 +11,7 @@
|
||||
#pragma warning( disable : 4267 )
|
||||
#endif
|
||||
|
||||
//#define GGL_DEBUG_INTERSECTION
|
||||
//#define GEOMETRY_DEBUG_INTERSECTION
|
||||
|
||||
|
||||
#include <iostream>
|
||||
@ -159,7 +159,7 @@ void test_one(std::string const& caseid, std::string const& wkt1, std::string co
|
||||
}
|
||||
|
||||
|
||||
#if ! defined(GGL_TEST_MULTI)
|
||||
#if ! defined(GEOMETRY_TEST_MULTI)
|
||||
|
||||
template <typename P>
|
||||
void test_traverse_gmp(std::string const& caseid)
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/make.hpp>
|
||||
#include <boost/geometry/algorithms/sectionalize.hpp>
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define BOOST_GEOMETRY_TEST_AREA_HPP
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/area.hpp>
|
||||
#include <boost/geometry/strategies/strategies.hpp>
|
||||
@ -22,7 +22,7 @@ void test_area(Geometry const& geometry, long double expected_area)
|
||||
{
|
||||
long double area = boost::geometry::area(geometry);
|
||||
|
||||
#ifdef GGL_TEST_DEBUG
|
||||
#ifdef GEOMETRY_TEST_DEBUG
|
||||
std::ostringstream out;
|
||||
out << typeid(typename boost::geometry::coordinate_type<Geometry>::type).name()
|
||||
<< " "
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
// Test-functionality, shared between single and multi tests
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/strategies/strategies.hpp>
|
||||
#include <boost/geometry/algorithms/centroid.hpp>
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define BOOST_GEOMETRY_TEST_COMBINE_HPP
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/combine.hpp>
|
||||
#include <boost/geometry/strategies/strategies.hpp>
|
||||
|
@ -8,7 +8,7 @@
|
||||
#ifndef BOOST_GEOMETRY_TEST_CONVEX_HULL_HPP
|
||||
#define BOOST_GEOMETRY_TEST_CONVEX_HULL_HPP
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/convex_hull.hpp>
|
||||
#include <boost/geometry/algorithms/area.hpp>
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define BOOST_GEOMETRY_TEST_ENVELOPE_HPP
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/envelope.hpp>
|
||||
#include <boost/geometry/geometries/box.hpp>
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define BOOST_GEOMETRY_TEST_EQUALS_HPP
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/ring_type.hpp>
|
||||
#include <boost/geometry/algorithms/equals.hpp>
|
||||
|
@ -8,7 +8,7 @@
|
||||
#ifndef BOOST_GEOMETRY_TEST_FOR_EACH_HPP
|
||||
#define BOOST_GEOMETRY_TEST_FOR_EACH_HPP
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/for_each.hpp>
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include <iomanip>
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/intersection.hpp>
|
||||
#include <boost/geometry/algorithms/area.hpp>
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define BOOST_GEOMETRY_TEST_INTERSECTS_HPP
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/ring_type.hpp>
|
||||
#include <boost/geometry/algorithms/intersects.hpp>
|
||||
|
@ -8,7 +8,7 @@
|
||||
#ifndef BOOST_GEOMETRY_TEST_LENGTH_HPP
|
||||
#define BOOST_GEOMETRY_TEST_LENGTH_HPP
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/length.hpp>
|
||||
#include <boost/geometry/extensions/gis/io/wkt/read_wkt.hpp>
|
||||
@ -20,7 +20,7 @@ void test_length(Geometry const& geometry, long double expected_length)
|
||||
{
|
||||
long double length = boost::geometry::length(geometry);
|
||||
|
||||
#ifdef GGL_TEST_DEBUG
|
||||
#ifdef GEOMETRY_TEST_DEBUG
|
||||
std::ostringstream out;
|
||||
out << typeid(typename boost::geometry::coordinate_type<Geometry>::type).name()
|
||||
<< std::endl
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define BOOST_GEOMETRY_TEST_OVERLAPS_HPP
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/ring_type.hpp>
|
||||
#include <boost/geometry/algorithms/overlaps.hpp>
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define BOOST_GEOMETRY_TEST_PERIMETER_HPP
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/perimeter.hpp>
|
||||
#include <boost/geometry/strategies/strategies.hpp>
|
||||
@ -23,7 +23,7 @@ void test_perimeter(Geometry const& geometry, long double expected_perimeter)
|
||||
{
|
||||
long double perimeter = boost::geometry::perimeter(geometry);
|
||||
|
||||
#ifdef GGL_TEST_DEBUG
|
||||
#ifdef GEOMETRY_TEST_DEBUG
|
||||
std::ostringstream out;
|
||||
out << typeid(typename boost::geometry::coordinate_type<Geometry>::type).name()
|
||||
<< std::endl
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
// Test-functionality, shared between single and multi tests
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
#include <boost/geometry/algorithms/simplify.hpp>
|
||||
#include <boost/geometry/algorithms/distance.hpp>
|
||||
#include <boost/geometry/strategies/strategies.hpp>
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#include <fstream>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/union.hpp>
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define BOOST_GEOMETRY_TEST_WITHIN_HPP
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/ring_type.hpp>
|
||||
#include <boost/geometry/algorithms/within.hpp>
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <sstream>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/make.hpp>
|
||||
#include <boost/geometry/algorithms/transform.hpp>
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/arithmetic/arithmetic.hpp>
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/arithmetic/cross_product.hpp>
|
||||
|
||||
@ -40,7 +40,7 @@ void test_3d()
|
||||
P p2;
|
||||
boost::geometry::assign(p2, 45, 70, 20);
|
||||
P c = boost::geometry::cross_product(p1, p2);
|
||||
|
||||
|
||||
typedef typename boost::geometry::coordinate_type<P>::type scalar_type;
|
||||
BOOST_CHECK_EQUAL(boost::geometry::get<0>(c), scalar_type(-100));
|
||||
BOOST_CHECK_EQUAL(boost::geometry::get<1>(c), scalar_type(50));
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/arithmetic/dot_product.hpp>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/core/access.hpp>
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/core/coordinate_dimension.hpp>
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/core/coordinate_system.hpp>
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/core/coordinate_type.hpp>
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/core/geometry_id.hpp>
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/core/tag.hpp>
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/radian_access.hpp>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/reverse_dispatch.hpp>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
// To be tested:
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/tag.hpp>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/topological_dimension.hpp>
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/algorithms/midpoints.hpp>
|
||||
#include <boost/geometry/algorithms/make.hpp>
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/num_points.hpp>
|
||||
#include <boost/geometry/extensions/algorithms/remove_holes_if.hpp>
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/geometries/geometries.hpp>
|
||||
#include <boost/geometry/extensions/algorithms/selected.hpp>
|
||||
|
@ -38,7 +38,7 @@ void test_all();
|
||||
|
||||
|
||||
// Include the single test
|
||||
#define GGL_TEST_MULTI
|
||||
#define GEOMETRY_TEST_MULTI
|
||||
#include "extensions/gis/io/wkt/wkt.cpp"
|
||||
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/geometries/geometries.hpp>
|
||||
@ -114,7 +114,7 @@ void test_wrong_wkt(std::string const& wkt, std::string const& start)
|
||||
}
|
||||
|
||||
|
||||
#ifndef GGL_TEST_MULTI
|
||||
#ifndef GEOMETRY_TEST_MULTI
|
||||
template <typename T>
|
||||
void test_all()
|
||||
{
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/gis/geographic/strategies/andoyer.hpp>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/algorithms/area.hpp>
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/assign.hpp>
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/parse.hpp>
|
||||
#include <boost/geometry/geometries/point.hpp>
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/strategies/strategies.hpp>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/transform.hpp>
|
||||
#include <boost/geometry/extensions/gis/io/wkt/stream_wkt.hpp>
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/gis/projections/parameters.hpp>
|
||||
#include <boost/geometry/extensions/gis/projections/projection.hpp>
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/gis/projections/parameters.hpp>
|
||||
#include <boost/geometry/extensions/gis/projections/projection.hpp>
|
||||
|
@ -6,6 +6,9 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
// WARNING: this file takes several minutes to quarters to compile on GCC
|
||||
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning( disable : 4305 ) // truncation double -> float
|
||||
#pragma warning( disable : 4244 ) // loss of data
|
||||
@ -15,7 +18,7 @@
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/gis/projections/parameters.hpp>
|
||||
#include <boost/geometry/extensions/gis/projections/projection.hpp>
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/extensions/nsphere/core/access.hpp>
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/nsphere/algorithms/area.hpp>
|
||||
#include <boost/geometry/extensions/nsphere/geometries/nsphere.hpp>
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/nsphere/core/access.hpp>
|
||||
#include <boost/geometry/extensions/nsphere/geometries/concepts/nsphere_concept.hpp>
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/algorithms/correct.hpp>
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/core/tag.hpp>
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/nsphere/nsphere.hpp>
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <deque>
|
||||
#include <vector>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/geometries/geometries.hpp>
|
||||
#include <boost/geometry/multi/multi.hpp>
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/make.hpp>
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <deque>
|
||||
#include <vector>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/append.hpp>
|
||||
#include <boost/geometry/algorithms/clear.hpp>
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/geometries/concepts/segment_concept.hpp>
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/iterators/circular_iterator.hpp>
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/iterators/ever_circling_iterator.hpp>
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/coordinate_type.hpp>
|
||||
#include <boost/geometry/geometries/cartesian2d.hpp>
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/correct.hpp>
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/distance.hpp>
|
||||
#include <boost/geometry/extensions/gis/io/wkt/read_wkt.hpp>
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/for_each.hpp>
|
||||
#include <boost/geometry/multi/algorithms/for_each.hpp>
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/perimeter.hpp>
|
||||
#include <boost/geometry/multi/algorithms/perimeter.hpp>
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/simplify.hpp>
|
||||
#include <boost/geometry/multi/algorithms/simplify.hpp>
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/gis/io/wkt/wkt.hpp>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef GGL_TEST_MULTI_OVERLAY_COMMON_HPP
|
||||
#define GGL_TEST_MULTI_OVERLAY_COMMON_HPP
|
||||
#ifndef GEOMETRY_TEST_MULTI_OVERLAY_COMMON_HPP
|
||||
#define GEOMETRY_TEST_MULTI_OVERLAY_COMMON_HPP
|
||||
|
||||
|
||||
// Boost.Geometry (aka GGL, Generic Geometry Library) test file
|
||||
@ -36,4 +36,4 @@ void test_all(std::vector<T> const& expected, double precision = 0.01)
|
||||
}
|
||||
|
||||
|
||||
#endif // GGL_TEST_MULTI_OVERLAY_COMMON_HPP
|
||||
#endif // GEOMETRY_TEST_MULTI_OVERLAY_COMMON_HPP
|
||||
|
@ -7,8 +7,8 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#ifndef GGL_TEST_MULTI_UTIL_SVG_MAPPER_HPP
|
||||
#define GGL_TEST_MULTI_UTIL_SVG_MAPPER_HPP
|
||||
#ifndef GEOMETRY_TEST_MULTI_UTIL_SVG_MAPPER_HPP
|
||||
#define GEOMETRY_TEST_MULTI_UTIL_SVG_MAPPER_HPP
|
||||
|
||||
#include <boost/geometry/multi/algorithms/envelope.hpp>
|
||||
#include <boost/geometry/multi/algorithms/transform.hpp>
|
||||
@ -41,4 +41,4 @@ struct svg_map<boost::geometry::multi_polygon_tag, true, MultiPolygon>
|
||||
|
||||
|
||||
|
||||
#endif // GGL_TEST_MULTI_UTIL_SVG_MAPPER_HPP
|
||||
#endif // GEOMETRY_TEST_MULTI_UTIL_SVG_MAPPER_HPP
|
||||
|
@ -6,8 +6,8 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef GGL_TEST_POINT_CONCEPT_FUNCTION_ASSERTING_A_POINT_HPP
|
||||
#define GGL_TEST_POINT_CONCEPT_FUNCTION_ASSERTING_A_POINT_HPP
|
||||
#ifndef GEOMETRY_TEST_POINT_CONCEPT_FUNCTION_ASSERTING_A_POINT_HPP
|
||||
#define GEOMETRY_TEST_POINT_CONCEPT_FUNCTION_ASSERTING_A_POINT_HPP
|
||||
|
||||
#include <boost/concept/requires.hpp>
|
||||
|
||||
@ -25,4 +25,4 @@ namespace test
|
||||
}
|
||||
}
|
||||
|
||||
#endif // GGL_TEST_POINT_CONCEPT_FUNCTION_ASSERTING_A_POINT_HPP
|
||||
#endif // GEOMETRY_TEST_POINT_CONCEPT_FUNCTION_ASSERTING_A_POINT_HPP
|
||||
|
@ -6,8 +6,8 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef GGL_TEST_POINT_CONCEPT_FUNCTION_REQUIRING_A_POINT_HPP
|
||||
#define GGL_TEST_POINT_CONCEPT_FUNCTION_REQUIRING_A_POINT_HPP
|
||||
#ifndef GEOMETRY_TEST_POINT_CONCEPT_FUNCTION_REQUIRING_A_POINT_HPP
|
||||
#define GEOMETRY_TEST_POINT_CONCEPT_FUNCTION_REQUIRING_A_POINT_HPP
|
||||
|
||||
#include <boost/concept/requires.hpp>
|
||||
|
||||
@ -27,4 +27,4 @@ namespace test
|
||||
}
|
||||
}
|
||||
|
||||
#endif // GGL_TEST_POINT_CONCEPT_FUNCTION_REQUIRING_A_POINT_HPP
|
||||
#endif // GEOMETRY_TEST_POINT_CONCEPT_FUNCTION_REQUIRING_A_POINT_HPP
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/assign.hpp>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/concept/requires.hpp>
|
||||
#include <boost/concept_check.hpp>
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/strategies/cartesian/distance_projected_point.hpp>
|
||||
#include <boost/geometry/strategies/concepts/distance_concept.hpp>
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/assign.hpp>
|
||||
#include <boost/geometry/strategies/cartesian/distance_pythagoras.hpp>
|
||||
|
@ -15,7 +15,7 @@
|
||||
#define HAVE_MATRIX_AS_STRING
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/assign.hpp>
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user