Home
last modified time | relevance | path

Searched refs:numeric_cast (Results 1 – 25 of 28) sorted by relevance

12

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/
H A Dassign_values.hpp129 geometry::set<0>(point, boost::numeric_cast<coordinate_type>(get<Corner1, 0>(box))); in assign_box_2d_corner()
130 geometry::set<1>(point, boost::numeric_cast<coordinate_type>(get<Corner2, 1>(box))); in assign_box_2d_corner()
146 geometry::set<Index, Dimension>(geometry, boost::numeric_cast in apply()
188 geometry::set<Dimension>( point, boost::numeric_cast in apply()
232 geometry::set<0, 0>(geometry, boost::numeric_cast<coordinate_type>(x1)); in apply()
233 geometry::set<0, 1>(geometry, boost::numeric_cast<coordinate_type>(y1)); in apply()
234 geometry::set<1, 0>(geometry, boost::numeric_cast<coordinate_type>(x2)); in apply()
235 geometry::set<1, 1>(geometry, boost::numeric_cast<coordinate_type>(y2)); in apply()
265 set<0>(point, boost::numeric_cast<coordinate_type>(c1)); in apply()
266 set<1>(point, boost::numeric_cast<coordinate_type>(c2)); in apply()
[all …]
H A Dconvert_indexed_to_indexed.hpp48 boost::numeric_cast<coordinate_type>( in apply()
51 boost::numeric_cast<coordinate_type>( in apply()
H A Dnormalize.hpp56 geometry::set<Dimension>(point_out, boost::numeric_cast in apply()
89 geometry::set<0>(point_out, boost::numeric_cast in apply()
110 geometry::set<1>(point_out, boost::numeric_cast in apply()
H A Dconvert_point_to_point.hpp42 set<Dimension>(destination, boost::numeric_cast<coordinate_type>(get<Dimension>(source))); in apply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/cartesian/
H A Dcentroid_bashein_detmer.hpp186 calculation_type const x1 = boost::numeric_cast<calculation_type>(get<0>(p1)); in apply()
187 calculation_type const y1 = boost::numeric_cast<calculation_type>(get<1>(p1)); in apply()
188 calculation_type const x2 = boost::numeric_cast<calculation_type>(get<0>(p2)); in apply()
189 calculation_type const y2 = boost::numeric_cast<calculation_type>(get<1>(p2)); in apply()
217 boost::numeric_cast<coordinate_type>(state.sum_x / a3)); in result()
219 boost::numeric_cast<coordinate_type>(state.sum_y / a3)); in result()
H A Ddistance_pythagoras_box_box.hpp50 boost::numeric_cast<T>(geometry::get<min_corner, I-1>(box1)); in apply()
52 boost::numeric_cast<T>(geometry::get<max_corner, I-1>(box1)); in apply()
55 boost::numeric_cast<T>(geometry::get<min_corner, I-1>(box2)); in apply()
57 boost::numeric_cast<T>(geometry::get<max_corner, I-1>(box2)); in apply()
187 boost::numeric_cast<typename calculation_type in apply()
H A Ddistance_pythagoras.hpp42 T const c1 = boost::numeric_cast<T>(get<I-1>(p1)); in apply()
43 T const c2 = boost::numeric_cast<T>(get<I-1>(p2)); in apply()
55 return boost::numeric_cast<T>(0); in apply()
159 boost::numeric_cast<typename calculation_type<P1, P2>::type> in apply()
H A Ddistance_pythagoras_point_box.hpp48 T const p_coord = boost::numeric_cast<T>(geometry::get<I-1>(point)); in apply()
50 boost::numeric_cast<T>(geometry::get<min_corner, I-1>(box)); in apply()
52 boost::numeric_cast<T>(geometry::get<max_corner, I-1>(box)); in apply()
181 boost::numeric_cast<typename calculation_type in apply()
H A Ddisjoint_segment_box.hpp64 RelativeDistance c_p0 = boost::numeric_cast in apply()
69 RelativeDistance c_p1 = boost::numeric_cast in apply()
74 RelativeDistance c_b_min = boost::numeric_cast in apply()
79 RelativeDistance c_b_max = boost::numeric_cast in apply()
H A Dintersection.hpp186 = boost::numeric_cast<promoted_type>(ratio.numerator()); in assign()
188 = boost::numeric_cast<promoted_type>(ratio.denominator()); in assign()
189 promoted_type const dx_promoted = boost::numeric_cast<promoted_type>(dx); in assign()
190 promoted_type const dy_promoted = boost::numeric_cast<promoted_type>(dy); in assign()
192 set<0>(point, get<0, 0>(segment) + boost::numeric_cast in assign()
196 set<1>(point, get<0, 1>(segment) + boost::numeric_cast in assign()
H A Dcentroid_weighted_length.hpp128 boost::numeric_cast<coordinate_type>( in apply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/index/detail/
H A Dbounded_view.hpp50 return boost::numeric_cast<coordinate_type>( in get_min()
58 return boost::numeric_cast<coordinate_type>( in get_max()
109 return boost::numeric_cast<coordinate_type>( in get_min()
116 return boost::numeric_cast<coordinate_type>( in get_max()
139 return boost::numeric_cast<coordinate_type>( in get_min()
146 return boost::numeric_cast<coordinate_type>( in get_max()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/core/
H A Dradian_access.hpp52 return boost::numeric_cast in get()
61 geometry::set<Dimension>(geometry, boost::numeric_cast in set()
117 return boost::numeric_cast in get()
126 geometry::set<Index, Dimension>(geometry, boost::numeric_cast in set()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/transform/
H A Dmatrix_transformers.hpp105 set<0>(p2, boost::numeric_cast<ct2>(p2x)); in apply()
106 set<1>(p2, boost::numeric_cast<ct2>(p2y)); in apply()
171 set<0>(p2, boost::numeric_cast<ct2>( in apply()
173 set<1>(p2, boost::numeric_cast<ct2>( in apply()
175 set<2>(p2, boost::numeric_cast<ct2>( in apply()
H A Dmap_transformer.hpp120 type sx = (px2 - px1) / boost::numeric_cast<type>(wdx); in set_transformation()
121 type sy = (py2 - py1) / boost::numeric_cast<type>(wdy); in set_transformation()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/policies/robustness/
H A Dget_rescale_policy.hpp69 num_type const diff = boost::numeric_cast<num_type>(detail::get_max_size(box)); in scale_box_to_integer_range()
80 factor = boost::numeric_cast<num_type>( in scale_box_to_integer_range()
81 boost::numeric_cast<boost::long_long_type>(half + range / diff)); in scale_box_to_integer_range()
89 = boost::numeric_cast<boost::long_long_type>(-range / two); in scale_box_to_integer_range()
H A Dsegment_ratio.hpp149 boost::numeric_cast<fp_type>(m_numerator) * scale() in initialize()
150 / boost::numeric_cast<fp_type>(m_denominator) in initialize()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/envelope/
H A Dsegment.hpp274 >(radian_mbr, boost::numeric_cast<box_coordinate_type>(lon1)); in create_box()
279 >(radian_mbr, boost::numeric_cast<box_coordinate_type>(lat1)); in create_box()
284 >(radian_mbr, boost::numeric_cast<box_coordinate_type>(lon2)); in create_box()
289 >(radian_mbr, boost::numeric_cast<box_coordinate_type>(lat2)); in create_box()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/mpl/
H A Dnumeric_cast.hpp27 # define BOOST_MPL_AUX_NUMERIC_CAST numeric_cast
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/numeric/conversion/
H A Dcast.hpp39 inline Target numeric_cast( Source arg ) in numeric_cast() function
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/util/
H A Dmath.hpp345 >::apply(boost::numeric_cast<double>(value)); in apply()
482 return boost::numeric_cast<Result>(v); in apply()
502 return boost::numeric_cast<Result>(v < Source(0) ? in apply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/arithmetic/
H A Ddeterminant.hpp36 return boost::numeric_cast<ReturnType>(v); in rt()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/numeric/conversion/detail/
H A Dold_numeric_cast.hpp288 inline Target numeric_cast(Source arg BOOST_EXPLICIT_DEFAULT_TARGET) in numeric_cast() function
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/
H A Dstrategy_transform.hpp63 set<D>(dest, boost::numeric_cast<coordinate_type>(function(get<D>(source), value))); in transform()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/equals/
H A Dcollect_vectors.hpp101 boost::numeric_cast<T>(dx * dx + dy * dy)); in normalize()

12