88 Commits

Author SHA1 Message Date
Vissarion Fisikopoulos
7d46cebe25 feat: Implement is_valid algorithm for polyhedral surfaces 2025-07-17 12:24:33 +03:00
Vissarion Fisikopoulos
9826b15b2f feat: Add geometry polyhedral surface class, concepts, documentation and unit tests (#1402)
Co-authored-by: Siddharth kumar <sid021099kumar@gmail.com>
2025-05-12 12:08:51 +03:00
Barend Gehrels
60ad3bdd6f chore: replace typename coordinate_system with coordinate_system_t and add detail meta function coordinate_system_unit 2024-11-01 19:35:05 +01:00
Barend Gehrels
6a2e4391ef [test] complete cmake coverage 2024-05-22 10:19:01 +02:00
Barend Gehrels
d9eface3e8 [util] move bounds to geometry::util 2024-03-26 18:18:21 +01:00
Barend Gehrels
96ba473fa4 placement of const 2023-09-29 13:00:34 +02:00
Vissarion Fisikopoulos
7c8c60625c Add missing headers so that all headers compile independently (#1154)
* Add missing headers so all header files compile independently

* Add github actions script to check if all headers compile independently

* Remove unused headers from algorithms (not detail) and core and fix headers in tests

* Fix typo in headers.yml and missing header in srs
2023-07-25 22:56:12 +03:00
Adam Wulkiewicz
fa4ff35d6a Fix Visual Studio warnings
- C4100 Unreferenced formal parameter
- C4127 Conditional expression is constant
- C4456 Declaration hides previous local declaration
- C4701 Potentially uninitialized local variable used
- C4702 Unreachable code
2023-07-01 17:58:04 +02:00
Vissarion Fisikopoulos
6012885253 Remove CXX11/14 related macros 2023-05-23 15:16:08 +03:00
Adam Wulkiewicz
d697d1e9c4 [test] Fix signed/unsigned comparison warnings 2023-05-17 13:00:15 +02:00
Barend Gehrels
03489caa55 [fix] support different geometry types
This fixes #1139 , and more required code changes.

Including unit test.
2023-05-08 20:31:01 +02:00
Barend Gehrels
ee83f57f59 [test] add custom, non copiable, non indexable geometries 2023-04-23 13:31:00 +02:00
sdlzx
b54c8c920a Drop execute bit for C++ code 2021-12-15 10:28:25 +01:00
Adam Wulkiewicz
4bdfe1bf05 [test] Fix warnings. 2021-08-13 17:44:13 +02:00
Adam Wulkiewicz
ebbc58b52e Fix various warnings, e.g. remove unused variables, etc. 2021-07-05 14:15:38 +02:00
Adam Wulkiewicz
4c6f569d2d [test] Include only necessary headers of Boost.Range. 2020-11-26 04:59:40 +01:00
Adam Wulkiewicz
70e505bb15 [test] Add tests for constexpr. 2020-08-27 15:28:21 +02:00
Digvijay Janartha
afc38475e1 Adding missing unit tests for geometry models (#675) 2020-03-10 09:15:07 +01:00
Mateusz Łoskot
96db897fc5 Rename Jamfile.v2 to Jamfile (#679)
There is no reason to maintain the legacy .v2 file extension,
which is unnecessary clutter, may be confusing.
2020-03-08 23:50:18 +01:00
Mateusz Łoskot
64de5b9edf Add point_xyz as pre-defined geometry model (#671)
Add documentation, example and test for point_xyz.
2020-03-04 23:18:16 +01:00
Adam Wulkiewicz
f6d33812c7 [test] Call bg::math::abs() instead of std::fabs() in infinite_line test (workaround for msvc-10..12). 2019-07-30 23:55:18 +02:00
Barend Gehrels
422a0b768b [line] process review remarks, rename general_form to infinite_line 2019-07-10 13:03:17 +02:00
Adam Wulkiewicz
be7700eaec [test][geometries] Fix std::array as point initializer-list-related compilation error with some compilers. 2017-03-31 15:54:57 +02:00
Adam Wulkiewicz
d6a57c5cba [test][geometries] Add missing curly brackets in std::array initialization. 2017-01-05 18:31:31 +01:00
Norbert Wenzel
88d890720b Add test for std array point adaptor
The test is done in test/geometries/boost_array_as_point.cpp which
already tests for C arrays, Boost.Arrays and Boost.Tuples. If the
preprocessor define BOOST_NO_CXX11_HDR_ARRAY from Boost.Config is
available the std::array point adapter is tested additionally.
2016-10-02 12:21:17 +02:00
Barend Gehrels
798906441a Rename concepts in unit tests 2016-07-27 16:18:00 +02:00
Adam Wulkiewicz
0d04ad21b8 [test][views][geometries][arithmetic] Rename tests to match categories. 2015-08-19 04:10:25 +02:00
Adam Wulkiewicz
6d53651621 [test][geometries] Rename the tests. 2015-05-28 23:38:55 +02:00
Adam Wulkiewicz
c086babbd4 [test][geometries] Remove unneeded define enabling experimental support for std::initializer_list. 2015-04-09 16:16:29 +02:00
Menelaos Karavelas
7658231aa4 Merge branch 'develop' of https://github.com/boostorg/geometry into fix/remove_deprecated_include_paths
Conflicts:
	test/algorithms/set_operations/difference/difference.cpp
2015-03-31 14:30:04 +03:00
Adam Wulkiewicz
059142283d [test] Rename occurances of CS because this name is used as a macro on Solaris. 2015-03-14 05:10:58 +01:00
Menelaos Karavelas
6f0b6a19e2 [test][geometries] remove deprecated includes referring to the
include/boost/geometry/multi/ directory
2015-03-12 02:11:28 +02:00
Adam Wulkiewicz
62375c09aa [geometries] Shield initializer list support with #ifdef.
In order to test it on various compilers using Boost regression
testing suite before enabling the support by default.
2015-01-10 01:01:45 +01:00
Adam Wulkiewicz
e91e02ed0a [test][geometries] Add non-geometry test for initializer_list<> and Boost.Assign. 2015-01-03 00:19:30 +01:00
Adam Wulkiewicz
f6f59869e4 [test][geometries] Test Boost.Assign and initializer lists for points being std::pair or boost::tuple. 2014-12-30 13:56:04 +01:00
Adam Wulkiewicz
ac5b9ef9ac [test][geometry] Add Boost.Assign list_of test for linestring and ring. 2014-12-30 02:46:29 +01:00
Adam Wulkiewicz
a9e4957800 [geometries] Added tests, also for Boost.Assign 2014-06-17 13:52:33 +02:00
Adam Wulkiewicz
81bcdc34ed [geometries] Define assignment operators taking initializer lists.
Add constructor taking initializer list for multi_point.
2014-06-16 23:54:16 +02:00
Adam Wulkiewicz
9aaffa5f78 [geometries] Add support for std::initializer_list 2014-06-16 19:06:19 +02:00
Adam Wulkiewicz
400eec193b [adapted] Specialize resize<> trait for polygon_data required by Ring concept 2014-06-10 00:17:12 +02:00
Adam Wulkiewicz
188b1c3e48 [test] Fix unused typedef warnings 2014-06-03 16:20:11 +02:00
Barend Gehrels
3e5333a8c4 [geometry] Remove all trailing spaces (tests) 2013-12-05 19:38:32 +01:00
Barend Gehrels
43bc982557 [geometry] quarantined test for range adaptors using filter, they do not support boost::size() so we can't use it in (current) practice
[SVN r86598]
2013-11-09 12:38:57 +00:00
Barend Gehrels
fdccdbff5e [geometry] cleanup, removing MSVC proj-files where were for version 2005
[SVN r85375]
2013-08-17 15:43:41 +00:00
Barend Gehrels
f2bc495f53 [geometry] Commented Boost.Polygon because it fails since a few months, by interface changes in Boost.Polygon
[SVN r84232]
2013-05-11 10:29:39 +00:00
Barend Gehrels
35d1982fa0 Update w.r.t. Boost.Range size now unsigned - remove warnings (in unit tests)
[SVN r78622]
2012-05-25 16:10:29 +00:00
Barend Gehrels
6db4d7db3d Fixes for clang in unit tests
[SVN r76520]
2012-01-15 15:41:29 +00:00
Barend Gehrels
61874e2c40 Updated copyrights 2010->2012
[SVN r76442]
2012-01-12 20:58:20 +00:00
Barend Gehrels
7cb0ae96fd Boost.Geometry update copyright -> 2012
[SVN r76390]
2012-01-09 21:56:08 +00:00
Barend Gehrels
7326b55b32 Updated copyright year for merge of manually synchronized files
[SVN r76367]
2012-01-08 11:50:10 +00:00