Home
last modified time | relevance | path

Searched refs:point_t (Results 1 – 25 of 139) sorted by relevance

123456

/third_party/boost/libs/geometry/test/strategies/
Dsegment_intersection_geo.cpp18 typedef bg::model::point<double, 2, bg::cs::geographic<bg::degree> > point_t; in test_geographic() typedef
19 typedef bg::model::segment<point_t> segment_t; in test_geographic()
21 test_all_strategies<segment_t, point_t>( in test_geographic()
23 test_all_strategies<segment_t, point_t>( in test_geographic()
25 test_all_strategies<segment_t, point_t>( in test_geographic()
27 test_all_strategies<segment_t, point_t>( in test_geographic()
29 test_all_strategies<segment_t, point_t>( in test_geographic()
31 test_all_strategies<segment_t, point_t>( in test_geographic()
33 test_all_strategies<segment_t, point_t>( in test_geographic()
35 test_all_strategies<segment_t, point_t>( in test_geographic()
[all …]
Dsegment_intersection_sph.cpp32 typedef bg::model::point<double, 2, bg::cs::spherical_equatorial<bg::degree> > point_t; in test_spherical() typedef
33 typedef bg::model::segment<point_t> segment_t; in test_spherical()
36 test_spherical_strategy<segment_t, point_t>( in test_spherical()
38 test_spherical_strategy<segment_t, point_t>( in test_spherical()
40 test_spherical_strategy<segment_t, point_t>( in test_spherical()
42 test_spherical_strategy<segment_t, point_t>( in test_spherical()
45 test_spherical_strategy<segment_t, point_t>( in test_spherical()
47 test_spherical_strategy<segment_t, point_t>( in test_spherical()
49 test_spherical_strategy<segment_t, point_t>( in test_spherical()
51 test_spherical_strategy<segment_t, point_t>( in test_spherical()
[all …]
/third_party/boost/libs/geometry/doc/src/examples/geometries/
Dmulti_polygon.cpp22 typedef bg::model::point<double, 2, bg::cs::cartesian> point_t; in main() typedef
23 …typedef bg::model::polygon<point_t> polygon_t; /*< Default parameters, clockwise, closed polygon. … in main()
39 …bg::append(mpoly1[0].outer(), point_t(0.0, 0.0)); /*< Append point to the exterior ring of the fir… in main()
40 bg::append(mpoly1[0].outer(), point_t(0.0, 5.0)); in main()
41 bg::append(mpoly1[0].outer(), point_t(5.0, 5.0)); in main()
42 bg::append(mpoly1[0].outer(), point_t(5.0, 0.0)); in main()
43 bg::append(mpoly1[0].outer(), point_t(0.0, 0.0)); in main()
46 …bg::append(mpoly1[0].inners()[0], point_t(1.0, 1.0)); /*< Append point to the interior ring of the… in main()
47 bg::append(mpoly1[0].inners()[0], point_t(4.0, 1.0)); in main()
48 bg::append(mpoly1[0].inners()[0], point_t(4.0, 4.0)); in main()
[all …]
Dpolygon.cpp22 typedef bg::model::point<double, 2, bg::cs::cartesian> point_t; in main() typedef
23 …typedef bg::model::polygon<point_t> polygon_t; /*< Default parameters, clockwise, closed polygon. … in main()
35 bg::append(poly1.outer(), point_t(0.0, 0.0)); /*< Append point to the exterior ring. >*/ in main()
36 bg::append(poly1.outer(), point_t(0.0, 5.0)); in main()
37 bg::append(poly1.outer(), point_t(5.0, 5.0)); in main()
38 bg::append(poly1.outer(), point_t(5.0, 0.0)); in main()
39 bg::append(poly1.outer(), point_t(0.0, 0.0)); in main()
42 bg::append(poly1.inners()[0], point_t(1.0, 1.0)); /*< Append point to the interior ring. >*/ in main()
43 bg::append(poly1.inners()[0], point_t(4.0, 1.0)); in main()
44 bg::append(poly1.inners()[0], point_t(4.0, 4.0)); in main()
[all …]
Dring.cpp22 typedef bg::model::point<double, 2, bg::cs::cartesian> point_t; in main() typedef
23 typedef bg::model::ring<point_t> ring_t; /*< Default parameters, clockwise, closed ring. >*/ in main()
34 bg::append(ring1, point_t(0.0, 0.0)); /*< Append point. >*/ in main()
35 bg::append(ring1, point_t(0.0, 5.0)); in main()
36 bg::append(ring1, point_t(5.0, 5.0)); in main()
37 bg::append(ring1, point_t(5.0, 0.0)); in main()
38 bg::append(ring1, point_t(0.0, 0.0)); in main()
Dmulti_linestring.cpp22 typedef bg::model::point<double, 2, bg::cs::cartesian> point_t; in main() typedef
23 typedef bg::model::linestring<point_t> linestring_t; in main()
38 bg::append(mls1[0], point_t(0.0, 0.0)); /*< Append point to the first linestring. >*/ in main()
39 bg::append(mls1[0], point_t(0.0, 1.0)); in main()
40 bg::append(mls1[0], point_t(2.0, 1.0)); in main()
42 bg::append(mls1[1], point_t(1.0, 0.0)); /*< Append point to the second linestring. >*/ in main()
43 bg::append(mls1[1], point_t(2.0, 0.0)); in main()
Dlinestring.cpp22 typedef bg::model::point<double, 2, bg::cs::cartesian> point_t; in main() typedef
23 typedef bg::model::linestring<point_t> linestring_t; in main()
34 bg::append(ls1, point_t(0.0, 0.0)); /*< Append point. >*/ in main()
35 bg::append(ls1, point_t(1.0, 0.0)); in main()
36 bg::append(ls1, point_t(1.0, 2.0)); in main()
Dmulti_point.cpp22 typedef bg::model::point<double, 2, bg::cs::cartesian> point_t; in main() typedef
23 typedef bg::model::multi_point<point_t> mpoint_t; in main()
34 bg::append(mpt1, point_t(0.0, 0.0)); /*< Append point to the multi_point. >*/ in main()
35 bg::append(mpt1, point_t(1.0, 1.0)); in main()
36 bg::append(mpt1, point_t(2.0, 2.0)); in main()
/third_party/harfbuzz/src/
Dhb-cff-interp-cs-common.hh95 struct point_t struct
112 void move (const point_t &d) { move_x (d.x); move_y (d.y); } in move() argument
202 const point_t &get_pt () const { return pt; } in get_pt()
204 void moveto (const point_t &pt_ ) { pt = pt_; } in moveto()
220 point_t pt;
241 static void moveto (ENV &env, PARAM& param, const point_t &pt) {} in moveto()
242 static void line (ENV &env, PARAM& param, const point_t &pt1) {} in line()
243 …static void curve (ENV &env, PARAM& param, const point_t &pt1, const point_t &pt2, const point_t &… in curve()
467 point_t pt1 = env.get_pt (); in rmoveto()
476 point_t pt1 = env.get_pt (); in hmoveto()
[all …]
Dhb-ot-cff2-table.cc52 void update_bounds (const point_t &pt) in update_bounds()
69 static void moveto (cff2_cs_interp_env_t &env, cff2_extents_param_t& param, const point_t &pt) in moveto()
75 static void line (cff2_cs_interp_env_t &env, cff2_extents_param_t& param, const point_t &pt1) in line()
86 …nterp_env_t &env, cff2_extents_param_t& param, const point_t &pt1, const point_t &pt2, const point… in curve()
155 void move_to (const point_t &p) in move_to()
158 void line_to (const point_t &p) in line_to()
161 void cubic_to (const point_t &p1, const point_t &p2, const point_t &p3) in cubic_to()
175 static void moveto (cff2_cs_interp_env_t &env, cff2_path_param_t& param, const point_t &pt) in moveto()
181 static void line (cff2_cs_interp_env_t &env, cff2_path_param_t& param, const point_t &pt1) in line()
187 …s_interp_env_t &env, cff2_path_param_t& param, const point_t &pt1, const point_t &pt2, const point… in curve()
Dhb-ot-cff1-table.cc276 void update (const point_t &pt) in update()
297 void offset (const point_t &delta) in offset()
308 point_t min;
309 point_t max;
333 static void moveto (cff1_cs_interp_env_t &env, cff1_extents_param_t& param, const point_t &pt) in moveto()
339 static void line (cff1_cs_interp_env_t &env, cff1_extents_param_t& param, const point_t &pt1) in line()
350 …nterp_env_t &env, cff1_extents_param_t& param, const point_t &pt1, const point_t &pt2, const point… in curve()
372 point_t delta; in process_seac()
449 draw_helper_t &draw_helper_, point_t *delta_) in cff1_path_param_t()
457 void move_to (const point_t &p) in move_to()
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-cff-interp-cs-common.hh95 struct point_t struct
112 void move (const point_t &d) { move_x (d.x); move_y (d.y); } in move() argument
202 const point_t &get_pt () const { return pt; } in get_pt()
204 void moveto (const point_t &pt_ ) { pt = pt_; } in moveto()
220 point_t pt;
241 static void moveto (ENV &env, PARAM& param, const point_t &pt) {} in moveto()
242 static void line (ENV &env, PARAM& param, const point_t &pt1) {} in line()
243 …static void curve (ENV &env, PARAM& param, const point_t &pt1, const point_t &pt2, const point_t &… in curve()
467 point_t pt1 = env.get_pt (); in rmoveto()
476 point_t pt1 = env.get_pt (); in hmoveto()
[all …]
Dhb-ot-cff2-table.cc52 void update_bounds (const point_t &pt) in update_bounds()
69 static void moveto (cff2_cs_interp_env_t &env, cff2_extents_param_t& param, const point_t &pt) in moveto()
75 static void line (cff2_cs_interp_env_t &env, cff2_extents_param_t& param, const point_t &pt1) in line()
86 …nterp_env_t &env, cff2_extents_param_t& param, const point_t &pt1, const point_t &pt2, const point… in curve()
155 void move_to (const point_t &p) in move_to()
158 void line_to (const point_t &p) in line_to()
161 void cubic_to (const point_t &p1, const point_t &p2, const point_t &p3) in cubic_to()
175 static void moveto (cff2_cs_interp_env_t &env, cff2_path_param_t& param, const point_t &pt) in moveto()
181 static void line (cff2_cs_interp_env_t &env, cff2_path_param_t& param, const point_t &pt1) in line()
187 …s_interp_env_t &env, cff2_path_param_t& param, const point_t &pt1, const point_t &pt2, const point… in curve()
Dhb-ot-cff1-table.cc276 void update (const point_t &pt) in update()
297 void offset (const point_t &delta) in offset()
308 point_t min;
309 point_t max;
333 static void moveto (cff1_cs_interp_env_t &env, cff1_extents_param_t& param, const point_t &pt) in moveto()
339 static void line (cff1_cs_interp_env_t &env, cff1_extents_param_t& param, const point_t &pt1) in line()
350 …nterp_env_t &env, cff1_extents_param_t& param, const point_t &pt1, const point_t &pt2, const point… in curve()
372 point_t delta; in process_seac()
449 draw_helper_t &draw_helper_, point_t *delta_) in cff1_path_param_t()
457 void move_to (const point_t &p) in move_to()
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-cff-interp-cs-common.hh95 struct point_t struct
112 void move (const point_t &d) { move_x (d.x); move_y (d.y); } in move() argument
202 const point_t &get_pt () const { return pt; } in get_pt()
204 void moveto (const point_t &pt_ ) { pt = pt_; } in moveto()
220 point_t pt;
241 static void moveto (ENV &env, PARAM& param, const point_t &pt) {} in moveto()
242 static void line (ENV &env, PARAM& param, const point_t &pt1) {} in line()
243 …static void curve (ENV &env, PARAM& param, const point_t &pt1, const point_t &pt2, const point_t &… in curve()
467 point_t pt1 = env.get_pt (); in rmoveto()
476 point_t pt1 = env.get_pt (); in hmoveto()
[all …]
/third_party/boost/libs/geometry/index/test/rtree/
Drtree_insert_remove.cpp18 typedef bg::model::point<int, 1, bg::cs::cartesian> point_t; in test_rtree() typedef
20 bgi::rtree<point_t, Params> rt; in test_rtree()
22 BOOST_CHECK(rt.remove(point_t(0)) == 0); in test_rtree()
26 rt.insert(point_t(static_cast<int>(i))); in test_rtree()
30 BOOST_CHECK(rt.count(point_t(vcount / 2)) == 1); in test_rtree()
34 rt.remove(point_t((i + 3) % vcount)); in test_rtree()
38 BOOST_CHECK(rt.count(point_t(vcount / 2)) == 0); in test_rtree()
42 rt.insert(point_t((i + 5) % vcount)); in test_rtree()
46 BOOST_CHECK(rt.count(point_t(vcount / 2)) == 1); in test_rtree()
50 rt.remove(point_t((i + 7) % vcount)); in test_rtree()
[all …]
Drtree_epsilon.cpp24 typedef bg::model::point<double, 2, bg::cs::cartesian> point_t; in test_rtree() typedef
26 std::vector<point_t> values; in test_rtree()
29 values.push_back(point_t(eps/2, eps/2)); in test_rtree()
33 values.push_back(point_t(i, i)); in test_rtree()
36 point_t qpt(0, 0); in test_rtree()
41 bgi::rtree<point_t, Params> rt(values); in test_rtree()
43 std::vector<point_t> result; in test_rtree()
55 bgi::rtree<point_t, Params> rt; in test_rtree()
58 std::vector<point_t> result; in test_rtree()
Drtree_non_cartesian.cpp89 typedef typename pair_t::first_type point_t; in test_ticket_12413() typedef
92 rtree.insert(std::make_pair(point_t(-1.558444, 52.38664), 792)); in test_ticket_12413()
93 rtree.insert(std::make_pair(point_t(-1.558444, 52.38664), 793)); in test_ticket_12413()
94 rtree.insert(std::make_pair(point_t(-2.088824, 51.907406), 800)); in test_ticket_12413()
95 rtree.insert(std::make_pair(point_t(-1.576363, 53.784089), 799)); in test_ticket_12413()
96 rtree.insert(std::make_pair(point_t(-77.038816, 38.897282), 801)); in test_ticket_12413()
97 rtree.insert(std::make_pair(point_t(-1.558444, 52.38664), 794)); in test_ticket_12413()
98 rtree.insert(std::make_pair(point_t(-0.141588, 51.501009), 797)); in test_ticket_12413()
99 rtree.insert(std::make_pair(point_t(-118.410468, 34.103003), 798)); in test_ticket_12413()
100 rtree.insert(std::make_pair(point_t(-0.127592, 51.503407), 796)); in test_ticket_12413()
[all …]
/third_party/boost/libs/gil/doc/html/_downloads/
Dmandelbrot.cpp20 using point_t = boost::gil::point_t; typedef
25 using argument_type = point_t;
30 point_t _img_size;
34 …mandelbrot_fn(const point_t& sz, const value_type& in_color, const value_type& out_color) : _in_co… in mandelbrot_fn()
36 result_type operator()(const point_t& p) const { in operator ()()
63 using point_t = deref_t::point_t; in main() typedef
70 point_t dims(200,200); in main()
71 …my_virt_view_t mandel(dims, locator_t(point_t(0,0), point_t(1,1), deref_t(dims, rgb8_pixel_t(255,0… in main()
/third_party/boost/libs/gil/example/
Dmandelbrot.cpp20 using point_t = boost::gil::point_t; typedef
25 using argument_type = point_t;
30 point_t _img_size;
34 …mandelbrot_fn(const point_t& sz, const value_type& in_color, const value_type& out_color) : _in_co… in mandelbrot_fn()
36 result_type operator()(const point_t& p) const { in operator ()()
63 using point_t = deref_t::point_t; in main() typedef
70 point_t dims(200,200); in main()
71 …my_virt_view_t mandel(dims, locator_t(point_t(0,0), point_t(1,1), deref_t(dims, rgb8_pixel_t(255,0… in main()
/third_party/boost/boost/gil/extension/toolbox/image_types/
Dsubchroma_image.hpp80 using argument_type = point_t;
99 result_type operator()( const point_t& p ) const in operator ()()
231 subchroma_image_view( const point_t& y_dimensions in subchroma_image_view()
232 , const point_t& v_dimensions in subchroma_image_view()
233 , const point_t& u_dimensions in subchroma_image_view()
248 …const point_t& v_ssfactors() const { return point_t( get_deref_fn().vx_ssfactor(), get_deref_fn().… in v_ssfactors()
249 …const point_t& u_ssfactors() const { return point_t( get_deref_fn().ux_ssfactor(), get_deref_fn().… in u_ssfactors()
251 const point_t& y_dimension() const { return _y_dimensions; } in y_dimension()
252 const point_t& v_dimension() const { return _v_dimensions; } in v_dimension()
253 const point_t& u_dimension() const { return _u_dimensions; } in u_dimension()
[all …]
/third_party/boost/libs/gil/test/extension/io/
Dmandel_view.hpp22 using point_t = gil::point_t; typedef
27 using argument_type = point_t;
33 point_t img_size_;
37 mandelbrot_fn(gil::point_t const& sz, value_type const& in_color, value_type const& out_color) in mandelbrot_fn()
51 result_type operator()(gil::point_t const& p) const in operator ()()
99 gil::point_t dims(width, height); in create_mandel_view()
100 return view_t(dims, locator_t(gil::point_t(0, 0), gil::point_t(1, 1), deref_t(dims, in, out))); in create_mandel_view()
Dtiff_subimage_test.cpp46 point_t top_left( 10, 10 ); \
47 point_t dim( 32, 32 ); \
70 point_t top_left( 10, 10 ); in BOOST_AUTO_TEST_CASE()
71 point_t dim( 32, 32 ); in BOOST_AUTO_TEST_CASE()
87 point_t top_left( 10, 10 ); in BOOST_AUTO_TEST_CASE()
88 point_t dim( 32, 32 ); in BOOST_AUTO_TEST_CASE()
105 point_t top_left( 10, 10 ); in BOOST_AUTO_TEST_CASE()
106 point_t dim( 32, 32 ); in BOOST_AUTO_TEST_CASE()
/third_party/boost/boost/gil/io/
Dbase.hpp47 image_read_settings_base( const point_t& top_left in image_read_settings_base()
48 , const point_t& dim in image_read_settings_base()
57 void set( const point_t& top_left in set()
58 , const point_t& dim in set()
67 point_t _top_left;
68 point_t _dim;
/third_party/boost/boost/gil/
Dimage.hpp51 using point_t = typename view_t::point_t; typedef in boost::gil::image
57 const point_t& dimensions() const { return _view.dimensions(); } in dimensions()
66 image(const point_t& dimensions, in image()
79 allocate_and_default_construct(point_t(width,height)); in image()
82 image(const point_t& dimensions, in image()
97 allocate_and_fill(point_t(width,height),p_in); in image()
239 void recreate(const point_t& dims, std::size_t alignment = 0) in recreate()
261 recreate(point_t(width, height), alignment); in recreate()
264 void recreate(const point_t& dims, const Pixel& p_in, std::size_t alignment = 0) in recreate()
286 recreate( point_t( width, height ), p_in, alignment ); in recreate()
[all …]

123456