Sébastien Loriot
5ed3b0d266
Merge remote-tracking branch 'cgal/6.0.x-branch' in master
2025-03-31 15:32:56 +02:00
Sébastien Loriot
a838073ec7
Merge remote-tracking branch 'cgal/5.6.x-branch' into cgal/6.0.x-branch
2025-03-31 15:31:19 +02:00
Mael Rouxel-Labbé
ee86465438
Fix conversion warning
2025-03-23 21:58:40 +01:00
Laurent Rineau
e5001d1a50
update our CMake version 3.18...3.31
...
That will suppress the warnings about `CMP0167` (from CMake 3.30):
```
CMake Warning (dev) at cmake/modules/display-third-party-libs-versions.cmake:37 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
```
2025-02-04 14:32:37 +01:00
Andreas Fabri
527569346e
CGAL: Modernize CMakeLists.txt
2024-10-08 17:02:41 +01:00
Sébastien Loriot
4cf1f4b214
CONFIG options is only needed if a FindXXX.cmake exists
2024-09-04 14:48:07 +02:00
Jane Tournois
3f6083e6ff
use CGAL::OpenMesh_support in examples and tests
2024-08-27 14:06:16 +02:00
Laurent Rineau
3a223ebd1e
cmake_minimum_required(VERSION 3.12...3.29)
2024-06-06 20:19:44 +02:00
Mael Rouxel-Labbé
81972df60e
Add a convenience IO header
2023-12-12 09:39:35 +01:00
Laurent Rineau
ce63f7c2b9
Merge pull request #7732 from MaelRL/SMS-Improve_robustness-GF
...
Reformulate a cross product to increase precision
2023-10-16 11:12:27 +02:00
Mael Rouxel-Labbé
3316dc5c01
Restore some base code
2023-09-20 17:06:48 +02:00
Mael Rouxel-Labbé
d092d4b0e3
Reformulate a cross product to increase precision
2023-09-20 16:58:16 +02:00
Sébastien Loriot
604dcdc435
boost::optional => std::optional
2023-06-15 10:57:09 +02:00
Laurent Rineau
d952da245a
Merge pull request #7262 from afabri/SMS-improve_examples-GF
...
Surface Mesh Simplification: Improve Examples
2023-02-24 16:14:36 +01:00
Andreas Fabri
152891bc12
Surface Mesh Simplification: Improve Examples
2023-02-13 16:28:26 +00:00
Mael
153c603209
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF
2023-01-27 22:09:02 +01:00
Mael
6538b22e06
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF
2022-12-05 16:03:41 +01:00
Sébastien Loriot
c5207cb5ad
Merge remote-tracking branch 'cgal/master' into HEAD
2022-11-24 09:54:56 +01:00
albert-github
c32b1f4127
spelling corrections
...
Some spelling corrections (Directories starting with `S` rest - `W`),
2022-11-16 13:22:39 +01:00
Mael Rouxel-Labbé
ba3a0d7d22
Replace SMS::Count_* stop predicates with new Edge/Face_count_* stop predicates
2022-11-02 13:46:45 +01:00
Mael Rouxel-Labbé
6f187f332c
Misc minor fixes/improvements
2022-09-14 14:08:23 +02:00
Mael Rouxel-Labbé
9b265fddf8
Uniformize REQUIRED / QUIET usage:
...
Following this:
- CGAL: always REQUIRED
- CGAL component: COMPONENT / OPTIONAL_COMPONENT (never QUIET)
- required 3rd party: (not QUIET) + message(NOTICE "") on NOT_FOUND
- optional 3rd party: QUIET + message(STATUS "") except for Polyhedron/demo
- 3rd party components: COMPONENT / OPTIONAL_COMPONENT
(QUIET depending on required or optional 3rd party)
2022-09-06 16:24:27 +02:00
Mael Rouxel-Labbé
4fc486b195
Purge CMakeLists.txts from obsolete code / noise
2022-09-06 16:19:11 +02:00
Mael Rouxel-Labbé
7cb21c24b0
Uniformize message() for missing 3rd party libraries
...
STATUS for non-essential, NOTICE for important stuff
2022-09-06 16:07:31 +02:00
Laurent Rineau
def324a46a
Merge pull request #6577 from sloriot/SMS-parallel_ex
...
add an example to simplify a mesh in parallel
2022-06-08 17:33:46 +02:00
Sébastien Loriot
2795a6374c
add an example to simplify a mesh in parallel
2022-05-12 16:21:14 +02:00
Laurent Rineau
2288225448
Massive update of CMake policies to version 3.23
2022-05-06 09:34:35 +02:00
Mael Rouxel-Labbé
9e8940adcd
Add 'NOTICE'
2022-03-15 11:22:58 +01:00
Mael Rouxel-Labbé
db3b725340
Fix typo
2022-03-14 21:54:33 +01:00
Mael Rouxel-Labbé
1020a401c1
Enhance GH example
2022-03-14 20:51:33 +01:00
Mael Rouxel-Labbé
f39c1eb966
Add a test for Garland Heckbert policies
2022-03-14 20:42:26 +01:00
Mael Rouxel-Labbé
a2c13412b3
Improve GH example
2021-12-23 17:22:44 +01:00
Mael Rouxel-Labbé
854b6dd5b2
Remove support code from examples
2021-12-23 17:21:58 +01:00
Mael Rouxel-Labbé
c06b0d9dc2
Update examples
2021-12-22 12:40:08 +01:00
Mael Rouxel-Labbé
fb59f96f8d
Clean code
2021-12-21 10:46:59 +01:00
Mael Rouxel-Labbé
64b2056d74
Merge remote-tracking branch 'cgal/master' into gsoc2021-Surface_mesh_simplification-probabilistic-komaromy
2021-12-20 12:46:52 +01:00
Sébastien Loriot
ab48f63e30
update latest cmake version tested
2021-11-09 10:58:47 +01:00
Sébastien Loriot
58181afcdb
remove useless include directives
2021-11-09 10:16:12 +01:00
Mael Rouxel-Labbé
8166579e55
Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_master-GF
2021-10-11 19:58:07 +02:00
Mael Rouxel-Labbé
590ddf8015
Various fixes for pmaps:
...
- Use `value_type` when the returned type is not a reference
- Enforce `reference = value_type` if the returned type is not
a reference (to avoid `typename PM::reference r = get(m, k)`,
which will take a ref to a temporary if the `reference`
typedef is an actualy reference)
- Do not use `put_get_helper` if the property map is not a `lvalue`
**mutable** property map: the `put()` is `map[k] = v`, which
is broken if `operator[]` does not return a reference
- The concept `boost::lvalue_property_map_tag` requires `operator[](key)`,
not a reference in `get(map, key)`. You can have a readable property map
returning a reference through its `get(map, key)`, but if there is
no `operator[]`, it's just a `boost::readable_property_map_tag`
- Some const correctness to avoid copying maps with state
or heavy keys in `get(map, key)` / `put(map, key, value)`
- Base the category of a wrapping pmap on what it offers instead
of just forwarding the base property map's category
- Tried to do something like mutable lvalue pmap:
* `value_type& operator[](key&)`
* `ref get(map, const key&)`
* `put(map, const key&, const value_type&)`
and non-mutable lvalue pmap:
* `const value_type& operator[](const key&)`
* `ref get(map, const key&)`
but not everything fits properly...
2021-10-08 15:38:47 +02:00
Sébastien Loriot
8350dea94a
char* -> std::string
2021-10-04 09:49:24 +02:00
Sébastien Loriot
47028cd184
automatically move data files in data dir + update paths
...
Done for OFF/OBJ/STL/XYZ/PWN/PLY
2021-10-04 09:42:49 +02:00
Sébastien Loriot
d8cdba669b
rename input
2021-10-04 09:32:03 +02:00
Julian Komaromy
0e12e3d162
add disclaimer
2021-08-20 11:39:15 +02:00
Julian Komaromy
4304426b14
add hausdorff errors do statistics
2021-07-27 11:06:21 +02:00
Julian Komaromy
ab44601917
add statistics to cmake
2021-07-26 15:39:32 +02:00
Julian Komaromy
e2b2ad8acc
add benchmarking functions
2021-07-26 15:22:25 +02:00
Julian Komaromy
fc6960debc
add face aspect ratio statistics
2021-07-19 15:55:05 +02:00
Julian Komaromy
82a2f3622e
make histogram generation generic
2021-07-19 13:27:21 +02:00
Julian Komaromy
8d73dc6343
add edge length histograms
2021-07-19 12:54:13 +02:00