[get_turns] Add template parameters to side_calculator<> defining types of all points.

It is possible to use side_calculator<> with Points of various types without the conversion.
This commit is contained in:
Adam Wulkiewicz
2014-04-26 15:25:47 +02:00
parent b682b8996b
commit 7615ac3392
4 changed files with 19 additions and 36 deletions

View File

@@ -582,9 +582,6 @@ void test_boxes_nd()
typedef bg::model::point<CoordinateType, 1, bg::cs::cartesian> p1;
typedef bg::model::point<CoordinateType, 2, bg::cs::cartesian> p2;
typedef bg::model::point<CoordinateType, 3, bg::cs::cartesian> p3;
typedef bg::model::box<p1> b1;
typedef bg::model::box<p1> b2;
typedef bg::model::box<p1> b3;
test_boxes_per_d(p1(0), p1(5), p1(3), p1(6), true);
test_boxes_per_d(p2(0,0), p2(5,5), p2(3,3), p2(6,6), true);