12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- #ifndef BOOST_GEOMETRY_STRATEGIES_INTERSECTION_HPP
- #define BOOST_GEOMETRY_STRATEGIES_INTERSECTION_HPP
- #include <boost/geometry/policies/relate/intersection_policy.hpp>
- #include <boost/geometry/policies/robustness/segment_ratio_type.hpp>
- #include <boost/geometry/strategies/intersection.hpp>
- #include <boost/geometry/strategies/intersection_result.hpp>
- #include <boost/geometry/strategies/side.hpp>
- #include <boost/geometry/strategies/cartesian/intersection.hpp>
- #include <boost/geometry/strategies/cartesian/side_by_triangle.hpp>
- #include <boost/geometry/strategies/spherical/intersection.hpp>
- #include <boost/geometry/strategies/spherical/ssf.hpp>
- namespace boost { namespace geometry
- {
- template
- <
- typename Tag,
- typename Geometry1,
- typename Geometry2,
- typename IntersectionPoint,
- typename RobustPolicy,
- typename CalculationType = void
- >
- struct intersection_strategies
- {
- private :
-
- typedef segment_intersection_points
- <
- IntersectionPoint,
- typename detail::segment_ratio_type
- <
- IntersectionPoint, RobustPolicy
- >::type
- > ip_type;
- public:
- typedef policies::relate::segments_intersection_policy
- <
- ip_type
- > intersection_policy_type;
- typedef typename strategy::intersection::services::default_strategy
- <
- Tag,
- CalculationType
- >::type segment_intersection_strategy_type;
- typedef typename strategy::side::services::default_strategy
- <
- Tag,
- CalculationType
- >::type side_strategy_type;
- typedef RobustPolicy rescale_policy_type;
- };
- }}
- #endif
|