// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
-// This file was modified by Oracle on 2014-2018.
-// Modifications copyright (c) 2014-2018 Oracle and/or its affiliates.
+// This file was modified by Oracle on 2014-2020.
+// Modifications copyright (c) 2014-2020 Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
#include <boost/geometry/util/promote_floating_point.hpp>
#include <boost/geometry/util/select_calculation_type.hpp>
+#include <boost/geometry/strategy/geographic/envelope.hpp>
+
#include <boost/geometry/strategies/geographic/disjoint_segment_box.hpp>
-#include <boost/geometry/strategies/geographic/envelope_segment.hpp>
#include <boost/geometry/strategies/geographic/parameters.hpp>
#include <boost/geometry/strategies/side.hpp>
+#include <boost/geometry/strategies/spherical/point_in_point.hpp>
//#include <boost/geometry/strategies/concepts/side_concept.hpp>
class geographic
{
public:
- typedef strategy::envelope::geographic_segment
+ typedef geographic_tag cs_tag;
+
+ typedef strategy::envelope::geographic
<
FormulaPolicy,
Spheroid,
return disjoint_strategy_type(m_model);
}
+ typedef strategy::within::spherical_point_point equals_point_point_strategy_type;
+ static inline equals_point_point_strategy_type get_equals_point_point_strategy()
+ {
+ return equals_point_point_strategy_type();
+ }
+
geographic()
{}
return formula::azimuth_side_value(a1p, a12);
}
+ Spheroid const& model() const
+ {
+ return m_model;
+ }
+
private:
template <typename ResultType,
typename InverseFormulaType,