Home
last modified time | relevance | path

Searched refs:geometry (Results 1 – 25 of 2126) sorted by relevance

12345678910>>...86

/third_party/boost/libs/geometry/doc/html/
Dgeometry_HTML.manifest2 geometry/introduction.html
3 geometry/compilation.html
4 geometry/design.html
5 geometry/quickstart.html
6 geometry/spatial_indexes.html
7 geometry/spatial_indexes/introduction.html
8 geometry/spatial_indexes/rtree_quickstart.html
9 geometry/spatial_indexes/creation_and_modification.html
10 geometry/spatial_indexes/queries.html
11 geometry/spatial_indexes/rtree_examples.html
[all …]
/third_party/vk-gl-cts/external/vulkancts/mustpass/master/vk-default/
Dgeometry.txt1 dEQP-VK.geometry.input.basic_primitive.points
2 dEQP-VK.geometry.input.basic_primitive.lines
3 dEQP-VK.geometry.input.basic_primitive.line_strip
4 dEQP-VK.geometry.input.basic_primitive.triangles
5 dEQP-VK.geometry.input.basic_primitive.triangle_strip
6 dEQP-VK.geometry.input.basic_primitive.triangle_fan
7 dEQP-VK.geometry.input.basic_primitive.lines_adjacency
8 dEQP-VK.geometry.input.basic_primitive.line_strip_adjacency
9 dEQP-VK.geometry.input.basic_primitive.triangles_adjacency
10 dEQP-VK.geometry.input.triangle_strip_adjacency.vertex_count_0
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/vk-default/
Dgeometry.txt1 dEQP-VK.geometry.input.basic_primitive.points
2 dEQP-VK.geometry.input.basic_primitive.lines
3 dEQP-VK.geometry.input.basic_primitive.line_strip
4 dEQP-VK.geometry.input.basic_primitive.triangles
5 dEQP-VK.geometry.input.basic_primitive.triangle_strip
6 dEQP-VK.geometry.input.basic_primitive.triangle_fan
7 dEQP-VK.geometry.input.basic_primitive.lines_adjacency
8 dEQP-VK.geometry.input.basic_primitive.line_strip_adjacency
9 dEQP-VK.geometry.input.basic_primitive.triangles_adjacency
10 dEQP-VK.geometry.input.triangle_strip_adjacency.vertex_count_0
[all …]
/third_party/vk-gl-cts/android/cts/master/vk-master/
Dgeometry.txt1 dEQP-VK.geometry.input.basic_primitive.points
2 dEQP-VK.geometry.input.basic_primitive.lines
3 dEQP-VK.geometry.input.basic_primitive.line_strip
4 dEQP-VK.geometry.input.basic_primitive.triangles
5 dEQP-VK.geometry.input.basic_primitive.triangle_strip
6 dEQP-VK.geometry.input.basic_primitive.triangle_fan
7 dEQP-VK.geometry.input.basic_primitive.lines_adjacency
8 dEQP-VK.geometry.input.basic_primitive.line_strip_adjacency
9 dEQP-VK.geometry.input.basic_primitive.triangles_adjacency
10 dEQP-VK.geometry.input.triangle_strip_adjacency.vertex_count_0
[all …]
/third_party/vk-gl-cts/android/cts/master/vk-master-2019-03-01/
Dgeometry.txt1 dEQP-VK.geometry.input.basic_primitive.points
2 dEQP-VK.geometry.input.basic_primitive.lines
3 dEQP-VK.geometry.input.basic_primitive.line_strip
4 dEQP-VK.geometry.input.basic_primitive.triangles
5 dEQP-VK.geometry.input.basic_primitive.triangle_strip
6 dEQP-VK.geometry.input.basic_primitive.triangle_fan
7 dEQP-VK.geometry.input.basic_primitive.lines_adjacency
8 dEQP-VK.geometry.input.basic_primitive.line_strip_adjacency
9 dEQP-VK.geometry.input.basic_primitive.triangles_adjacency
10 dEQP-VK.geometry.input.triangle_strip_adjacency.vertex_count_0
[all …]
/third_party/vk-gl-cts/android/cts/master/vk-master-2021-03-01/
Dgeometry.txt1 dEQP-VK.geometry.layered.1d_array.64_1_4.render_to_default_layer
2 dEQP-VK.geometry.layered.1d_array.64_1_4.render_to_one
3 dEQP-VK.geometry.layered.1d_array.64_1_4.render_to_all
4 dEQP-VK.geometry.layered.1d_array.64_1_4.render_different_content
5 dEQP-VK.geometry.layered.1d_array.64_1_4.fragment_layer
6 dEQP-VK.geometry.layered.1d_array.64_1_4.invocation_per_layer
7 dEQP-VK.geometry.layered.1d_array.64_1_4.multiple_layers_per_invocation
8 dEQP-VK.geometry.layered.1d_array.64_1_4.readback
9 dEQP-VK.geometry.layered.1d_array.12_1_6.render_to_default_layer
10 dEQP-VK.geometry.layered.1d_array.12_1_6.render_to_one
[all …]
/third_party/boost/libs/geometry/doc/doxy/doxygen_input/sourcecode/
Ddoxygen_1.cpp32 boost::geometry::polygon<boost::geometry::point_xy<double> > poly; /*< Declare >*/ in example_area_polygon()
33 …boost::geometry::read_wkt("POLYGON((0 0,0 7,4 2,2 0,0 0))", poly); /*< Fill, in this case with WKT… in example_area_polygon()
34 double area = boost::geometry::area(poly); /*< Calculate area >*/ in example_area_polygon()
39 namespace bg = boost::geometry; in example_area_polygon()
48 typedef boost::geometry::point_xy<double> P; in example_as_wkt_point()
51 std::cout << boost::geometry::dsv<P>(p) << std::endl; in example_as_wkt_point()
54 std::cout << boost::geometry::dsv(p) << std::endl; in example_as_wkt_point()
57 std::cout << boost::geometry::wkt(p) << std::endl; in example_as_wkt_point()
62 std::vector<boost::geometry::point_xy<int> > v; in example_as_wkt_vector()
63 …boost::geometry::read_wkt<boost::geometry::point_xy<int> >("linestring(1 1,2 2,3 3,4 4)", std::bac… in example_as_wkt_vector()
[all …]
Ddoxygen_4.cpp49 Geometry geometry; in read_wkt() local
66 Geometry geometry; in read_wkt() local
67 boost::geometry::read_wkt(line, geometry); in read_wkt()
69 Tuple tuple(geometry, name); in read_wkt()
72 boost::geometry::expand(box, boost::geometry::return_envelope<Box>(geometry)); in read_wkt()
91 typedef boost::geometry::point_xy<double> point_type; in svg_simplify_road()
94 boost::geometry::svg_mapper<point_type> mapper(svg, 300, 300); in svg_simplify_road()
96 boost::geometry::linestring<point_type> original[n], simplified[n]; in svg_simplify_road()
100 boost::geometry::read_wkt(wkt[i], original[i]); in svg_simplify_road()
101 boost::geometry::simplify(original[i], simplified[i], 0.03); in svg_simplify_road()
[all …]
/third_party/boost/boost/geometry/algorithms/
Dconvex_hull.hpp49 namespace boost { namespace geometry namespace
64 static inline OutputIterator apply(Geometry const& geometry, in apply()
69 strategy.apply(geometry, state); in apply()
78 static inline void apply(Geometry const& geometry, OutputGeometry& out, in apply()
83 geometry::point_order<OutputGeometry>::value, in apply()
84 geometry::closure<OutputGeometry>::value in apply()
85 >::apply(geometry, in apply()
121 = geometry::closure<OutputGeometry>::value == closed; in apply()
123 = geometry::point_order<OutputGeometry>::value == counterclockwise; in apply()
127 geometry::detail::assign_box_corners_oriented<Reverse>(box, range); in apply()
[all …]
Dmake.hpp21 namespace boost { namespace geometry namespace
50 Geometry geometry; in make_points() local
51 geometry::append(geometry, range); in make_points()
52 return geometry; in make_points()
83 Geometry geometry; in make() local
88 geometry::dimension<Geometry>::type::value in make()
89 >::apply(geometry, c1, c2); in make()
90 return geometry; in make()
117 Geometry geometry; in make() local
122 geometry::dimension<Geometry>::type::value in make()
[all …]
Dpoint_on_surface.hpp40 namespace boost { namespace geometry namespace
60 CoordinateType const lh = geometry::get<Dimension>(lhs); in operator ()()
61 CoordinateType const rh = geometry::get<Dimension>(rhs); in operator ()()
66 if (geometry::math::equals(rh, m_value_to_be_first)) in operator ()()
72 if (geometry::math::equals(lh, m_value_to_be_first)) in operator ()()
90 … Value the_value = geometry::get<Dimension>(*std::max_element(it->begin(), it->end(), predicate)); in max_value()
117 …Value max = geometry::get<Dimension>(*std::max_element(intruder.begin(), intruder.end(), detail::e… in operator ()()
118 return geometry::math::equals(max, m_value) || max < m_value; in operator ()()
146 …Value lhs_min = geometry::get<Dimension>(*std::min_element(lhs.begin(), lhs.end(), detail::extreme… in operator ()()
147 …Value rhs_min = geometry::get<Dimension>(*std::min_element(rhs.begin(), rhs.end(), detail::extreme… in operator ()()
[all …]
/third_party/boost/boost/geometry/core/
Dradian_access.hpp37 namespace boost { namespace geometry namespace
50 static inline coordinate_type get(Geometry const& geometry) in get()
55 >(geometry::get<Dimension>(geometry) in get()
59 static inline void set(Geometry& geometry, coordinate_type const& radians) in set()
61 geometry::set<Dimension>(geometry, boost::numeric_cast in set()
76 static inline coordinate_type get(Geometry const& geometry) in get()
78 return geometry::get<Dimension>(geometry); in get()
81 static inline void set(Geometry& geometry, coordinate_type const& radians) in set()
83 geometry::set<Dimension>(geometry, radians); in set()
115 static inline coordinate_type get(Geometry const& geometry) in get()
[all …]
/third_party/boost/boost/geometry/strategies/spherical/
Ddistance_segment_box.hpp24 namespace boost { namespace geometry namespace
62 typedef geometry::model::segment<SegmentPoint> segment_type; in segment_below_of_box()
71 typename geometry::cs_tag<segment_type>::type, in segment_below_of_box()
78 typedef geometry::detail::disjoint:: in segment_below_of_box()
85 geometry::model::box<BoxPoint> input_box; in segment_below_of_box()
86 geometry::set_from_radian<geometry::min_corner, 0> in segment_below_of_box()
87 (input_box, geometry::get_as_radian<0>(bottom_left)); in segment_below_of_box()
88 geometry::set_from_radian<geometry::min_corner, 1> in segment_below_of_box()
89 (input_box, geometry::get_as_radian<1>(bottom_left)); in segment_below_of_box()
90 geometry::set_from_radian<geometry::max_corner, 0> in segment_below_of_box()
[all …]
Dexpand_point.hpp49 namespace boost { namespace geometry namespace
68 typedef typename geometry::detail::cs_angular_units<Box>::type units_type; in apply()
82 geometry::detail::envelope::transform_units(p_normalized, box_point); in apply()
86 geometry::set_from_radian<min_corner, 0>(box, geometry::get_as_radian<0>(p_normalized)); in apply()
87 geometry::set_from_radian<min_corner, 1>(box, geometry::get_as_radian<1>(p_normalized)); in apply()
88 geometry::set_from_radian<max_corner, 0>(box, geometry::get_as_radian<0>(p_normalized)); in apply()
89 geometry::set_from_radian<max_corner, 1>(box, geometry::get_as_radian<1>(p_normalized)); in apply()
95 box_coordinate_type p_lon = geometry::get<0>(box_point); in apply()
96 box_coordinate_type p_lat = geometry::get<1>(box_point); in apply()
99 b_lon_min = geometry::get<min_corner, 0>(box), in apply()
[all …]
/third_party/boost/libs/geometry/example/
Dc01_custom_point_example.cpp99 my_color_point c1 = boost::geometry::make<my_color_point>(255, 3, 233); in BOOST_GEOMETRY_REGISTER_POINT_3D()
100 my_color_point c2 = boost::geometry::make<my_color_point>(0, 50, 200); in BOOST_GEOMETRY_REGISTER_POINT_3D()
105 << boost::geometry::dsv(c1) << " to " in BOOST_GEOMETRY_REGISTER_POINT_3D()
106 << boost::geometry::dsv(c2) << " is " in BOOST_GEOMETRY_REGISTER_POINT_3D()
107 << boost::geometry::distance(c1,c2) << std::endl; in BOOST_GEOMETRY_REGISTER_POINT_3D()
111 boost::geometry::assign_values(a1, 1, 2, 3); in BOOST_GEOMETRY_REGISTER_POINT_3D()
112 boost::geometry::assign_values(a2, 3, 2, 1); in BOOST_GEOMETRY_REGISTER_POINT_3D()
115 << boost::geometry::dsv(a1) << " to " in BOOST_GEOMETRY_REGISTER_POINT_3D()
116 << boost::geometry::dsv(a2) << " is " in BOOST_GEOMETRY_REGISTER_POINT_3D()
117 << boost::geometry::distance(a1,a2) << std::endl; in BOOST_GEOMETRY_REGISTER_POINT_3D()
[all …]
/third_party/boost/boost/geometry/policies/robustness/
Dget_rescale_policy.hpp47 namespace boost { namespace geometry namespace
69 typename geometry::coordinate_type<Point>::type in scale_box_to_integer_range()
100 static inline void init_rescale_policy(Geometry const& geometry, in init_rescale_policy() argument
106 if (geometry::is_empty(geometry)) in init_rescale_policy()
112 model::box<Point> env = geometry::return_envelope in init_rescale_policy()
115 >(geometry, strategy); in init_rescale_policy()
136 bool const is_empty1 = geometry::is_empty(geometry1); in init_rescale_policy()
137 bool const is_empty2 = geometry::is_empty(geometry2); in init_rescale_policy()
146 geometry::envelope(geometry2, env, strategy2); in init_rescale_policy()
150 geometry::envelope(geometry1, env, strategy1); in init_rescale_policy()
[all …]
/third_party/boost/libs/geometry/test/algorithms/area/
Darea_sph_geo.cpp25 namespace bg = boost::geometry;
54 bg::model::polygon<pt> geometry; in test_spherical_geo() local
67 ct expected = four * boost::geometry::math::pi<ct>() / eight; in test_spherical_geo()
68 bg::read_wkt(poly, geometry); in test_spherical_geo()
69 ct area = bg::area(geometry, strategy_unary); in test_spherical_geo()
78 area = bg::area(geometry, strategy); in test_spherical_geo()
99 bg::read_wkt(poly, geometry); in test_spherical_geo()
100 area = bg::area(geometry, spherical_earth); in test_spherical_geo()
118 bg::read_wkt(poly, geometry); in test_spherical_geo()
119 area = bg::area(geometry, spherical_earth); in test_spherical_geo()
[all …]
/third_party/boost/boost/geometry/algorithms/detail/is_valid/
Dinterface.hpp31 namespace boost { namespace geometry namespace
40 static inline bool apply(Geometry const& geometry, in apply()
44 return dispatch::is_valid<Geometry>::apply(geometry, visitor, strategy); in apply()
48 static inline bool apply(Geometry const& geometry, in apply()
58 return dispatch::is_valid<Geometry>::apply(geometry, visitor, strategy_type()); in apply()
71 static inline bool apply(Geometry const& geometry, in apply()
77 return resolve_strategy::is_valid::apply(geometry, visitor, strategy); in apply()
93 bool operator()(Geometry const& geometry) const in operator ()()
95 return is_valid<Geometry>::apply(geometry, m_policy, m_strategy); in operator ()()
104 apply(boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)> const& geometry, in apply()
[all …]
/third_party/boost/libs/geometry/test/robustness/overlay/areal_areal/
Dticket_9081.cpp32 typedef boost::geometry::model::d2::point_xy<double> pt;
33 typedef boost::geometry::model::polygon<pt> polygon;
34 typedef boost::geometry::model::segment<pt> segment;
35 typedef boost::geometry::model::multi_polygon<polygon> multi_polygon;
45 case 'i': boost::geometry::intersection(a, b, output); break; in debug_with_svg()
46 case 'u': boost::geometry::union_(a, b, output); break; in debug_with_svg()
47 case 'd': boost::geometry::difference(a, b, output); break; in debug_with_svg()
48 case 'v': boost::geometry::difference(b, a, output); break; in debug_with_svg()
59 boost::geometry::svg_mapper<pt> mapper(svg, 400, 400); in debug_with_svg()
72 …mapper.map(boost::geometry::return_centroid<pt>(a), "fill:rgb(152,204,0);stroke:rgb(153,204,0);str… in debug_with_svg()
[all …]
/third_party/boost/libs/geometry/
DREADME.md3 …://github.com/boostorg), defines concepts, primitives and algorithms for solving geometry problems.
6 …mentation](https://img.shields.io/badge/-documentation-4480cc.png)](http://boost.org/libs/geometry)
7 [![Wiki](https://img.shields.io/badge/-wiki-4480cc.png)](https://github.com/boostorg/geometry/wiki)
8 …g List](https://img.shields.io/badge/-mailing%20list-4eb899.png)](http://lists.boost.org/geometry/)
9 [![Chat](https://badges.gitter.im/boostorg/geometry.png)](https://gitter.im/boostorg/geometry?utm_s…
11 …++14 from Boost 1.75 onwards (see issue [#590](https://github.com/boostorg/geometry/issues/590)). |
18geometry/tree/develop.svg?style=shield)](https://circleci.com/gh/boostorg/geometry/tree/develop) <…
19geometry/tree/master.svg?style=shield)](https://circleci.com/gh/boostorg/geometry/tree/master) <b…
/third_party/boost/libs/geometry/test/algorithms/
Dtest_for_each.hpp87 void test_per_point_const(Geometry const& geometry, int expected) in test_per_point_const() argument
93 functor = bg::for_each_point(geometry, functor); in test_per_point_const()
104 geometry, in test_per_point_const()
117 void test_per_point_non_const(Geometry& geometry, in test_per_point_non_const() argument
122 Geometry copy = geometry; in test_per_point_non_const()
128 bg::for_each_point(geometry, translate_x_function<point_type>); in test_per_point_non_const()
130 out1 << bg::wkt(geometry); in test_per_point_non_const()
135 << " got " << bg::wkt(geometry)); in test_per_point_non_const()
138 bg::for_each_point(geometry, scale_y_functor<point_type>()); in test_per_point_non_const()
141 out2 << bg::wkt(geometry); in test_per_point_non_const()
[all …]
Dtest_simplify.hpp34 static void apply(Geometry const& geometry, Expected const& expected) in apply()
40 = bg::equals(geometry, expected) in apply()
41 && bg::num_points(geometry) == bg::num_points(expected); in apply()
44 " result: " << bg::wkt(geometry) << " " << bg::area(geometry) in apply()
57 static void apply(Geometry const& geometry, Expected const& expected) in apply()
60 out1 << bg::wkt(geometry); in apply()
79 static void apply(Geometry& geometry, in apply()
85 bg::detail::simplify::simplify_insert(geometry, in apply()
108 bg::detail::simplify::simplify_insert(geometry, in apply()
118 void check_geometry(Geometry const& geometry, in check_geometry() argument
[all …]
/third_party/boost/libs/geometry/doc/src/examples/algorithms/
Dbuffer_with_strategies.cpp21 typedef boost::geometry::model::d2::point_xy<coordinate_type> point; in main()
22 typedef boost::geometry::model::polygon<point> polygon; in main()
27 …boost::geometry::strategy::buffer::distance_symmetric<coordinate_type> distance_strategy(buffer_di… in main()
28 boost::geometry::strategy::buffer::join_round join_strategy(points_per_circle); in main()
29 boost::geometry::strategy::buffer::end_round end_strategy(points_per_circle); in main()
30 boost::geometry::strategy::buffer::point_circle circle_strategy(points_per_circle); in main()
31 boost::geometry::strategy::buffer::side_straight side_strategy; in main()
34 boost::geometry::model::multi_polygon<polygon> result; in main()
37 boost::geometry::model::linestring<point> ls; in main()
38 boost::geometry::read_wkt("LINESTRING(0 0,4 5,7 4,10 6)", ls); in main()
[all …]
/third_party/boost/boost/geometry/algorithms/detail/
Dassign_values.hpp46 namespace boost { namespace geometry namespace
60 geometry::set<Index, Dimension>(box, value); in apply()
80 geometry::assign_value(point, 0); in apply()
89 static inline void apply(BoxOrSegment& geometry) in apply()
95 geometry, geometry::bounds<bound_type>::highest() in apply()
98 geometry, geometry::bounds<bound_type>::lowest() in apply()
108 static inline void apply(BoxOrSegment& geometry) in apply()
113 geometry, coordinate_type() in apply()
116 geometry, coordinate_type() in apply()
136 geometry::set<0>(point, boost::numeric_cast<coordinate_type>(get<Corner1, 0>(box))); in assign_box_2d_corner()
[all …]
/third_party/boost/boost/geometry/views/detail/
Dindexed_point_view.hpp28 namespace boost { namespace geometry namespace
40 typedef typename geometry::point_type<Geometry>::type point_type;
41 typedef typename geometry::coordinate_type<Geometry>::type coordinate_type;
43 indexed_point_view(Geometry & geometry) in indexed_point_view() argument
44 : m_geometry(geometry) in indexed_point_view()
50 return geometry::get<Index, Dimension>(m_geometry); in get()
56 geometry::set<Index, Dimension>(m_geometry, value); in set()
70 struct tag< geometry::detail::indexed_point_view<Geometry, Index> >
76 struct coordinate_type< geometry::detail::indexed_point_view<Geometry, Index> >
78 typedef typename geometry::coordinate_type<Geometry>::type type;
[all …]

12345678910>>...86