Imported Upstream version 1.72.0
[platform/upstream/boost.git] / boost / geometry / policies / robustness / no_rescale_policy.hpp
index a789984..211c45a 100644 (file)
@@ -17,7 +17,6 @@
 #include <boost/geometry/core/coordinate_type.hpp>
 #include <boost/geometry/policies/robustness/robust_point_type.hpp>
 #include <boost/geometry/policies/robustness/segment_ratio.hpp>
-#include <boost/geometry/policies/robustness/segment_ratio_type.hpp>
 
 namespace boost { namespace geometry
 {
@@ -26,7 +25,7 @@ namespace boost { namespace geometry
 namespace detail
 {
 
-// Probably this will be moved out of namespace detail
+// Redudant later.
 struct no_rescale_policy
 {
     static bool const enabled = false;
@@ -51,16 +50,6 @@ struct robust_point_type<Point, detail::no_rescale_policy>
     typedef Point type;
 };
 
-template <typename Point>
-struct segment_ratio_type<Point, detail::no_rescale_policy>
-{
-    // Define a segment_ratio defined on coordinate type, e.g.
-    // int/int or float/float
-    typedef typename geometry::coordinate_type<Point>::type coordinate_type;
-    typedef segment_ratio<coordinate_type> type;
-};
-
-
 }} // namespace boost::geometry
 
 #endif // BOOST_GEOMETRY_POLICIES_ROBUSTNESS_NO_RESCALE_POLICY_HPP