1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- #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/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
|