/Src/Dependencies/Boost/libs/geometry/test/algorithms/test_relate.hpp

http://hadesmem.googlecode.com/ · C++ Header · 33 lines · 16 code · 11 blank · 6 comment · 0 complexity · eda45926755ea5c0c24df01f4b821d2d MD5 · raw file

  1. // Boost.Geometry (aka GGL, Generic Geometry Library)
  2. // Unit Test
  3. // Copyright (c) 2010-2011 Barend Gehrels, Amsterdam, the Netherlands.
  4. // Use, modification and distribution is subject to the Boost Software License,
  5. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. #ifndef BOOST_GEOMETRY_TEST_RELATE_HPP
  8. #define BOOST_GEOMETRY_TEST_RELATE_HPP
  9. #include <string>
  10. static std::string disjoint_simplex[2] =
  11. {"POLYGON((0 0,0 2,2 2,0 0))",
  12. "POLYGON((1 0,3 2,3 0,1 0))"};
  13. static std::string touch_simplex[2] =
  14. {"POLYGON((0 0,0 2,2 2,0 0))",
  15. "POLYGON((2 2,3 2,3 0,2 2))"};
  16. static std::string overlaps_box[2] =
  17. {"POLYGON((0 0,0 2,2 2,0 0))",
  18. "POLYGON((1 1,3 2,3 0,1 1))"};
  19. static std::string within_simplex[2] =
  20. {"POLYGON((0 0,1 4,4 1,0 0))",
  21. "POLYGON((1 1,1 3,3 1,1 1))"};
  22. #endif