Home
last modified time | relevance | path

Searched refs:coordinate_type (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/third_party/boost/boost/polygon/
Dpolygon_90_set_data.hpp36 typedef T coordinate_type; typedef in boost::polygon::polygon_90_set_data
37 typedef std::vector<std::pair<coordinate_type, std::pair<coordinate_type, int> > > value_type;
38 …typedef typename std::vector<std::pair<coordinate_type, std::pair<coordinate_type, int> > >::const…
121 …line void insert(const std::pair<std::pair<point_data<coordinate_type>, point_data<coordinate_type in insert() argument
123 std::pair<coordinate_type, std::pair<coordinate_type, int> > vertex; in insert()
141 …inline void insert(const std::pair<coordinate_type, std::pair<coordinate_type, int> >& vertex, boo… in insert() argument
150 …inline void insert(coordinate_type major_coordinate, const std::pair<interval_data<coordinate_type in insert() argument
151 std::pair<coordinate_type, std::pair<coordinate_type, int> > vertex; in insert()
188 polygon_90_set_data<coordinate_type> ps(*this); in get_rectangles()
334 … set_points(extents_rectangle, point_data<coordinate_type>(data_[0].second.first, data_[0].first), in extents()
[all …]
Dpolygon_90_set_concept.hpp70 polygon_90_set_data<typename polygon_90_set_traits<polygon_set_type_1>::coordinate_type> ps1; in equivalence()
72 polygon_90_set_data<typename polygon_90_set_traits<polygon_set_type_2>::coordinate_type> ps2; in equivalence()
84 …polygon_90_set_data<typename polygon_90_set_traits<polygon_set_type>::coordinate_type> ps(VERTICAL… in get_rectangles()
95 polygon_90_set_data<typename polygon_90_set_traits<polygon_set_type>::coordinate_type> ps; in get_rectangles()
110 …std::vector<rectangle_data<typename polygon_90_set_traits<polygon_set_type>::coordinate_type> > re… in get_max_rectangles()
112 …MaxCover<typename polygon_90_set_traits<polygon_set_type>::coordinate_type>::getMaxCover(output, r… in get_max_rectangles()
120 …polygon_90_set_data<typename polygon_90_set_traits<polygon_set_type>::coordinate_type> ps(scanline… in clear()
130 polygon_90_set_data<typename polygon_90_set_traits<polygon_set_type>::coordinate_type> ps; in empty()
143 typedef typename polygon_90_set_traits<polygon_set_type>::coordinate_type Unit; in extents()
152 … coordinate_traits<typename polygon_90_set_traits<polygon_set_type>::coordinate_type>::manhattan_a…
[all …]
Dpolygon_45_set_concept.hpp62 polygon_45_set_data<typename polygon_45_set_traits<polygon_set_type>::coordinate_type> ps; in get_trapezoids()
73 polygon_45_set_data<typename polygon_45_set_traits<polygon_set_type>::coordinate_type> ps; in get_trapezoids()
87 polygon_45_set_data<typename polygon_45_set_traits<polygon_set_type_1>::coordinate_type> ps1; in equivalence()
89 polygon_45_set_data<typename polygon_45_set_traits<polygon_set_type_2>::coordinate_type> ps2; in equivalence()
99 polygon_45_set_data<typename polygon_45_set_traits<polygon_set_type>::coordinate_type> ps; in clear()
109 polygon_45_set_data<typename polygon_45_set_traits<polygon_set_type>::coordinate_type> ps; in empty()
124 polygon_45_set_data<typename polygon_45_set_traits<polygon_set_type>::coordinate_type> ps; in extents()
132 … coordinate_traits<typename polygon_45_set_traits<polygon_set_type>::coordinate_type>::area_type>:…
134 typedef typename polygon_45_set_traits<polygon_set_type>::coordinate_type Unit; in area()
153 typedef typename polygon_45_set_traits<polygon_set_type_1>::coordinate_type Unit; in interact()
[all …]
Dpoint_data.hpp24 typedef T coordinate_type; typedef in boost::polygon::point_data
32 point_data(coordinate_type x, coordinate_type y) { in point_data()
70 coords_[HORIZONTAL] = (coordinate_type)that.x(); in point_data()
71 coords_[VERTICAL] = (coordinate_type)that.y(); in point_data()
74 coordinate_type get(orientation_2d orient) const { in get()
78 void set(orientation_2d orient, coordinate_type value) { in set()
82 coordinate_type x() const { in x()
86 point_data& x(coordinate_type value) { in x()
91 coordinate_type y() const { in y()
95 point_data& y(coordinate_type value) { in y()
[all …]
Dpolygon_set_data.hpp41 typedef T coordinate_type; typedef in boost::polygon::polygon_set_data
131 …n_45_with_holes_data<typename polygon_45_set_traits<polygon_45_set_type>::coordinate_type> > polys; in insert()
138 …n_90_with_holes_data<typename polygon_90_set_traits<polygon_90_set_type>::coordinate_type> > polys; in insert()
174 polygon_90_data<coordinate_type> poly; in insert()
180 if( ! scanline_base<coordinate_type>::is_45_degree(edge.first) && in insert_clean()
181 ! scanline_base<coordinate_type>::is_horizontal(edge.first) && in insert_clean()
182 ! scanline_base<coordinate_type>::is_vertical(edge.first) ) is_45_ = false; in insert_clean()
244 trapezoid_arbitrary_formation<coordinate_type> pf; in get_trapezoids()
245 … typedef typename polygon_arbitrary_formation<coordinate_type>::vertex_half_edge vertex_half_edge; in get_trapezoids()
359 …resize(coordinate_type resizing, bool corner_fill_arc = false, unsigned int num_circle_segments=0);
[all …]
Dinterval_traits.hpp23 typedef typename interval_type::coordinate_type coordinate_type; typedef
25 static coordinate_type get(const interval_type& interval, direction_1d dir) { in get()
33 typedef typename interval_type::coordinate_type coordinate_type; typedef
36 interval_type& interval, direction_1d dir, coordinate_type value) { in set()
40 static interval_type construct(coordinate_type low, coordinate_type high) { in construct()
Dpoint_traits.hpp23 typedef typename point_type::coordinate_type coordinate_type; typedef
25 static coordinate_type get( in get()
34 typedef typename point_type::coordinate_type coordinate_type; typedef
37 point_type& point, orientation_2d orient, coordinate_type value) { in set()
41 static point_type construct(coordinate_type x, coordinate_type y) { in construct()
Dinterval_data.hpp24 typedef T coordinate_type; typedef in boost::polygon::interval_data
32 interval_data(coordinate_type low, coordinate_type high) { in interval_data()
54 coordinate_type get(direction_1d dir) const { in get()
58 void set(direction_1d dir, coordinate_type value) { in set()
62 coordinate_type low() const { in low()
66 interval_data& low(coordinate_type value) { in low()
71 coordinate_type high() const { in high()
75 interval_data& high(coordinate_type value) { in high()
108 coordinate_type coords_[2];
Dtransform.hpp226 template <typename coordinate_type>
227 void transform(coordinate_type& x, coordinate_type& y) const { in transform()
327 template <typename coordinate_type>
328 void scale(coordinate_type& x, coordinate_type& y) const { in scale()
329 x = scaling_policy<coordinate_type>::round( in scale()
331 y = scaling_policy<coordinate_type>::round( in scale()
350 template <typename coordinate_type>
373 transformation<coordinate_type> tmp(referencePt); in transformation()
374 transformation<coordinate_type> rotRef(atr); in transformation()
375 transformation<coordinate_type> tmpInverse = tmp.inverse(); in transformation()
[all …]
/third_party/boost/boost/polygon/detail/
Dvoronoi_structures.hpp26 typedef T coordinate_type; typedef in boost::polygon::detail::point_2d
30 point_2d(coordinate_type x, coordinate_type y) : in point_2d()
42 coordinate_type x() const { in x()
46 coordinate_type y() const { in y()
50 point_2d& x(coordinate_type x) { in x()
55 point_2d& y(coordinate_type y) { in y()
61 coordinate_type x_;
62 coordinate_type y_;
89 typedef T coordinate_type; typedef in boost::polygon::detail::site_event
98 site_event(coordinate_type x, coordinate_type y) : in site_event()
[all …]
Dpolygon_set_view.hpp13 template <typename coordinate_type>
14 inline void polygon_set_data<coordinate_type>::clean() const { in clean()
34 arbitrary_boolean_op<coordinate_type> abo; in clean()
35 polygon_set_data<coordinate_type> tmp2; in clean()
65 typedef typename polygon_set_view<ltype, rtype, op_type>::coordinate_type coordinate_type; typedef
96 typedef typename polygon_set_traits<ltype>::coordinate_type coordinate_type; in execute_boolean_op() typedef
101 polygon_45_set_data<coordinate_type> l45, r45, o45; in execute_boolean_op()
119 arbitrary_boolean_op<coordinate_type> abo; in execute_boolean_op()
128 typedef typename polygon_set_traits<ltype>::coordinate_type coordinate_type; typedef in boost::polygon::polygon_set_view
129 typedef polygon_set_data<coordinate_type> value_type;
[all …]
/third_party/spirv-tools/source/fuzz/
Dfuzzer_pass_add_image_sample_unused_components.cpp94 auto coordinate_type = GetIRContext()->get_type_mgr()->GetType( in Apply() local
99 if (coordinate_type->AsVector() && in Apply()
100 coordinate_type->AsVector()->element_count() == 4) { in Apply()
110 coordinate_type->AsInteger() || coordinate_type->AsFloat() in Apply()
112 : 4 - coordinate_type->AsVector()->element_count(); in Apply()
128 coordinate_type->AsInteger() || coordinate_type->AsFloat() in Apply()
131 coordinate_type->AsVector()->element_type()); in Apply()
141 coordinate_type->AsInteger() || coordinate_type->AsFloat() in Apply()
146 coordinate_type->AsVector()->element_type()), in Apply()
157 coordinate_type = GetIRContext()->get_type_mgr()->GetType( in Apply()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_image_sample_unused_components.cpp95 auto coordinate_type = GetIRContext()->get_type_mgr()->GetType( in Apply() local
100 if (coordinate_type->AsVector() && in Apply()
101 coordinate_type->AsVector()->element_count() == 4) { in Apply()
111 coordinate_type->AsInteger() || coordinate_type->AsFloat() in Apply()
113 : 4 - coordinate_type->AsVector()->element_count(); in Apply()
129 coordinate_type->AsInteger() || coordinate_type->AsFloat() in Apply()
132 coordinate_type->AsVector()->element_type()); in Apply()
142 coordinate_type->AsInteger() || coordinate_type->AsFloat() in Apply()
147 coordinate_type->AsVector()->element_type()), in Apply()
158 coordinate_type = GetIRContext()->get_type_mgr()->GetType( in Apply()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_pass_add_image_sample_unused_components.cpp95 auto coordinate_type = GetIRContext()->get_type_mgr()->GetType( in Apply() local
100 if (coordinate_type->AsVector() && in Apply()
101 coordinate_type->AsVector()->element_count() == 4) { in Apply()
111 coordinate_type->AsInteger() || coordinate_type->AsFloat() in Apply()
113 : 4 - coordinate_type->AsVector()->element_count(); in Apply()
129 coordinate_type->AsInteger() || coordinate_type->AsFloat() in Apply()
132 coordinate_type->AsVector()->element_type()); in Apply()
142 coordinate_type->AsInteger() || coordinate_type->AsFloat() in Apply()
147 coordinate_type->AsVector()->element_type()), in Apply()
158 coordinate_type = GetIRContext()->get_type_mgr()->GetType( in Apply()
[all …]
/third_party/boost/libs/geometry/test/robustness/overlay/areal_areal/
Dintersection_stars.cpp27 typename bg::coordinate_type<Polygon>::type, in make_star()
29 >::type coordinate_type; in make_star() typedef
32 coordinate_type cx = 25.0; in make_star()
33 coordinate_type cy = 25.0; in make_star()
35 coordinate_type dx = 50.0; in make_star()
36 coordinate_type dy = 50.0; in make_star()
38 coordinate_type half = 0.5; in make_star()
39 coordinate_type two = 2.0; in make_star()
41 coordinate_type a1 = coordinate_type(factor1) * half * dx; in make_star()
42 coordinate_type b1 = coordinate_type(factor1) * half * dy; in make_star()
[all …]
Drandom_ellipses_stars.cpp49 typename bg::coordinate_type<Polygon>::type, in make_star()
51 >::type coordinate_type; in make_star() typedef
54 coordinate_type cx = 25.0; in make_star()
55 coordinate_type cy = 25.0; in make_star()
57 coordinate_type dx = 50.0; in make_star()
58 coordinate_type dy = 50.0; in make_star()
60 coordinate_type half = 0.5; in make_star()
61 coordinate_type two = 2.0; in make_star()
63 coordinate_type a1 = coordinate_type(p.factor_1) * half * dx; in make_star()
64 coordinate_type b1 = coordinate_type(p.factor_1) * half * dy; in make_star()
[all …]
Dintersection_pies.cpp24 typename bg::coordinate_type<Polygon>::type, in make_pie()
26 >::type coordinate_type; in make_pie() typedef
29 coordinate_type cx = 2500.0; in make_pie()
30 coordinate_type cy = 2500.0 + offset_y; in make_pie()
34 coordinate_type const dx = 5000.0; in make_pie()
35 coordinate_type const dy = 5000.0; in make_pie()
37 coordinate_type const half = 0.5; in make_pie()
38 coordinate_type const two = 2.0; in make_pie()
40 coordinate_type const a = coordinate_type(factor1) * half * dx; in make_pie()
41 coordinate_type const b = coordinate_type(factor1) * half * dy; in make_pie()
[all …]
/third_party/boost/boost/geometry/index/detail/
Dbounded_view.hpp69 typedef typename geometry::coordinate_type<Box>::type coordinate_type; typedef
76 inline coordinate_type get_min() const in get_min()
78 return boost::numeric_cast<coordinate_type>( in get_min()
84 inline coordinate_type get_max() const in get_max()
86 return boost::numeric_cast<coordinate_type>( in get_max()
111 typedef typename geometry::coordinate_type<Box>::type coordinate_type; typedef
119 inline coordinate_type get_min() const in get_min()
125 inline coordinate_type get_max() const in get_max()
140 typedef typename geometry::coordinate_type<Box>::type coordinate_type; typedef
147 inline coordinate_type get_min() const in get_min()
[all …]
/third_party/boost/boost/geometry/algorithms/detail/
Dassign_values.hpp58 static inline void apply(Box& box, typename coordinate_type<Box>::type const& value) in apply()
70 static inline void apply(Box&, typename coordinate_type<Box>::type const&) in apply()
92 typedef typename coordinate_type<point_type>::type bound_type; in apply()
110 typedef typename coordinate_type<BoxOrSegment>::type coordinate_type; in apply() typedef
113 geometry, coordinate_type() in apply()
116 geometry, coordinate_type() in apply()
134 typedef typename coordinate_type<Point>::type coordinate_type; in assign_box_2d_corner() typedef
136 geometry::set<0>(point, boost::numeric_cast<coordinate_type>(get<Corner1, 0>(box))); in assign_box_2d_corner()
137 geometry::set<1>(point, boost::numeric_cast<coordinate_type>(get<Corner2, 1>(box))); in assign_box_2d_corner()
155 typename coordinate_type<Geometry>::type in apply()
[all …]
/third_party/boost/libs/geometry/test/core/
Daccess.cpp41 typedef typename bg::coordinate_type<G>::type coordinate_type; in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS() typedef
44 bg::set<0>(g, coordinate_type(1)); in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS()
45 bg::set<1>(g, coordinate_type(2)); in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS()
47 coordinate_type x = bg::get<0>(g); in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS()
48 coordinate_type y = bg::get<1>(g); in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS()
62 typedef typename bg::coordinate_type<G>::type coordinate_type; in test_indexed_get_set() typedef
63 coordinate_type x1 = bg::get<0, 0>(g); in test_indexed_get_set()
64 coordinate_type y1 = bg::get<0, 1>(g); in test_indexed_get_set()
65 coordinate_type x2 = bg::get<1, 0>(g); in test_indexed_get_set()
66 coordinate_type y2 = bg::get<1, 1>(g); in test_indexed_get_set()
[all …]
/third_party/boost/boost/geometry/core/
Dradian_access.hpp48 typedef typename fp_coordinate_type<Geometry>::type coordinate_type; typedef
50 static inline coordinate_type get(Geometry const& geometry) in get()
54 coordinate_type in get()
56 * math::d2r<coordinate_type>()); in get()
59 static inline void set(Geometry& geometry, coordinate_type const& radians) in set()
63 coordinate_type in set()
64 >(radians * math::r2d<coordinate_type>())); in set()
74 typedef typename fp_coordinate_type<Geometry>::type coordinate_type; typedef
76 static inline coordinate_type get(Geometry const& geometry) in get()
81 static inline void set(Geometry& geometry, coordinate_type const& radians) in set()
[all …]
Dcoordinate_type.hpp41 struct coordinate_type struct
56 struct coordinate_type struct
61 typedef typename coordinate_type<point_tag, point_type>::type type; argument
65 struct coordinate_type<point_tag, Point> struct
67 typedef typename traits::coordinate_type
86 struct coordinate_type struct
88 typedef typename core_dispatch::coordinate_type
100 typename coordinate_type<Geometry>::type
/third_party/boost/boost/geometry/geometries/
Dsegment.hpp138 typedef typename geometry::coordinate_type<segment_type>::type coordinate_type; typedef
140 static inline coordinate_type get(segment_type const& s) in get()
145 static inline void set(segment_type& s, coordinate_type const& value) in set()
156 typedef typename geometry::coordinate_type<segment_type>::type coordinate_type; typedef
158 static inline coordinate_type get(segment_type const& s) in get()
163 static inline void set(segment_type& s, coordinate_type const& value) in set()
186 typedef typename geometry::coordinate_type<segment_type>::type coordinate_type; typedef
188 static inline coordinate_type get(segment_type const& s) in get()
193 static inline void set(segment_type& s, coordinate_type const& value) in set()
204 typedef typename geometry::coordinate_type<segment_type>::type coordinate_type; typedef
[all …]
/third_party/boost/boost/geometry/strategies/cartesian/
Dbuffer_join_round_by_divide.hpp51 typedef typename coordinate_type<Point>::type coordinate_type; in mid_points() typedef
54 coordinate_type const vp1_x = get<0>(p1) - get<0>(vertex); in mid_points()
55 coordinate_type const vp1_y = get<1>(p1) - get<1>(vertex); in mid_points()
57 coordinate_type const vp2_x = (get<0>(p2) - get<0>(vertex)); in mid_points()
58 coordinate_type const vp2_y = (get<1>(p2) - get<1>(vertex)); in mid_points()
61 coordinate_type const two = 2; in mid_points()
62 coordinate_type const v_x = (vp1_x + vp2_x) / two; in mid_points()
63 coordinate_type const v_y = (vp1_y + vp2_y) / two; in mid_points()
90 typedef typename coordinate_type<Point>::type coordinate_type; in apply() typedef
94 coordinate_type, in apply()
[all …]
/third_party/boost/boost/geometry/views/detail/
Dindexed_point_view.hpp41 typedef typename geometry::coordinate_type<Geometry>::type coordinate_type; typedef in boost::geometry::detail::indexed_point_view
48 inline coordinate_type get() const in get()
54 inline void set(coordinate_type const& value) in set()
76 struct coordinate_type< geometry::detail::indexed_point_view<Geometry, Index> > struct
78 typedef typename geometry::coordinate_type<Geometry>::type type; argument
101 typedef typename geometry::coordinate_type<Geometry>::type coordinate_type; typedef
103 static inline coordinate_type get( in get()
111 coordinate_type const& value) in set()

12345678910>>...14