mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-10 23:42:12 +00:00
Merged 71027,71093,71117 (centroid nD plus convert to detail)
[SVN r71120]
This commit is contained in:
@@ -78,6 +78,7 @@ void test_2d()
|
||||
template <typename P>
|
||||
void test_3d()
|
||||
{
|
||||
test_centroid<bg::model::linestring<P> >("LINESTRING(1 2 3,4 5 -6,7 -8 9,-10 11 12,13 -14 -15, 16 17 18)", 5.6748865168734692, 0.31974938587214002, 1.9915270387763671);
|
||||
test_centroid<bg::model::box<P> >("POLYGON((1 2 3,5 6 7))", 3, 4, 5);
|
||||
test_centroid<P>("POINT(1 2 3)", 1, 2, 3);
|
||||
}
|
||||
@@ -93,6 +94,7 @@ int test_main(int, char* [])
|
||||
|
||||
#if defined(HAVE_TTMATH)
|
||||
test_2d<bg::model::d2::point_xy<ttmath_big> >();
|
||||
test_3d<boost::tuple<ttmath_big, ttmath_big, ttmath_big> >();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user