summaryrefslogtreecommitdiff
path: root/boost/geometry/strategies/geographic/intersection.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/geometry/strategies/geographic/intersection.hpp')
-rw-r--r--boost/geometry/strategies/geographic/intersection.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/boost/geometry/strategies/geographic/intersection.hpp b/boost/geometry/strategies/geographic/intersection.hpp
index 37f79e5895..1d69933502 100644
--- a/boost/geometry/strategies/geographic/intersection.hpp
+++ b/boost/geometry/strategies/geographic/intersection.hpp
@@ -74,6 +74,8 @@ template
>
struct geographic_segments
{
+ typedef geographic_tag cs_tag;
+
typedef side::geographic
<
FormulaPolicy, Spheroid, CalculationType
@@ -193,6 +195,9 @@ struct geographic_segments
}
typedef covered_by::spherical_point_box disjoint_point_box_strategy_type;
+ typedef covered_by::spherical_point_box covered_by_point_box_strategy_type;
+ typedef within::spherical_point_box within_point_box_strategy_type;
+ typedef envelope::spherical_box envelope_box_strategy_type;
typedef expand::spherical_box expand_box_strategy_type;
enum intersection_point_flag { ipi_inters = 0, ipi_at_a1, ipi_at_a2, ipi_at_b1, ipi_at_b2 };
@@ -494,7 +499,6 @@ private:
}
// NOTE: this is probably not needed
- calc_t const c0 = 0;
int a1_on_b = position_value(c0, dist_a1_b1, dist_a1_b2);
int a2_on_b = position_value(dist_a1_a2, dist_a1_b1, dist_a1_b2);
int b1_on_a = position_value(c0, dist_b1_a1, dist_b1_a2);