]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/geometry/test/algorithms/perimeter/perimeter_polygon_cases.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / geometry / test / algorithms / perimeter / perimeter_polygon_cases.hpp
CommitLineData
7c673cae
FG
1// Boost.Geometry (aka GGL, Generic Geometry Library)
2// Unit Test
3
4// Copyright (c) 2016 Oracle and/or its affiliates.
5// Contributed and/or modified by Vissarion Fisikopoulos, on behalf of Oracle
6
7// Use, modification and distribution is subject to the Boost Software License,
8// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
9// http://www.boost.org/LICENSE_1_0.txt)
10
11#ifndef PERIMETER_POLYGON_CASES_HPP
12#define PERIMETER_POLYGON_CASES_HPP
13
14#include <string>
15
16static std::string poly_data_geo[] = {
17 "POLYGON((0 90,1 80,1 70))",
18 "POLYGON((0 90,1 80,1 80,1 80,1 70,1 70))",
19 "POLYGON((0 90,1 80,1 79,1 78,1 77,1 76,1 75,1 74,\
b32b8144
FG
20 1 73,1 72,1 71,1 70))",\
21 "POLYGON((0 0,180 0,0 0))",
22 "POLYGON((0 0,90 0,180 0,90 0,0 0))"
7c673cae
FG
23};
24
25static std::string poly_data_sph[] = {
26 "POLYGON((0 0,180 0,0 0))",
27 "POLYGON((0 0,180 0,180 0,180 0,180 180,0 0))",
28 "POLYGON((0 0,180 0,180 10,180 20,180 30,180 40,180 50,180 60,\
29 180 70,180 80,180 90,180 100,180 110,180 120,180 130,\
30 180 140,180 150,180 160,180 170,180 180,0 0))"
31};
32
33static std::string multipoly_data[] = {
34 "MULTIPOLYGON(((0 0,180 0,0 0)), ((0 0, 0 90, 90 90, 0 0)))"
35};
36
37#endif // PERIMETER_POLYGON_CASES_HPP