Imported Upstream version 1.72.0
[platform/upstream/boost.git] / boost / geometry / strategies / intersection_result.hpp
index db2a46e..4b5aa1c 100644 (file)
 #ifndef BOOST_GEOMETRY_STRATEGIES_INTERSECTION_RESULT_HPP
 #define BOOST_GEOMETRY_STRATEGIES_INTERSECTION_RESULT_HPP
 
-#if defined(HAVE_MATRIX_AS_STRING)
-#include <string>
-#endif
-
 #include <cstddef>
 
+#include <boost/geometry/policies/robustness/segment_ratio.hpp>
 
 
 namespace boost { namespace geometry
@@ -57,7 +54,11 @@ struct fraction_type
 \brief return-type for segment-intersection
 \note Set in intersection_points.hpp, from segment_intersection_info
 */
-template <typename Point, typename SegmentRatio>
+template
+<
+    typename Point,
+    typename SegmentRatio = segment_ratio<typename coordinate_type<Point>::type>
+>
 struct segment_intersection_points
 {
     std::size_t count; // The number of intersection points