Merged up to and including change 74761

[SVN r74858]
This commit is contained in:
Barend Gehrels
2011-10-09 18:30:04 +00:00
parent b09438434d
commit a7d945dad2
101 changed files with 5659 additions and 1169 deletions

View File

@@ -138,6 +138,19 @@ void test_linear()
2, 4, 2 * std::sqrt(2.0));
}
template <typename P>
void test_point_output()
{
typedef bg::model::box<P> box;
typedef bg::model::linestring<P> linestring;
typedef bg::model::polygon<P> polygon;
typedef bg::model::multi_polygon<polygon> multi_polygon;
test_point_output<multi_polygon, multi_polygon>(case_multi_simplex[0], case_multi_simplex[1], 10);
test_point_output<linestring, multi_polygon>("linestring(4 0,0 4)", case_multi_simplex[0], 4);
test_point_output<box, multi_polygon>("box(3 0,4 6)", case_multi_simplex[0], 8);
}
template <typename P>
void test_all()
@@ -174,6 +187,7 @@ void test_all()
test_linear<linestring, multi_linestring, box>();
#endif
test_point_output<P>();
// linear
}