Home
last modified time | relevance | path

Searched refs:mpoly1 (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/libs/geometry/doc/src/examples/geometries/
Dmulti_polygon.cpp26 mpolygon_t mpoly1; /*< Default-construct a multi_polygon. >*/ in main() local
37 mpoly1.resize(2); /*< Resize a multi_polygon, store two polygons. >*/ 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()
45 mpoly1[0].inners().resize(1); /*< Resize a container of interior rings of the first polygon. >*/ 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()
[all …]
/third_party/boost/libs/geometry/test/algorithms/within/
Dwithin_areal_areal.cpp28 typedef bg::model::multi_polygon<poly1> mpoly1; in test_a_a() typedef
51 … test_geometry<mpoly1, ring2>("MULTIPOLYGON(((0 0,0 5,5 5,5 0,0 0)),((5 5,5 10,10 10,10 5,5 5)))", in test_a_a()
53 …test_geometry<mpoly1, poly2>("MULTIPOLYGON(((0 0,0 5,5 5,5 0,0 0)),((15 15,15 110,110 110,110 15,1… in test_a_a()
56 test_geometry<mpoly1, poly2>("MULTIPOLYGON(((0 0,0 1,1 0,0 0)),((3 3,3 4,4 3,3 3)))", in test_a_a()
59 test_geometry<mpoly1, mpoly2>("MULTIPOLYGON(((0 0,0 1,1 0,0 0)),((3 3,3 4,4 3,3 3)))", in test_a_a()
61 test_geometry<mpoly1, mpoly2>("MULTIPOLYGON(((0 0,0 1,1 0,0 0)),((3 3,3 4,4 3,3 3)))", in test_a_a()
63 … test_geometry<mpoly1, mpoly2>("MULTIPOLYGON(((0 0,0 5,5 5,5 0,0 0)),((5 5,5 10,10 10,10 5,5 5)))", in test_a_a()