Home
last modified time | relevance | path

Searched refs:coord_t (Results 1 – 25 of 46) sorted by relevance

12

/third_party/boost/boost/geometry/formulas/
Dgeographic.hpp97 typedef typename coordinate_type<PointGeo>::type coord_t; in cart3d_to_geo() typedef
126 coord_t lon = get<0>(res); in cart3d_to_geo()
127 coord_t lat = get<1>(res); in cart3d_to_geo()
132 coord_t in cart3d_to_geo()
144 typedef typename coordinate_type<Point3d>::type coord_t; in projected_to_xy() typedef
155 coord_t const c0 = 0; in projected_to_xy()
156 coord_t const e_sqr = formula::eccentricity_sqr<coord_t>(spheroid); in projected_to_xy()
170 typedef typename coordinate_type<Point3d>::type coord_t; in projected_to_surface() typedef
173 coord_t const c2 = 2; in projected_to_surface()
174 coord_t const c4 = 4; in projected_to_surface()
[all …]
Dspherical.hpp84 typedef typename coordinate_type<PointSph>::type coord_t; in cart3d_to_sph() typedef
97 coord_t lon = get<0>(res); in cart3d_to_sph()
98 coord_t lat = get<1>(res); in cart3d_to_sph()
103 coord_t in cart3d_to_sph()
/third_party/boost/boost/geometry/strategies/geographic/
Dintersection_elliptic.hpp52 typedef typename coordinate_type<Point3d>::type coord_t; typedef
64 coord_t cos_angle_between(Point3d const& p1, Point3d const& p2) const in cos_angle_between()
74 coord_t cos_angle_between(Point3d const& p1, Point3d const& p2, bool & is_forward) const in cos_angle_between()
76 coord_t const c0 = 0; in cos_angle_between()
101 typedef typename coordinate_type<Point3d>::type coord_t; in intersection_points() typedef
110 multiply_value(ip2, coord_t(-1)); in intersection_points()
143 typedef typename coordinate_type<Point3d>::type coord_t; typedef
157 coord_t cos_angle_between(Point3d const& p1, Point3d const& p2) const in cos_angle_between()
164 coord_t cos_angle_between(Point3d const& p1, Point3d const& p2, bool & is_forward) const in cos_angle_between()
166 coord_t const c0 = 0; in cos_angle_between()
/third_party/boost/libs/geometry/test/algorithms/relate/
Dnan_cases.hpp52 typedef typename bg::coordinate_type<Geometry>::type coord_t; in apply() typedef
53 coord_t nan = std::numeric_limits<coord_t>::quiet_NaN(); in apply()
88 typedef typename bg::coordinate_type<Geometry>::type coord_t; in apply() typedef
89 coord_t nan = std::numeric_limits<coord_t>::quiet_NaN(); in apply()
126 typedef typename bg::coordinate_type<Geometry>::type coord_t; typedef
128 static const bool value = boost::is_same<coord_t, double>::value
129 && std::numeric_limits<coord_t>::has_quiet_NaN;
/third_party/boost/boost/geometry/srs/projections/impl/
Dpj_transform.hpp121 typedef typename coordinate_type<point_type>::type coord_t; typedef
129 coord_t get_z(std::size_t i) { return detail::get_z(range::at(m_range, i)); } in get_z()
130 void set_z(std::size_t i, coord_t const& v) { return detail::set_z(range::at(m_range, i), v); } in set_z()
141 typedef typename coordinate_type<point_type>::type coord_t; typedef
145 , m_zs(boost::size(range), coord_t(0)) in range_wrapper()
150 coord_t get_z(std::size_t i) { return m_zs[i]; } in get_z()
151 void set_z(std::size_t i, coord_t const& v) { m_zs[i] = v; } in set_z()
155 std::vector<coord_t> m_zs;
238 typedef typename coordinate_type<point_type>::type coord_t; in pj_transform() typedef
571 coord_t x = get_as_radian<0>(point); in pj_transform()
[all …]
/third_party/boost/boost/gil/
Dlocator.hpp119 …using coord_t = typename std::iterator_traits<x_iterator>::difference_type; // 1D difference … typedef in boost::gil::pixel_2d_locator_base
120 using difference_type = point<coord_t>; // result of operator-(locator,locator)
124 using coord_t = typename detail::locator_axis<D,Loc>::coord_t; typedef
129 using x_coord_t = typename point_t::template axis<0>::coord_t;
130 using y_coord_t = typename point_t::template axis<1>::coord_t;
174 using coord_t = typename point_t::template axis<0>::coord_t; typedef in boost::gil::detail::locator_axis
187 using coord_t = typename point_t::template axis<1>::coord_t; typedef in boost::gil::detail::locator_axis
238 using coord_t = typename parent_t::coord_t; typedef in boost::gil::memory_based_2d_locator
256 …template <typename SI> memory_based_2d_locator(const memory_based_2d_locator<SI>& loc, coord_t y_s… in memory_based_2d_locator()
257 … memory_based_2d_locator(const memory_based_2d_locator<SI>& loc, coord_t x_step, coord_t y_step, b… in memory_based_2d_locator()
Dvirtual_locator.hpp51 using coord_t = typename parent_t::coord_t; typedef in boost::gil::virtual_2d_locator
77 virtual_2d_locator(virtual_2d_locator<D, TR> const &loc, coord_t y_step) in virtual_2d_locator()
82 …virtual_2d_locator(virtual_2d_locator<D, TR> const& loc, coord_t x_step, coord_t y_step, bool tran… in virtual_2d_locator()
Dimage_view.hpp60 using coord_t = typename Loc::coord_t; // 1D difference type (same for all dimensions) typedef in boost::gil::image_view
61 using difference_type = coord_t; // result of operator-(1d_iterator,1d_iterator)
67 … using coord_t = typename Loc::template axis<D>::coord_t; // difference_type along each dimension typedef
106 image_view(coord_t width, coord_t height, L2 const& loc) in image_view()
Dimage_view_factory.hpp265 typename View::coord_t x_min, in subimage_view()
266 typename View::coord_t y_min, in subimage_view()
267 typename View::coord_t width, in subimage_view()
268 typename View::coord_t height) in subimage_view()
280 auto subsampled_view(View const& src, typename View::coord_t x_step, typename View::coord_t y_step) in subsampled_view()
Dposition_iterator.hpp35 … typename Deref::argument_type::template axis<Dim>::coord_t> {
40 typename Deref::argument_type::template axis<Dim>::coord_t>;
Diterator_from_2d.hpp46 typename Loc2::coord_t> {
53 typename Loc2::coord_t>;
/third_party/boost/boost/geometry/arithmetic/
Dnormalize.hpp44 typedef typename coordinate_type<Point>::type coord_t; in vec_normalize() typedef
46 coord_t const c0 = 0; in vec_normalize()
61 typedef typename coordinate_type<Point>::type coord_t; in vec_normalize() typedef
62 coord_t len; in vec_normalize()
/third_party/boost/libs/geometry/test/strategies/
Dsegment_intersection_sph.hpp68 typedef typename bg::coordinate_type<P>::type coord_t; in test_strategy_one() typedef
73 bg::segment_intersection_points<P, bg::segment_ratio<coord_t> > in test_strategy_one()
117 coord_t denom_a0 = boost::get<0>(res).fractions[0].robust_ra.denominator(); in test_strategy_one()
118 coord_t denom_b0 = boost::get<0>(res).fractions[0].robust_rb.denominator(); in test_strategy_one()
122 BOOST_CHECK_MESSAGE(denom_a0 > coord_t(0), in test_strategy_one()
124 BOOST_CHECK_MESSAGE(denom_b0 > coord_t(0), in test_strategy_one()
130 coord_t denom_a1 = boost::get<0>(res).fractions[1].robust_ra.denominator(); in test_strategy_one()
131 coord_t denom_b1 = boost::get<0>(res).fractions[1].robust_rb.denominator(); in test_strategy_one()
135 BOOST_CHECK_MESSAGE(denom_a1 > coord_t(0), in test_strategy_one()
137 BOOST_CHECK_MESSAGE(denom_b1 > coord_t(0), in test_strategy_one()
/third_party/boost/libs/gil/test/core/point/
Dconcepts.cpp29 using coord_t = typename Point::template axis<0>::coord_t; in test_members() typedef
30 static_assert(std::is_same<value_t, coord_t>::value, in test_members()
/third_party/boost/boost/gil/concepts/
Dimage.hpp150 using coord_t = typename Image::coord_t; in constraints() typedef
153 static_assert(std::is_same<coord_t, typename Image::x_coord_t>::value, ""); in constraints()
154 static_assert(std::is_same<coord_t, typename Image::y_coord_t>::value, ""); in constraints()
Dpoint.hpp72 using FT = typename P::template axis<0>::coord_t; in constraints()
73 using LT = typename P::template axis<N - 1>::coord_t; in constraints()
Dpixel_locator.hpp149 typename point_t::template axis<0>::coord_t in constraints()
154 typename point_t::template axis<N-1>::coord_t in constraints()
298 using coord_t = typename Loc::coord_t; in constraints() typedef
Dimage_view.hpp140 typename point_t::template axis<0>::coord_t in constraints()
145 typename point_t::template axis<N-1>::coord_t in constraints()
386 using coord_t = typename View::coord_t; // 1D difference type (same for all dimensions) in constraints() typedef
/third_party/boost/libs/geometry/test/algorithms/
Dis_valid.cpp1249 typedef typename bg::coordinate_type<P>::type coord_t; in test_with_invalid_coordinate() typedef
1267 check_one<coord_t>(p); in test_with_invalid_coordinate()
1274 check_one<coord_t>(s); in test_with_invalid_coordinate()
1281 check_one<coord_t>(b); in test_with_invalid_coordinate()
1288 check_one<coord_t>(ls); in test_with_invalid_coordinate()
1295 check_one<coord_t>(r); in test_with_invalid_coordinate()
1302 check_one<coord_t>(pgn); in test_with_invalid_coordinate()
1309 check_one<coord_t>(mp); in test_with_invalid_coordinate()
1316 check_one<coord_t>(mls); in test_with_invalid_coordinate()
1323 check_one<coord_t>(mpgn); in test_with_invalid_coordinate()
[all …]
/third_party/boost/libs/graph/example/
Dstraight_line_drawing.cpp23 struct coord_t struct
79 typedef std::vector< coord_t > straight_line_drawing_storage_t; in main()
98 coord_t coord(get(straight_line_drawing, *vi)); in main()
/third_party/boost/libs/gil/test/core/image_processing/
Dsimple_kernels.cpp50 for (gil::gray32f_view_t::coord_t y = 0; static_cast<std::size_t>(y) < kernel.size(); ++y) in test_gaussian_kernel_generation()
52 for (gil::gray32f_view_t::coord_t x = 0; static_cast<std::size_t>(x) < kernel.size(); ++x) in test_gaussian_kernel_generation()
/third_party/boost/boost/gil/image_processing/
Dharris.hpp59 for (gil::gray32f_view_t::coord_t y_kernel = 0; in compute_harris_responses()
62 for (gil::gray32f_view_t::coord_t x_kernel = 0; in compute_harris_responses()
Dhessian.hpp53 for (typename OutputView::coord_t w_y = 0; w_y < weights.size(); ++w_y) in compute_hessian_responses()
55 for (typename OutputView::coord_t w_x = 0; w_x < weights.size(); ++w_x) in compute_hessian_responses()
/third_party/boost/boost/geometry/strategies/spherical/
Dintersection.hpp907 typedef typename coordinate_type<Point3d>::type coord_t; typedef
919 static coord_t cos_angle_between(Point3d const& p1, Point3d const& p2) in cos_angle_between()
924 coord_t cos_angle_between(Point3d const& p1, Point3d const& p2, bool & is_forward) const in cos_angle_between()
926 coord_t const c0 = 0; in cos_angle_between()
945 typedef typename coordinate_type<Point3d>::type coord_t; in intersection_points() typedef
952 coord_t const len = math::sqrt(dot_product(ip1, ip1)); in intersection_points()
956 multiply_value(ip2, coord_t(-1)); in intersection_points()
/third_party/boost/libs/graph/test/
Dis_straight_line_draw_test.cpp20 struct coord_t struct
32 typedef std::vector< coord_t > drawing_storage_t; in main() argument

12