Commit Graph

70 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé 613e629524 ie > i.e. 2025-03-28 21:04:43 +01:00
Sébastien Loriot 06b511cc65 Merge pull request #6088 from sloriot/PMP-add_discrete_curvature
Add functions to compute discrete curvatures
2025-02-12 21:22:40 +01:00
Mael Rouxel-Labbé 38142206b6 Do not use an inexact SQRT if an exact one exists 2024-12-10 21:18:28 +01:00
Mael Rouxel-Labbé 5ece39385f Fix placement of assertion 2024-12-10 21:18:11 +01:00
Mael Rouxel-Labbé 373ad84461 Improve discrete curvature implementation 2024-12-10 21:17:36 +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 621859b526 Rename Polyhedron demo to CGAL Lab
And announce it in the `CHANGES.md`.
2024-04-18 12:39:30 +02:00
Jane Tournois 7ca00f90ef add missing includes (not included by helpers.h anymore) 2024-03-06 16:12:53 +01:00
albert-github 301728a8a9 issue #7395 Improvement of layout of model relations
- Completed the cgalModels part
2023-07-09 12:43:36 +02:00
Mael Rouxel-Labbé 3abb7366d5 Try to fix compatibility between Weights and OpenMesh 2022-11-22 17:46:01 +01:00
Mael Rouxel-Labbé b603aab680 Fix syntax 2022-11-09 09:55:29 +01:00
Mael Rouxel-Labbé dd249a21f8 Fix intercompatiblity between APIs of Cotangent_weight 2022-11-08 16:08:00 +01:00
Mael Rouxel-Labbé 7163a188d3 Remove unused typedefs 2022-11-08 14:45:12 +01:00
Mael Rouxel-Labbé 72fdfbeb18 Some const correctness + don't take pmaps by ref 2022-11-08 14:44:57 +01:00
Mael Rouxel-Labbé f0443a6ab3 Rework as to not break the Surface_mesh_deformation weight concept 2022-11-08 14:43:19 +01:00
Mael Rouxel-Labbé 88b3d0ab88 Fix compilation 2022-10-21 14:32:42 +02:00
Mael Rouxel-Labbé 8d7669d559 Test alternate API + add missing typedef 2022-10-21 12:15:03 +02:00
Mael Rouxel-Labbé b0c183fc3d Add missing typedef 2022-10-21 12:07:12 +02:00
Mael Rouxel-Labbé 82c0d0686e Add missing typedef 2022-10-21 11:23:45 +02:00
Mael Rouxel-Labbé 0d00ad237b Remove needless normalization calls 2022-10-21 00:05:20 +02:00
Mael Rouxel-Labbé b9e7c2aa13 Misc minor fixes 2022-10-20 17:35:19 +02:00
Mael Rouxel-Labbé 0640470f5d Hide pmp_weights_deprecated.h behind CGAL_NO_DEPRECATED_CODE 2022-10-20 17:34:34 +02:00
Mael Rouxel-Labbé 7eb3002790 Avoid computing all angles if possible 2022-10-20 17:25:52 +02:00
Mael Rouxel-Labbé 670fec5e3c Fix issues in tangent_weight classes
- Edge_tangent_weight returns 0 if the halfedge is border
- if opp(h, mesh) is tangent, properly returns tan of the HALF angle
  and not tangent_3.
2022-10-20 17:24:40 +02:00
Mael Rouxel-Labbé 92ea84d672 Factorize cotangent_weight classes 2022-10-20 17:23:11 +02:00
Mael Rouxel-Labbé 9ab7e1ed7f Misc minor code cleaning 2022-10-20 17:21:43 +02:00
Mael Rouxel-Labbé 5f89766c5c Uniformize notations across the package + re-introduce documentation 2022-10-20 17:19:40 +02:00
Mael Rouxel-Labbé 15de97faf1 Re-organize internal functions and use usual APIs 2022-10-17 21:40:05 +02:00
Mael Rouxel-Labbé 72163bc009 Simply weight computations and use documentation variable names 2022-10-17 17:54:01 +02:00
Mael Rouxel-Labbé 85132eea04 More re-indentation 2022-10-17 17:02:29 +02:00
Mael Rouxel-Labbé 9a438b26c4 Use fewer 'auto's 2022-10-17 16:48:56 +02:00
Mael Rouxel-Labbé d20475f322 Add missing includes in Weights 2022-10-17 16:29:32 +02:00
Mael Rouxel-Labbé e0e0c4d54b Remove old doc (new one to be re-added directly on the functions) 2022-10-17 16:25:36 +02:00
Mael Rouxel-Labbé fd6745af62 Use a more standard indentation in Weights/include 2022-10-17 16:20:48 +02:00
Mael Rouxel-Labbé 2a679483b2 Fix ARAP post processing
The formula of weights is "- tan(theta / 2) / length", with:
 tan ( theta / 2 ) = sin ( theta ) / ( 1 + cos ( theta ) )
                   = ( 2 * A / |v1| * |v2| ) / ( 1 + v1 . v2 / |v1| * |v2| )
		   = 2 * A / ( |v1| * |v2| + v1 . v2 )

with A the _unsigned_ area.
2022-10-16 16:22:29 +02:00
Sébastien Loriot 62936f8ee7 please intel 2019 compiler 2022-06-13 17:01:35 +02:00
Sébastien Loriot 12bf0e9c60 switch to LGPL 2021-10-18 17:37:27 +02:00
Dmitry Anisimov 936968fb4f Merge remote-tracking branch 'origin/master' into Weights-unification-danston 2021-09-06 10:38:24 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Dmitry Anisimov f2af481028 fixed assertions in utils 2021-08-20 10:27:04 +02:00
Dmitry Anisimov 33e5c930d9 removed polygon utils dependency 2021-08-13 10:12:55 +02:00
Dmitry Anisimov b05467ff60 split utils into utils and polygon utils 2021-08-13 09:58:47 +02:00
Dmitry Anisimov 9e89439645 user-defined mv weight is replaced with the edge tangent weight 2021-08-04 13:57:30 +02:00
Dmitry Anisimov 350234abb6 skipping useless headers in the convenience header 2021-06-30 11:54:49 +02:00
Dmitry Anisimov e012dad4c1 added a comment to internal functions 2021-06-29 16:55:31 +02:00
Dmitry Anisimov 649db1ffdb added missing includes in the docs + convenience header 2021-06-28 14:29:10 +02:00
Dmitry Anisimov 9ccbea002d undocumenting utils with tangent and cotangent 2021-06-25 14:34:58 +02:00
Dmitry Anisimov b66b71aabc added doxygen comment to Weights.h 2021-06-25 11:18:13 +02:00
Dmitry Anisimov a25a58323e secure -> clamped 2021-06-24 17:16:05 +02:00
Dmitry Anisimov ab9a80cd0d renamed depr weights header 2021-06-24 17:10:16 +02:00