// Boost.Geometry // Unit Test // Copyright (c) 2025 Oracle and/or its affiliates. // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // Polyhedral surface tests invalid concepts #include #include #include #include #include #include #include int test_main(int, char* []) { // The following tests should fail namespace bg = boost::geometry; // Define a 2-dimensional polyhedral surface using point2_t = bg::model::point; using polygon2_t = bg::model::polygon; using polyhedral2_t = bg::model::polyhedral_surface; // Create a 3D polyhedral surface with geographic coordinates using point_geo_t = bg::model::point>; using polygon_geo_t = bg::model::polygon; using polyhedral_geo_t = bg::model::polyhedral_surface; BOOST_CONCEPT_ASSERT( (bg::concepts::PolyhedralSurface) ); BOOST_CONCEPT_ASSERT( (bg::concepts::PolyhedralSurface) ); return 0; }