predef_relop.hpp 876 B

123456789101112131415161718192021222324252627282930313233
  1. // Boost.Geometry (aka GGL, Generic Geometry Library)
  2. // Unit Test
  3. // Copyright (c) 2010-2012 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_PREDEF_RELOP_HPP
  8. #define BOOST_GEOMETRY_PREDEF_RELOP_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