Lines Matching refs:Strategy
69 template <typename Box, typename Strategy>
71 apply(Box const& box, Strategy const&) in apply()
89 template <typename Ring, typename Strategy>
90 static inline typename area_result<Ring, Strategy>::type
91 apply(Ring const& ring, Strategy const& strategy) in apply()
93 BOOST_CONCEPT_ASSERT( (geometry::concepts::AreaStrategy<Ring, Strategy>) ); in apply()
105 return typename area_result<Ring, Strategy>::type(); in apply()
117 typename Strategy::template state<Ring> state; in apply()
150 template <typename Strategy>
151 static inline typename area_result<Geometry, Strategy>::type
152 apply(Geometry const& geometry, Strategy const& strategy) in apply()
156 typename area_result<Geometry, Strategy>::type in apply()
180 template <typename Strategy>
181 static inline typename area_result<Polygon, Strategy>::type
182 apply(Polygon const& polygon, Strategy const& strategy) in apply()
185 typename area_result<Polygon, Strategy>::type, in apply()
199 template <typename Strategy>
200 static inline typename area_result<MultiGeometry, Strategy>::type
201 apply(MultiGeometry const& multi, Strategy const& strategy) in apply()
205 typename area_result<MultiGeometry, Strategy>::type, in apply()
219 template <typename Strategy>
223 static inline typename area_result<Geometry, Strategy>::type
224 apply(Geometry const& geometry, Strategy const& strategy) in apply()
256 template <typename Strategy>
257 static inline typename area_result<Geometry, Strategy>::type
258 apply(Geometry const& geometry, Strategy const& strategy) in apply()
260 return resolve_strategy::area<Strategy>::apply(geometry, strategy); in apply()
269 template <typename Strategy>
271 : boost::static_visitor<typename area_result<variant_type, Strategy>::type>
273 Strategy const& m_strategy;
275 visitor(Strategy const& strategy): m_strategy(strategy) {} in visitor()
278 typename area_result<variant_type, Strategy>::type
285 template <typename Strategy>
286 static inline typename area_result<variant_type, Strategy>::type
288 Strategy const& strategy) in apply()
290 return boost::apply_visitor(visitor<Strategy>(strategy), geometry); in apply()
354 template <typename Geometry, typename Strategy>
355 inline typename area_result<Geometry, Strategy>::type
356 area(Geometry const& geometry, Strategy const& strategy) in area()