diff options
Diffstat (limited to 'boost/geometry/strategies/spherical/ssf.hpp')
-rw-r--r-- | boost/geometry/strategies/spherical/ssf.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/boost/geometry/strategies/spherical/ssf.hpp b/boost/geometry/strategies/spherical/ssf.hpp index c99e5835e2..03f5428ede 100644 --- a/boost/geometry/strategies/spherical/ssf.hpp +++ b/boost/geometry/strategies/spherical/ssf.hpp @@ -23,6 +23,8 @@ #include <boost/geometry/util/select_calculation_type.hpp> #include <boost/geometry/strategies/side.hpp> +#include <boost/geometry/strategies/spherical/disjoint_segment_box.hpp> +#include <boost/geometry/strategies/spherical/envelope_segment.hpp> //#include <boost/geometry/strategies/concepts/side_concept.hpp> @@ -82,6 +84,20 @@ class spherical_side_formula { public : + typedef strategy::envelope::spherical_segment<CalculationType> envelope_strategy_type; + + static inline envelope_strategy_type get_envelope_strategy() + { + return envelope_strategy_type(); + } + + typedef strategy::disjoint::segment_box_spherical disjoint_strategy_type; + + static inline disjoint_strategy_type get_disjoint_strategy() + { + return disjoint_strategy_type(); + } + template <typename P1, typename P2, typename P> static inline int apply(P1 const& p1, P2 const& p2, P const& p) { |