Mael
3d71790cbc
Protect min/max with parentheses
...
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2023-10-05 14:56:25 +02:00
Sébastien Loriot
d65cd2d298
fix macro
2023-09-21 16:12:35 +02:00
Sébastien Loriot
fffea5c616
add an avx version for archive, it is slower so not used
...
in general, CGAL with avx is itself slower
2023-09-21 15:30:09 +02:00
Mael Rouxel-Labbé
433881020e
Remove needless header include
2023-09-21 10:18:30 +02:00
Mael Rouxel-Labbé
3316dc5c01
Restore some base code
2023-09-20 17:06:48 +02:00
Mael Rouxel-Labbé
985c8a7825
Add a test
2023-09-20 16:59:33 +02:00
Mael Rouxel-Labbé
d092d4b0e3
Reformulate a cross product to increase precision
2023-09-20 16:58:16 +02:00
albert-github
93001308f4
Merge branch 'master' into feature/issue_7395
...
# Conflicts:
# Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/ArrangementPointLocation_2.h
# Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/ArrangementVerticalRayShoot_2.h
2023-08-18 11:10:42 +02:00
Sébastien Loriot
eada3ee8ca
Merge branch 'master' into 'sloriot/CGAL-using_c++17_stl'
2023-08-14 14:19:25 +02:00
albert-github
ad41766454
issue #7395 Improvement of layout of model relations
...
Corrected `cgalModels` to `cgalHasModes` inside `cgalHasNodelsBegin` / `cgalHasModelsEnd`
2023-07-18 13:23:37 +02:00
albert-github
4e5578d469
issue #7395 Improvement of layout of model relations
...
- based on review
2023-07-15 13:12:15 +02:00
albert-github
a0320dd7b4
Merge branch 'master' into feature/issue_7395
...
# Conflicts:
# Polyhedron/doc/Polyhedron/Concepts/PolyhedronItems_3.h
2023-07-13 10:33:18 +02:00
albert-github
301728a8a9
issue #7395 Improvement of layout of model relations
...
- Completed the cgalModels part
2023-07-09 12:43:36 +02:00
albert-github
5673ccfc71
Spelling corrections
...
Spelling correction `a edge` to `an edge`
2023-07-06 18:04:38 +02:00
albert-github
ee2a55279d
issue #7395 Improvement of layout of model relations
...
- Completed the cgalHasModel part
- corrected spelling of `Has Model` and `Is Model Of` to `Has model` and `Is model of`
2023-07-06 17:35:34 +02:00
Sébastien Loriot
b66afab814
Merge remote-tracking branch 'sloriot/CGAL-using_c++17_stl' into HEAD
2023-07-05 11:29:35 +02:00
Sébastien Loriot
0ee31a5d4f
remove extra parenthesis
2023-06-19 19:17:49 +02:00
Sébastien Loriot
9cdfe70abb
Merge remote-tracking branch 'sloriot/CGAL-toward_6.0'
2023-06-15 11:34:09 +02:00
Sébastien Loriot
604dcdc435
boost::optional => std::optional
2023-06-15 10:57:09 +02:00
Sébastien Loriot
bbc4d08ee0
Merge remote-tracking branch 'cgal/master' into HEAD
2023-06-15 10:47:07 +02:00
Sébastien Loriot
c8a88b9014
remove CGAL_static_assertion*
2023-06-15 10:42:10 +02:00
Mael Rouxel-Labbé
0acb4e8fce
Add missing closing parenthesis
2023-05-16 15:49:49 +02:00
albert-github
2d60f46985
issue #7231 Improvement of layout of refines relations.
...
- Adjusted cgalRefines according to reviews
- Implemented it in all files
2023-03-14 17:37:50 +01:00
Laurent Rineau
5a20fd8567
Merge pull request #7238 from albert-github/feature/bug_author_consistency
...
Making description of author(s) of a package consistent
2023-02-24 16:14:43 +01: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
albert-github
57e900b47c
Making description of author(s) of a package consistent
...
- use `\cgalPckAuthor` in case of one author
- use of `\cgalPckAuthors` in case of multiple authors
- using in case of multiple authors always `, and `
- in the 1.9.6 `BaseDoxyfile.in` let the `\cgalPckAuthors` point to `\cgalPckAuthor` to get consistent output (not done for other versions as in the past the `ALIASES` could not call one another).
2023-02-02 18:40:44 +01:00
Mael
153c603209
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF
2023-01-27 22:09:02 +01:00
Laurent Rineau
892f53e6be
Update Surface_mesh_simplification/test/Surface_mesh_simplification/test_edge_collapse_Polyhedron_3.cpp
2023-01-12 19:02: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
albert-github
3674c937f7
spelling corrections
...
Some spelling corrections (Directories starting with `M`-` N`),
some backward work
some forward work
2022-11-15 15:21:01 +01:00
albert-github
45478184de
spelling corrections
...
Some spelling corrections (Directories starting with `E`-` L`),
some backward work
some forward work
2022-11-15 13:39:40 +01:00
Mael Rouxel-Labbé
d7b46586a8
Fix double include (also preventing de-activation of [[deprecated]] warnings...)
2022-11-08 14:54:19 +01:00
Mael Rouxel-Labbé
f744b2fbec
Fix placement of [[deprecated]] in old stop predicate aliases
2022-11-08 14:54:19 +01:00
Mael
7a0fbcffd2
Apply fixes from @sloriot
...
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2022-11-07 14:03:54 +01:00
Mael Rouxel-Labbé
a929b4af09
Fix typo
2022-11-04 10:45:50 +01:00
Mael
d9a98ab2b8
Add a depreciation message
2022-11-04 10:26:34 +01:00
Mael
e4c7c2e6ec
Add a depreciation message
2022-11-04 10:25:49 +01:00
Mael Rouxel-Labbé
837573119d
Fix include guard names
2022-11-02 13:55:32 +01:00
Mael Rouxel-Labbé
e64a8d759f
Add a test for new count stop predicates + test deprecated versions
2022-11-02 13:47:41 +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é
23bccfe1aa
Remove obsolete (and wrong) comments
2022-11-02 11:03:41 +01:00
albert-github
bc53c459c7
Obvious spelling error
...
Obvious spelling error: betwen -> between
2022-09-29 12:13:39 +02: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
59566d3fd8
Merge pull request #6800 from sloriot/SMS-test_relax_order
...
SMS test relaxed order
2022-08-29 11:35:49 +02:00
Sébastien Loriot
6d3e8daa9c
test relaxed order
2022-08-16 17:30:40 +02:00
Sébastien Loriot
4f5f8341cc
use std::enable_if_t
2022-06-10 07:37:53 +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
Laurent Rineau
2b9305698d
Merge pull request #6466 from MaelRL/PMP-Hausdorff_more_bug_fixes-GF
...
PMP: more bounded Hausdorff fixes
2022-04-12 16:35:09 +02:00
Mael Rouxel-Labbé
522a88b6bd
Include config.h to get CGAL_DEPRECATED
2022-04-08 11:10:20 +02:00
Mael Rouxel-Labbé
18c5997fe9
Re-enable Hausdorff checks in Surface_mesh_simplification
2022-04-04 15:50:29 +02:00
Mael Rouxel-Labbé
645cb8223f
CGAL::IO > PMP::IO for input robustness
2022-03-31 23:25:36 +02:00
Mael Rouxel-Labbé
776cfd6c90
Do not use diamond inheritance since policies can be inherited by modifiers
...
Modifiers such as Constrained_placement --> the initialization is broken
because the diamond inheritance was implemented using a virtual base
Simply use a common base class.
2022-03-31 23:24:20 +02:00
Sébastien Loriot
763c5e99f4
Merge pull request #6190 from MaelRL/gsoc2021-Surface_mesh_simplification-probabilistic-komaromy
...
Probabilistic surface mesh simplification
2022-03-30 08:05:20 +02:00
Mael Rouxel-Labbé
bf6af28739
Fix conversion warning
2022-03-23 09:37:50 +01:00
Mael Rouxel-Labbé
5da992d6e0
Remove accidental CMakeLists addition
2022-03-23 09:37:25 +01:00
Mael Rouxel-Labbé
98d03987fd
Disable hausdorff information in GH test due to bug in Hausdorff code
2022-03-22 14:35:51 +01:00
Mael Rouxel-Labbé
e2aa7d2718
Fix warnings
2022-03-22 14:35:42 +01:00
Laurent Rineau
b4b874de71
Merge pull request #6398 from GYuvanShankar/feat2
...
Replaced boost::tuple with std::tuple
2022-03-18 15:58:26 +01:00
Mael Rouxel-Labbé
9e8940adcd
Add 'NOTICE'
2022-03-15 11:22:58 +01:00
Mael Rouxel-Labbé
bbc5552399
Fix doc link
2022-03-15 11:20:45 +01:00
Mael
61d9cb6b0e
Apply suggestions from @sloriot's review
...
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2022-03-15 11:12:49 +01:00
Mael Rouxel-Labbé
9f359fc903
Add missing include
2022-03-15 00:13:25 +01:00
Mael Rouxel-Labbé
271589030d
Document GH variations
2022-03-14 22:34:06 +01:00
Mael Rouxel-Labbé
ee123baeb1
Add a figure for Garland-Heckbert simplification
2022-03-14 22:32:28 +01:00
Mael Rouxel-Labbé
db3b725340
Fix typo
2022-03-14 21:54:33 +01:00
Mael Rouxel-Labbé
34c91aba5f
Merge remote-tracking branch 'cgal/master' into gsoc2021-Surface_mesh_simplification-probabilistic-komaromy
2022-03-14 20:55:23 +01:00
Mael Rouxel-Labbé
56a3e64a16
Move GH calculators to internal namespace
2022-03-14 20:51:57 +01:00
Mael Rouxel-Labbé
1020a401c1
Enhance GH example
2022-03-14 20:51:33 +01:00
Mael Rouxel-Labbé
5b34e6a925
Documentation for Probabilistic Garland-Heckbert
2022-03-14 20:50:48 +01:00
Mael Rouxel-Labbé
0f8437c236
Deprecate GarlandHeckbert_policies
...
Use GarlandHeckbert_plane_policies and others
2022-03-14 20:50:29 +01:00
Mael Rouxel-Labbé
f39c1eb966
Add a test for Garland Heckbert policies
2022-03-14 20:42:26 +01:00
G Yuvan Shankar
45193b1487
Replaced boost::tuple with std::tuple
2022-03-10 10:50:06 +05:30
Sébastien Loriot
4a170e9ec0
default NP for non inlined doc
2022-02-28 10:12:09 +01:00
Sébastien Loriot
4328179c18
add missing include statement
2022-01-26 11:23:46 +01:00
Sébastien Loriot
f04cf17d26
fix assertion
2022-01-26 10:47:05 +01:00
Laurent Rineau
3df4df43fc
Merge pull request #5639 from maxGimeno/PMP-Example_of_new_mp_function-maxGimeno
...
Global clean-up of Named Parameters
2022-01-17 15:34:45 +01:00
Sébastien Loriot
c5f78e6a9e
fix warning
2022-01-13 10:16:47 +01:00
Sébastien Loriot
c169c41240
Merge remote-tracking branch 'maxGimeno/PMP-Example_of_new_mp_function-maxGimeno' into HEAD
2022-01-12 13:33:49 +01:00
Sébastien Loriot
75b03e6c0a
use_default_values() -> default_values()
2022-01-10 18:36:37 +01:00
Sébastien Loriot
6d3176e061
move Named_parameters class in STL_extension
...
helpers stay in BGL because it depends on BGL tags
2022-01-07 15:12:22 +01:00
Sébastien Loriot
b04a5f9124
remove overloads with default parameters
2022-01-04 16:14:49 +01:00
Mael Rouxel-Labbé
c54526d91d
Re-add GH_policies.h as simple dispatcher to all specific implementations
2021-12-23 17:47:37 +01:00
Mael Rouxel-Labbé
e28a459c14
Misc cleaning
2021-12-23 17:43:51 +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é
d964ca4e48
Naming consistency
2021-12-22 12:39:53 +01:00
Mael Rouxel-Labbé
b342e11967
Refactor + improvements for Garland Heckbert methods
2021-12-22 12:03:11 +01:00
Mael Rouxel-Labbé
a1b00f9206
Copy property maps
2021-12-22 12:02:53 +01:00
Mael Rouxel-Labbé
9451b14bd5
Fix doc type
2021-12-22 12:02: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
Sebastien Loriot
bd6408a772
Apply suggestions from code review
...
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2021-12-17 10:17:13 +01:00
Sébastien Loriot
b9e2dc625a
add relaxed order as parameter
2021-11-30 17:49:58 +01:00
Sébastien Loriot
c61fdb831b
remove the handle
...
it is not needed as the id map is used to store handles
2021-11-30 13:49:39 +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
Sébastien Loriot
9543deb304
Merge pull request #6046 from MaelRL/PM-Fix_pmaps_reference_types_master-GF
...
Various fixes for property maps (master)
2021-10-29 17:40:15 +02:00
Laurent Rineau
393abddc64
Merge pull request #6042 from sloriot/SMS-expensive_macros
...
Hide expensive assertions behind _expensive_ macros
2021-10-29 16:46:48 +02:00
Laurent Rineau
40771841ca
Merge pull request #6074 from sloriot/SMS-GH_deg_faces
...
Workaround degenerate faces
2021-10-29 16:46:30 +02:00
Sébastien Loriot
72b8f75f48
workaround degenerate faces
2021-10-21 11:21:04 +02: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
Sébastien Loriot
75e6e4500f
hide expensive assertions behind _expensive_ macros
2021-10-11 11:57:24 +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
6992c5273a
replace with a stitched version
2021-10-04 09:32:04 +02:00
Sébastien Loriot
d8cdba669b
rename input
2021-10-04 09:32:03 +02:00
Jane Tournois
fb9d9da2d5
fix ambiguity with C++20
...
The compilation error was
test_edge_collapse_Polyhedron_3.cpp(309,1): error C2872: 'format': ambiguous symbol
2021-08-26 15:57:02 +02:00
Julian Komaromy
0e12e3d162
add disclaimer
2021-08-20 11:39:15 +02:00
Julian Komaromy
3879874387
remove TODOs
2021-08-20 11:35:33 +02:00
Julian Komaromy
55166781e3
remove unused file
2021-08-20 11:35:20 +02:00
Julian Komaromy
390e73d1ba
clean up property maps
2021-08-20 11:35:06 +02:00
Julian Komaromy
7744b38afe
fix calculating row instead of col
2021-08-03 14:49:10 +02:00
Julian Komaromy
61eca278e6
remove unused files
2021-08-02 16:38:02 +02:00
Julian Komaromy
e2054ad648
triangle policies use functions
2021-08-02 16:35:15 +02:00
Julian Komaromy
dccb3ddd5f
change classic plane to use functions
2021-08-02 15:53:42 +02:00
Julian Komaromy
6bcbe45a6f
switch prob plane to use functions
2021-08-02 15:37:39 +02:00
Julian Komaromy
8d16ff5a03
gather quadrics in one file
2021-08-02 12:21:04 +02:00
Julian Komaromy
4304426b14
add hausdorff errors do statistics
2021-07-27 11:06:21 +02:00
Julian Komaromy
78f0b75ce5
add missing include
2021-07-26 16:39:15 +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
Julian Komaromy
ca3a8a68b3
fix out of bounds matrix access
2021-07-12 19:13:06 +02:00
Julian Komaromy
119fea4eb0
add face variance map
2021-07-12 16:51:34 +02:00
Julian Komaromy
3d8f6281f7
add probabilistic triangle quadrics
2021-07-09 16:37:48 +02:00
Julian Komaromy
8947a8fb38
change to average edge length for estimation
2021-07-07 20:54:31 +02:00
Julian Komaromy
c01aea6bf6
revert to constructing inside policy
2021-07-05 18:56:33 +02:00
Julian Komaromy
6c7b4a9824
restructure code, implement tri quadrics
2021-07-05 18:05:50 +02:00
Julian Komaromy
5497c3c556
different quadric generators for face and edges
2021-07-03 12:39:49 +02:00
Julian Komaromy
ae41291ca6
add precondition for positive variances
2021-06-30 18:30:38 +02:00
Mael Rouxel-Labbé
8fb02b2765
Initialize 'dm'
2021-06-30 10:32:36 +02:00
Julian Komaromy
697ab74ee5
estimate by gm and new constructor
2021-06-29 21:12:30 +02:00
Mael Rouxel-Labbé
a97164d5ef
Make estimate_variances static and public
2021-06-29 19:21:26 +02:00
Mael Rouxel-Labbé
cd20c6461e
Remove trailing whitespace
2021-06-29 16:31:20 +02:00
Mael Rouxel-Labbé
a3748b35f8
Remove dead header include
2021-06-29 16:29:40 +02:00
Mael Rouxel-Labbé
4d9ec82b1a
Fix formula for the 'c' coefficient of the quadric
2021-06-29 15:35:18 +02:00
Mael Rouxel-Labbé
2ef3ccdef7
Erase includes to removed header
2021-06-29 15:34:59 +02:00
Mael Rouxel-Labbé
21bf16d4eb
Tiny example improvements
2021-06-29 15:34:39 +02:00