Home
last modified time | relevance | path

Searched refs:calculation_type (Results 1 – 25 of 38) sorted by relevance

12

/third_party/boost/boost/geometry/strategies/cartesian/
Dcentroid_bashein_detmer.hpp149 >::type calculation_type; typedef in boost::geometry::strategy::centroid::bashein_detmer
156 calculation_type sum_a2;
157 calculation_type sum_x;
158 calculation_type sum_y;
163 , sum_a2(calculation_type()) in sums()
164 , sum_x(calculation_type()) in sums()
165 , sum_y(calculation_type()) in sums()
187 calculation_type const x1 = boost::numeric_cast<calculation_type>(get<0>(p1)); in apply()
188 calculation_type const y1 = boost::numeric_cast<calculation_type>(get<1>(p1)); in apply()
189 calculation_type const x2 = boost::numeric_cast<calculation_type>(get<0>(p2)); in apply()
[all …]
Ddistance_projected_point.hpp111 struct calculation_type struct in boost::geometry::strategy::distance::projected_point
124 inline typename calculation_type<Point, PointOfSegment>::type
129 typedef typename calculation_type<Point, PointOfSegment>::type calculation_type; in apply() typedef
135 calculation_type, in apply()
166 calculation_type const zero = calculation_type(); in apply()
167 calculation_type const c1 = dot_product(w, v); in apply()
172 calculation_type const c2 = dot_product(v, v); in apply()
179 calculation_type const b = c1 / c2; in apply()
208 : projected_point<CalculationType, Strategy>::template calculation_type<P, PS>
Ddistance_pythagoras.hpp86 struct calculation_type struct in boost::geometry::strategy::distance::comparable::pythagoras
87 : util::calculation_type::geometric::binary
98 static inline typename calculation_type<Point1, Point2>::type
112 typename calculation_type<Point1, Point2>::type in apply()
142 struct calculation_type struct in boost::geometry::strategy::distance::pythagoras
143 : util::calculation_type::geometric::binary
160 static inline typename calculation_type<P1, P2>::type
166 boost::numeric_cast<typename calculation_type<P1, P2>::type> in apply()
188 : pythagoras<CalculationType>::template calculation_type<P1, P2>
235 : comparable::pythagoras<CalculationType>::template calculation_type<P1, P2>
Ddistance_pythagoras_box_box.hpp106 struct calculation_type struct in boost::geometry::strategy::distance::comparable::pythagoras_box_box
108 typedef typename util::calculation_type::geometric::binary
117 static inline typename calculation_type<Box1, Box2>::type
130 typename calculation_type<Box1, Box2>::type result(0); in apply()
166 struct calculation_type struct in boost::geometry::strategy::distance::pythagoras_box_box
167 : util::calculation_type::geometric::binary
184 static inline typename calculation_type<Box1, Box2>::type
190 boost::numeric_cast<typename calculation_type in apply()
218 : pythagoras_box_box<CalculationType>::template calculation_type<Box1, Box2>
273 >::template calculation_type<Box1, Box2>
Ddistance_pythagoras_point_box.hpp104 struct calculation_type struct in boost::geometry::strategy::distance::comparable::pythagoras_point_box
106 typedef typename util::calculation_type::geometric::binary
113 static inline typename calculation_type<Point, Box>::type
125 typename calculation_type<Point, Box>::type result(0); in apply()
161 struct calculation_type struct in boost::geometry::strategy::distance::pythagoras_point_box
162 : util::calculation_type::geometric::binary
179 static inline typename calculation_type<Point, Box>::type
185 boost::numeric_cast<typename calculation_type in apply()
216 >::template calculation_type<Point, Box>
273 >::template calculation_type<Point, Box>
Ddistance_projected_point_ax.hpp141 struct calculation_type struct in boost::geometry::strategy::distance::detail::projected_point_ax
143 ::template calculation_type<Point, PointOfSegment>
151 typename calculation_type<Point, PointOfSegment>::type
163 typedef typename calculation_type<Point, PointOfSegment>::type calculation_type; in apply() typedef
169 calculation_type, in apply()
202 calculation_type const zero = calculation_type(); in apply()
203 calculation_type const c2 = dot_product(v, v); in apply()
212 calculation_type const c1 = dot_product(w, v); in apply()
213 calculation_type const b = c1 / c2; in apply()
Dpoint_in_poly_franklin.hpp61 struct calculation_type struct in boost::geometry::strategy::within::franklin
92 typedef typename calculation_type<Point, PointOfSegment>::type calc_t; in apply()
Dpoint_in_poly_crossings_multiply.hpp57 struct calculation_type struct in boost::geometry::strategy::within::crossings_multiply
92 typedef typename calculation_type<Point, PointOfSegment>::type calc_t; in apply()
Dpoint_in_poly_winding.hpp62 struct calculation_type struct in boost::geometry::strategy::within::cartesian_winding
205 typedef typename calculation_type<Point, PointOfSegment>::type calc_t; in check_touch()
236 typedef typename calculation_type<Point, PointOfSegment>::type calc_t; in calculate_count()
Ddistance_segment_box.hpp37 struct calculation_type struct
141 : cartesian_segment_box<CalculationType, Strategy>::template calculation_type<PS, PB>
/third_party/boost/boost/geometry/strategies/geographic/
Dbuffer_point_circle.hpp80 >::type calculation_type; in apply() typedef
82 calculation_type const buffer_distance = distance_strategy.apply(point, point, in apply()
87 calculation_type, true, false, false, false in apply()
90 calculation_type const two_pi = geometry::math::two_pi<calculation_type>(); in apply()
91 calculation_type const pi = geometry::math::pi<calculation_type>(); in apply()
93 calculation_type const diff = two_pi / calculation_type(m_count); in apply()
96 calculation_type angle = 0.001; in apply()
Dmapping_ssf.hpp148 >::type calculation_type; in apply() typedef
150 calculation_type lon1 = get_as_radian<0>(p1); in apply()
151 calculation_type lat1 = m_mapper.template apply<calculation_type>(get_as_radian<1>(p1)); in apply()
152 calculation_type lon2 = get_as_radian<0>(p2); in apply()
153 calculation_type lat2 = m_mapper.template apply<calculation_type>(get_as_radian<1>(p2)); in apply()
154 calculation_type lon = get_as_radian<0>(p); in apply()
155 calculation_type lat = m_mapper.template apply<calculation_type>(get_as_radian<1>(p)); in apply()
Ddistance.hpp69 struct calculation_type struct in boost::geometry::strategy::distance::geographic
115 inline typename calculation_type<Point1, Point2>::type
118 typedef typename calculation_type<Point1, Point2>::type CT; in apply()
163 : geographic<FormulaPolicy, Spheroid, CalculationType>::template calculation_type<P1, P2>
Ddistance_karney.hpp74 : karney<Spheroid, CalculationType>::template calculation_type<P1, P2>
Ddistance_andoyer.hpp86 : andoyer<Spheroid, CalculationType>::template calculation_type<P1, P2>
Ddistance_thomas.hpp79 : thomas<Spheroid, CalculationType>::template calculation_type<P1, P2>
/third_party/boost/boost/geometry/strategies/spherical/
Ddistance_haversine.hpp58 struct calculation_type struct in boost::geometry::strategy::distance::comparable::haversine
88 static inline typename calculation_type<Point1, Point2>::type
91 return calculate<typename calculation_type<Point1, Point2>::type>( in apply()
150 struct calculation_type struct in boost::geometry::strategy::distance::haversine
185 inline typename calculation_type<Point1, Point2>::type
188 typedef typename calculation_type<Point1, Point2>::type calculation_type; in apply() typedef
189 calculation_type const a = comparable_type::apply(p1, p2); in apply()
190 calculation_type const c = calculation_type(2.0) * asin(math::sqrt(a)); in apply()
191 return calculation_type(m_radius) * c; in apply()
221 : haversine<RadiusType, CalculationType>::template calculation_type<P1, P2>
[all …]
Dssf.hpp120 >::type calculation_type; in apply() typedef
122 calculation_type const lambda1 = get_as_radian<0>(p1); in apply()
123 calculation_type const delta1 = get_as_radian<1>(p1); in apply()
124 calculation_type const lambda2 = get_as_radian<0>(p2); in apply()
125 calculation_type const delta2 = get_as_radian<1>(p2); in apply()
126 calculation_type const lambda = get_as_radian<0>(p); in apply()
127 calculation_type const delta = get_as_radian<1>(p); in apply()
Dpoint_in_point.hpp92 >::type calculation_type; in apply() typedef
96 Point1, calculation_type, radian in apply()
Dpoint_in_poly_winding.hpp53 struct calculation_type struct in boost::geometry::strategy::within::detail::spherical_winding_base
177 typedef typename calculation_type<Point, PointOfSegment>::type calc_t; in apply()
283 typedef typename calculation_type<Point, PointOfSegment>::type calc_t; in check_touch()
390 typedef typename calculation_type<Point, PointOfSegment>::type calc_t; in calculate_count()
/third_party/boost/boost/geometry/strategies/agnostic/
Dpoint_in_poly_oriented_winding.hpp60 >::type calculation_type; typedef in boost::geometry::strategy::within::oriented_winding
74 calculation_type m_sum_area;
100 inline void add_to_area(calculation_type triangle) in add_to_area()
113 calculation_type const p = get<D>(point); in check_touch()
114 calculation_type const s1 = get<D>(seg1); in check_touch()
115 calculation_type const s2 = get<D>(seg2); in check_touch()
129 calculation_type const p = get<D>(point); in check_segment()
130 calculation_type const s1 = get<D>(seg1); in check_segment()
131 calculation_type const s2 = get<D>(seg2); in check_segment()
/third_party/boost/boost/geometry/util/
Dcalculation_type.hpp62 struct calculation_type struct
102 namespace calculation_type namespace
117 typedef typename detail::calculation_type
136 typedef typename detail::calculation_type
160 typedef typename detail::calculation_type
/third_party/boost/libs/geometry/test/util/
Dcalculation_type.cpp50 typedef typename bg::util::calculation_type::geometric::binary in test()
80 typedef typename bg::util::calculation_type::geometric::binary in test_with_calculation_type()
109 typedef typename bg::util::calculation_type::geometric::unary in test_unary()
139 typedef typename bg::util::calculation_type::geometric::ternary in test_ternary()
/third_party/boost/libs/geometry/example/
Dml02_distance_strategy.cpp28 strategy1_type ::calculation_type d1 = strategy1.apply(p1, p2); in main()
33 strategy2_type::calculation_type d2 = strategy2.apply(p1, p2); in main()
/third_party/boost/boost/geometry/strategies/
Dstrategy_transform.hpp142 >::type calculation_type; in apply() typedef
147 >::transform(p1, p2, math::d2r<calculation_type>()); in apply()
163 >::type calculation_type; in apply() typedef
168 >::transform(p1, p2, math::d2r<calculation_type>()); in apply()

12