Commit Graph

4663 Commits

Author SHA1 Message Date
Efi Fogel bf4fce5e61 Removed the requirement for Approximate_kernel 2025-01-23 17:23:01 +02:00
Efi Fogel b9915fed10 Fixed typo 2025-01-22 17:09:20 +02:00
Efi Fogel 39192337bd Fixed extending DCEL records for arrangements with history (and similar derivations of Arrangement_2). 2025-01-22 12:43:33 +02:00
Efi Fogel 5706cbd85f Cleaned up 2025-01-22 12:43:19 +02:00
Sébastien Loriot d8106aab4b we now use ctest for testing + extra clean up 2025-01-22 11:42:50 +01:00
Efi Fogel 19954c5d73 Fixed compiler complain about missing return value 2025-01-22 12:37:35 +02:00
Efi Fogel b80e1717cd Cleaned up 2025-01-22 01:28:25 +02:00
Efi Fogel 669d83b469 Merge branch 'master' into Aos_2-traits_concept-efif 2025-01-21 21:30:42 +02:00
Sebastien Loriot 76321c4be1
Aos 2 fixes efif (#8666)
## Fixed the Landmark point-location strategy of the Aos_2 package, so
that it can be applied to arrangements on a sphere.

The title says it all.
I slightly changed one paragraph in the user manual. 
Here is the new version:

The arrangement attached to the landmark strategy must be either (i) an
instance of the `Arrangement_2]<Geom,Dcel>` class template, where the
`Traits` parameter is substituted by a geometry-traits class that models
the `ArrangementLandmarkTraits_2` concept, or (ii) an instance of the
`Arrangement_on_surface_2<GeomTraits,TopolTraits>` class template, where
the `GeometryTraits` is similarly substituted; see Section The Landmark
Concept for details about this concept.

## Release Management

* Affected package(s): Arrangement_on_surface_2
* Issue(s) solved (if any): NA
* Feature/Small Feature (if any): NA
* Link to compiled documentation: Changed one paragraph; see above.
* License and copyright ownership: TAU
2025-01-20 10:05:42 +01:00
Efi Fogel f6b935401e Further pacify msvc; replaced auto with actual type (Inner_ccb_const_iterator) 2025-01-16 19:05:22 +02:00
Laurent Rineau d4e6ffddf4 fix protection against min/max macros
The regular expression I used was:

```
((?!(?:^.*(\/\/|\/\*).*|^ *\* .*|^[^"]*"(?:"[^"]*"|[^"])*))^(?:.*[ ,\(]|))(\b(?:(?:[A-Za-z]+::)*)(?:max|min))\b *\(
```
2025-01-14 16:12:34 +01:00
Efi Fogel de7c24ad03 Pacify msvc; replaced auto with actual type (Isolated_vertex_const_iterator) 2025-01-09 20:34:12 +02:00
Efi Fogel df1179889c Made the Base type public and fixed the Approximate_2 operator that operates on x-monotone curves 2024-12-30 00:57:16 +02:00
albert-github 18de530a00 Add missing closing grouping commands
For consistency also updated Arrangement_on_surface_2/include/CGAL/Arr_conic_traits_2.h
2024-12-26 11:06:24 +01:00
albert-github aaa6adb7c1 In a number of cases the command `@{` (or `\{`) is not closed by a corresponding closing command (`@}`). For the `\=name` command this is apparently not necessary but it is better to have corresponding open and close commands.
(also corrected a split in a line that I noticed in Arrangement_on_surface_2/doc/Arrangement_on_surface_2/CGAL/Arr_conic_traits_2.h)
2024-12-25 15:09:57 +01:00
Efi Fogel 604bac4dad Activate the landmark point-location 2024-12-18 17:25:26 +02:00
Efi Fogel 98b1fd8063 Removed erroneous and useless construct 2024-12-18 17:25:02 +02:00
Efi Fogel 52e8d15de2 Enhanced the description of the landmark point-location strategy 2024-12-17 23:12:04 +02:00
Efi Fogel 8570eb2cfa Merge branch 'master' into Aos_2-fixes-efif 2024-12-17 21:48:30 +02:00
Sébastien Loriot b32558b87e Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2024-12-16 11:47:34 +01:00
Sebastien Loriot 68705288b0
LaTeX compliance for formulas and errors in bibliography (#8636)
Correction of incorrect usage of LaTeX in formulas and bibliography
altough MatHJax and bibtex.pl doesn't always signal it.
- Incorrect biblio entry (missing `,` and `}`)
  - Documentation/doc/biblio/geom.bib
- `&nbsp` is not correct LaTeX has to be `~`
-
Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Arrangement_on_surface_2.txt
  - Documentation/doc/Documentation/Developer_manual/Chapter_intro.txt
- Incorrect formula regarding usage of `\left` and `\right` (also
signaled by MathJax
-
Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Arrangement_on_surface_2.txt
- `DeclareMathOperator` is a command that should be in the preamble,
alternatively the command `\operatorname` can be used explicitly (as
done here as it is only used once)
-
Kinetic_surface_reconstruction/doc/Kinetic_surface_reconstruction/Kinetic_surface_reconstruction.txt
- Latex has problems with `_` in a `text...` command so it should be
escaped though this gives problems with MathJax hence the extra hook.
MathJax reference:
https://groups.google.com/g/mathjax-users/c/wSh6-hSIUpQ/m/KmzZhQQGslgJ
  - Documentation/doc/resources/1.10.0/CGAL_mathjax.js
  - Documentation/doc/resources/1.8.13/CGAL_mathjax.js
  - Documentation/doc/resources/1.9.6/CGAL_mathjax.js
  - Weights/include/CGAL/Weights/authalic_weights.h
2024-12-10 16:28:03 +01:00
albert-github ad4c681782 Spelling correction
Spelling correction
2024-12-04 14:19:02 +01:00
Sebastien Loriot ca8898c156
Aos 2 metadata traits decorators efif (#8592)
## Summary of Changes

Introduces two traits decorators, namely `Arr_tracing_traits_2` and
`Arr_counting_traits_2`, which can be used to extract debugging and
informative metadata about the traits in use while the program is being
executed. They have been part of the CGAL distribution for several years
now . (Probably more than a decade.) I gave it a face lift, wrote the
necessary documentation, and added a small example program called
count_and_trace.cpp.

## Release Management

* Affected package(s): 2D Arrangements (Arrangement_on_surface_2)
* Issue(s) solved (if any): NA
* Feature/Small Feature (if any): Aos 2 Metadata Traits Decorators --
**Pre-approval date 2024/11/12**
* Link to compiled documentation (obligatory for small feature)
[Manual](https://www.cs.tau.ac.il/~efif/doc_output9/Arrangement_on_surface_2/)
* License and copyright ownership: TAU
2024-12-04 14:06:12 +01:00
Sebastien Loriot de60668b83
typo 2024-12-04 13:56:39 +01:00
albert-github 5c98f77ba2 LaTeX compliance for formulas and errors in bibliography
Correction of incorrect usage of LaTeX  in formulas and bibliography altough MatHJax and bibtex.pl doesn't always signal it.
- Incorrect biblio entry (missing `,` and `}`)
  - Documentation/doc/biblio/geom.bib
- `&nbsp` is not correct LaTex has to be `~`
  - Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Arrangement_on_surface_2.txt
  - Documentation/doc/Documentation/Developer_manual/Chapter_intro.txt
- Incorrect formula regarding usage of `\left` and `\right` (also signaled by MathJax
  - Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Arrangement_on_surface_2.txt
- `DeclareMathOperator` is a command that should be in the preamble, alternatively the command `\operatorname` can be used explicitly (as done here as it is only used once)
  - Kinetic_surface_reconstruction/doc/Kinetic_surface_reconstruction/Kinetic_surface_reconstruction.txt
- Latex has problems with `_` in a `text...` command so it should be escaped though this gives problems with MathJax hence the extra hook.
  MathJax reference: https://groups.google.com/g/mathjax-users/c/wSh6-hSIUpQ/m/KmzZhQQGslgJ
  - Documentation/doc/resources/1.10.0/CGAL_mathjax.js
  - Documentation/doc/resources/1.8.13/CGAL_mathjax.js
  - Documentation/doc/resources/1.9.6/CGAL_mathjax.js
  - Weights/include/CGAL/Weights/authalic_weights.h
2024-12-02 14:58:15 +01:00
Laurent Rineau 2b0c79e85a update reuse to v5 2024-11-26 10:14:17 +01:00
Efi Fogel 54a05c2a1f Fixed for arrangement on sphere; cleaned up. 2024-11-16 22:12:56 +02:00
Efi Fogel 8e5b107abc Specifically used "unsigned long long" to store the flags. 2024-11-14 12:08:46 +02:00
Efi Fogel ddeaeb497a Cleaned up 2024-11-13 18:35:18 +02:00
Efi Fogel 462532edab Fixed tense on manual of functions 2024-11-13 03:51:10 +02:00
Efi Fogel 85667b524d Fixed typo 2024-11-13 03:25:54 +02:00
Efi Fogel 7819ffa00b Merge branch 'Aos_2-metadata_traits_decorators-efif' of github.com:efifogel/cgal into Aos_2-metadata_traits_decorators-efif 2024-11-12 15:31:11 +02:00
Efi Fogel f9213fafdd Basic fixes 2024-11-12 15:30:50 +02:00
Sébastien Loriot 982ca628e2 remove tabs 2024-11-12 13:57:53 +01:00
Efi Fogel 661b7185f1 Fixed comments: added code-escape and latex-escape symbols. 2024-11-10 12:31:22 +02:00
Efi Fogel bb16c9b1e8 Fixed typos (pointed out by Sebstien) 2024-11-07 19:21:40 +02:00
Efi Fogel 5a672aadbc Fixed return type 2024-11-06 17:29:21 +02:00
Efi Fogel c9f343eb50 Merge branch 'master' into Aos_2-metadata_traits_decorators-efif 2024-11-06 17:29:09 +02:00
Sébastien Loriot 3d2d1782cd Merge remote-tracking branch 'cgal/6.0.x-branch' 2024-11-05 17:09:53 +01:00
Sebastien Loriot 317700680e
Fixed the code that computes intersection (#8525)
Fixed the code that computes intersections in the polycurve traits
(Arr_polycurve_traits_2).

## Summary of Changes

The code of the Intersection_2 functor was developed from scratch.
The old code only supported polylines (by mistake), that is, chains of
segments.
The new code supports intersections of chains of any type of sub-curves.
It turns out that the new code is ~15% more efficient.
While at it, I replaced 'typedef' statements with modern 'using'
statements.

## Release Management

Apparently, there is no "CHANGES.md" file yet for 6.1, so I'll add an
entry that informs about this fix after it is introduced (to 'master'
and 'master' is merged to this branch.)

* Affected package(s): Arrangement_on_surface_2
* Issue(s) solved (if any): fix #8468
* Feature/Small Feature (if any):
* Link to compiled documentation (obligatory for small feature) [*wrong
link name to be changed*](httpssss://wrong_URL_to_be_changed/Manual/Pkg)
* License and copyright ownership: TAU
2024-11-05 17:09:09 +01:00
Sebastien Loriot 1690619625
CGAL: Modernize CMakeLists.txt (#8528)
## Summary of Changes

- Changed `PUBLIC` to `PRIVATE`  in the `target_link_libraries()`
- ~~Link against `Boost::<COMPONENT>`~~ as we do more than just linking
and must use the `CGAL::_.._support`
- Use `target_compile_definitions()` and `add_compile_definitions()`

More to be done.

## Release Management

* Affected package(s): all
* Issue(s) solved (if any): fix one item of  #4815
* License and copyright ownership: unchanged
2024-10-31 10:32:25 +01:00
Sébastien Loriot fb605cdd39 remove -D that is not compatible with "older" cmake versions 2024-10-22 08:19:49 +02:00
Sébastien Loriot b10841c72b Merge pull request #8532 from afabri/CGAL-duplicateLines-GF
Duplicate Lines
2024-10-21 19:18:02 +02:00
Sébastien Loriot 7c4badc67c Merge pull request #8501 from afabri/CGAL-assert-GF
assert() ->  CGAL::assertion()
2024-10-21 19:17:21 +02:00
Sébastien Loriot ba70570ba4 Merge pull request #8492 from afabri/AoS-mix_pre_post_conditions-GF
Arrangements:  Unify mix of pre and post condition macros
2024-10-21 19:15:57 +02:00
Laurent Rineau fb2a9eac90 Merge remote-tracking branch 'cgal/master' into pr/afabri/8528 2024-10-21 16:32:51 +02:00
Sébastien Loriot 1937666efe Merge pull request #8477 from efifogel/Aos_2-polygeodesic-efif
Poly-geodesic arc Handling
2024-10-18 18:01:20 +02:00
Laurent Rineau 96cd3e6f09 Merge remote-tracking branch 'cgal/master' into pr/afabri/8528 2024-10-17 00:25:24 +02:00
Sebastien Loriot ef659a464b
fix typo
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2024-10-15 09:29:48 +02:00
Sven Oesau a06002ab2b Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2024-10-14 14:42:46 +02:00
Andreas Fabri 2e4cff1586 Change _check_pt_arcno_and_coprimality(q, -1, c); 2024-10-09 17:17:26 +01:00
Andreas Fabri 7572aee9ae Cartesian -> SimpleCartesian plus accidentally WS 2024-10-09 16:36:13 +01:00
Andreas Fabri 9e75ab340d Use add_compile_definitions 2024-10-09 11:58:52 +01:00
Andreas Fabri 527569346e CGAL: Modernize CMakeLists.txt 2024-10-08 17:02:41 +01:00
Efi Fogel a1a29ee05e Added a comment 2024-10-08 10:59:17 +03:00
Efi Fogel aab1897b7d Fixed the code that computes intersection 2024-10-07 17:38:19 +03:00
albert-github dd02af92a2 issue #8515 Spelling mistakes found checking `en-GB` to `en-US`
Spelling corrections, `en-GB` -> `en-US`
2024-10-05 11:28:29 +02:00
Andreas Fabri 782e741310 CGAL: assert() -> CGAL::assertion() 2024-09-27 13:00:15 +01:00
Andreas Fabri 4b17391d0e Arrangmement: Use precondition_code if later comes a precondition 2024-09-24 15:21:23 +01:00
Efi Fogel 2b5b7cea00 Fixed return type of operators of Construct_{min,max}_vertex_2 2024-09-16 19:51:30 +03:00
Efi Fogel 8644a3d483 Added support for construct_point_2 2024-09-11 10:45:09 +03:00
Efi Fogel 9393be4029 Cleaned up 2024-09-09 23:08:58 +03:00
Efi Fogel 791c0ad051 Cleaned up 2024-09-09 22:55:52 +03:00
Efi Fogel 87ae85e050 Fixed mixup between equal-points and equal-curves counters 2024-09-09 22:55:17 +03:00
Efi Fogel c1deec6c3d Fixed more typos when computing the direction 2024-09-09 18:36:15 +03:00
Efi Fogel 49eebabbfa Added missing reference in passed parameters 2024-09-09 17:46:14 +03:00
Efi Fogel 22e73c9eaa Fixed typos 2024-09-09 16:34:45 +03:00
Efi Fogel d226b11a56 Fixed bug in Compare_y_near_boundary 2024-09-09 15:57:51 +03:00
Efi Fogel a6c965b87f Further clean up 2024-09-09 15:25:21 +03:00
Efi Fogel 7e11bd0c7e Further clean up 2024-09-09 14:04:42 +03:00
Efi Fogel 45143bb138 Cleaned up. Added missing functors. Fixed some issues with functors that accept points, which could lie on the boundary of the parameter space. 2024-09-09 13:18:14 +03:00
Efi Fogel 977b7906b9 Used locate_impl(p, ...) instead of locate(p, ...) in case p is on the boundary of the parameter space. 2024-09-09 13:16:47 +03:00
albert-github 37218301bb Spelling corrections
Spelling corrections
2024-09-02 12:32:30 +02:00
Efi Fogel 4df46ba01f Added std namespace to size_t 2024-08-29 19:11:45 +03:00
Efi Fogel 24400d8226 Changed prefix of names of concepts Arrangement... => Aos... 2024-08-28 21:34:54 +03:00
Efi Fogel d2eda3e94a Updated figures; changed prefix of concepts Arrangement... => Aos... 2024-08-28 20:43:03 +03:00
Efi Fogel d8e4cc40be Introduced new concept AosApproximateTraits_2 2024-08-28 19:38:52 +03:00
Efi Fogel 37e892df1d Fixed typo 2024-08-28 17:25:11 +03:00
Efi Fogel 35321e38ba Renamed concept AosApproximateTraits_2 => AosApproximatePointTraits_2 to make room for the new AosApproximateTraits_2 concept 2024-08-28 15:49:05 +03:00
Efi Fogel b2b34c124d Replaced prefix of concept names Arrangement => Aos. Applied small fixes and generall clean ups 2024-08-28 15:39:48 +03:00
Efi Fogel 303af026ee Replaced Arrangement prefix of concepts to Aos and cleaned up 2024-08-27 01:50:10 +03:00
Sebastien Loriot fb9120fb30
Remove outdated Qt version checks (#8402)
## Summary of Changes

This PR removes outdated conditional blocks that check for specific Qt
versions since CGAL now uses Qt6 exclusively.

## Release Management

* Issue(s) solved (if any): #8381
2024-08-26 15:23:54 +02:00
Efi Fogel cbdadd46f3 Fixed spelling 2024-08-26 13:42:53 +03:00
Efi Fogel b80737e72a Added documentation for the metadata traits decorators Arr_tracing_traits_2 and Arr_counting_traits_2 2024-08-25 16:51:34 +03:00
Efi Fogel 8b6fde416d 1st revision 2024-08-25 16:45:24 +03:00
Efi Fogel 470909b77b Merge branch 'master' into Aos_2-metadata_traits_decorators-efif 2024-08-25 13:18:32 +03:00
Efi Fogel e36db6e4de 1st revision 2024-08-25 13:11:33 +03:00
Efi Fogel 9055efd3b1 Cleaned up and enhanced metadata decorator traits 2024-08-25 12:26:04 +03:00
Sebastien Loriot 2bc86f90ca
keep correct variant 2024-08-19 12:54:46 +02:00
Nicolas Saillant 1286d8b636 Remove deprecated Qt version checks 2024-08-19 12:02:19 +02:00
Sebastien Loriot 47c417a785
Deal with duplicate lines (#8396)
## Summary of Changes

Deal with Issue #8348 

## Release Management

* Affected package(s):  Triangulation_2 and Periodic_triangulation_2
* Issue(s) solved (if any): fix #8348 
* License and copyright ownership:  unchanged
2024-08-19 11:17:50 +02:00
Nicolas Saillant 926dab060e Reintroduce QPainterPath reset logic 2024-08-19 09:43:55 +02:00
Andreas Fabri 12468ccf4a Address #8401 2024-08-09 11:32:26 +01:00
Nicolas Saillant bf10f945a9 Remove deprecated Qt version checks and unused code 2024-08-07 10:00:59 +02:00
albert-github a0e7a6e4e4 Spelling corrections
Spelling corrections
2024-06-25 15:52:27 +02:00
Mael Rouxel-Labbé 67aba3fefe Merge remote-tracking branch 'cgal/master' into gsoc2022-isosurface 2024-06-20 10:18:49 +02:00
Laurent Rineau 32893b91c0 Merge pull request #8263 from lrineau/CGAL-update_minimal_cmake-GF
cmake_minimum_required(VERSION 3.12...3.29)
2024-06-12 10:06:12 +02:00
albert-github 5651f367b3 Spelling correction
Spelling correction
2024-06-10 19:02:05 +02:00
Laurent Rineau 3a223ebd1e cmake_minimum_required(VERSION 3.12...3.29) 2024-06-06 20:19:44 +02:00
albert-github 2a46e6bcfe Spelling correction
Oops a small vi typo hitting the `.` at the wrong moment
2024-05-30 19:20:57 +02:00