Commit Graph

154 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé 82c0d0686e Add missing typedef 2022-10-21 11:23:45 +02:00
Mael Rouxel-Labbé 6a694366f0 Remove trailing whitespace 2022-10-21 10:34:13 +02:00
Mael Rouxel-Labbé 6a5f099f41 Add a test 2022-10-21 00:05:30 +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é f4f6229c42 Weights examples/tests improvements 2022-10-20 17:34:02 +02:00
Mael Rouxel-Labbé 59f2021eaf Update Weights doc figure to use compatible notations 2022-10-20 17:32:20 +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
Laurent Rineau b2f661f2dc Fix dependencies
For Periodic and SMDS_3, that is just the change of the order, using
the `C` locale (`export LC_ALL=C`).

For Weights and Shape_regularization... how come the file are missing?!
2022-09-21 14:38:09 +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
Mael Rouxel-Labbé 28ba446895 Clean (some) CMakeLists.txt indentation 2022-09-06 15:38:18 +02:00
Laurent Rineau 371ce51842 Merge pull request #6667 from sloriot/CGAL-please_intel_2019
Please intel 2019 compiler
2022-06-29 09:50:48 +02:00
Sébastien Loriot 62936f8ee7 please intel 2019 compiler 2022-06-13 17:01:35 +02:00
Laurent Rineau 734c96e951 Merge branch 'master' into pr/lrineau/6558 2022-05-06 16:25:32 +02:00
Laurent Rineau 303a5d2ea3 Merge pull request #6553 from sloriot/CGAL-do_not_set_CXX_standard
Do not set cxx standard in the final target cmake script
2022-05-06 14:20:43 +02:00
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Sébastien Loriot 57722d189d do not set cxx standard in the final target cmake script 2022-05-04 10:37:02 +02:00
albert-github ba4f8941b7 Incorrect reference to demo zip file
Due to the fact that an `ALIASES` is used the space will also be part of the file name and thus the link will, incorrectly be `` instead of `https://www.cgal.org/demo/5.5/polyhedron_3.zip`
2022-04-21 11:40:55 +02:00
Andreas Fabri c725bcfc4f Deal with Weights 2022-01-19 07:33:31 +00:00
Laurent Rineau 4d38f2b7b3 Merge pull request #6114 from sloriot/CGAL-cmake_clean_up
Clean cmake scripts of examples and tests
2021-11-18 12:27:19 +01:00
Mael Rouxel-Labbé e64089d690 Fix Heat Method & Weights package labels 2021-11-10 21:02:32 +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 513d67d957 update version requirements 2021-11-09 10:07:25 +01: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 9e201c8fda renamed logo 2021-08-13 10:14:27 +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 c975eddf13 Merge remote-tracking branch 'origin/master' into Weights-unification-danston 2021-08-12 13:29:26 +02:00
Sébastien Loriot f0c0c90f85 fix doc errors 2021-08-04 20:37:04 +02:00
Dmitry Anisimov 992b3988e6 Merge remote-tracking branch 'origin/Weights-new_package-danston' into Weights-unification-danston 2021-08-04 16:06:52 +02:00
Dmitry Anisimov bb1f492e65 use correct version of eigen 2021-08-04 16:06:32 +02:00
Dmitry Anisimov 1b80475510 Merge remote-tracking branch 'origin/Weights-new_package-danston' into Weights-unification-danston 2021-08-04 15:55:58 +02:00
Dmitry Anisimov fb9b9733f6 added missing components 2021-08-04 15:55:35 +02:00
Dmitry Anisimov 4acac42b03 Merge remote-tracking branch 'origin/Weights-new_package-danston' into Weights-unification-danston 2021-08-04 15:46:52 +02:00
Dmitry Anisimov 2bbf87fa53 make eigen quiet 2021-08-04 15:45:44 +02:00
Dmitry Anisimov 0017335dea Merge remote-tracking branch 'origin/Weights-new_package-danston' into Weights-unification-danston 2021-08-04 15:12:54 +02:00
Dmitry Anisimov 551c3141e2 fixed cmakelists 2021-08-04 15:10:53 +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 22ff1f3547 removed todo 2021-06-30 10:56:25 +02:00
Dmitry Anisimov ebef1cc7d4 better explained edge cases 2021-06-30 10:33:35 +02:00
Dmitry Anisimov 686309a17d using double numbers in examples 2021-06-29 17:03:52 +02:00
Dmitry Anisimov 80cd3411df better description of the analytic weight traits 2021-06-29 16:58:41 +02:00
Dmitry Anisimov e012dad4c1 added a comment to internal functions 2021-06-29 16:55:31 +02:00
Dmitry Anisimov 5126f83dbf missing projection traits as model of analytic weights 2021-06-28 15:06:15 +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 1d5ef23cb7 removed some conversions from double to FT in examples 2021-06-25 10:45:02 +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
Dmitry Anisimov ca661e3eb7 added weights concept dependency to Kernel_23 2021-06-24 17:03:28 +02:00
Dmitry Anisimov ce382b414f fixed typos 2021-06-11 14:27:57 +02:00
Dmitry Anisimov c5c9d6c37c fixed doxygen warnings for deprecated weights 2021-06-11 14:13:03 +02:00
Dmitry Anisimov 20baa77b26 fixed license 2021-06-11 13:33:51 +02:00
Dmitry Anisimov 55ea347168 making query point type equal to point range value type 2021-06-09 17:23:41 +02:00
Dmitry Anisimov 3570601849 moving internal weights from tools to the correct headers 2021-06-09 14:15:19 +02:00
Dmitry Anisimov e681e3ced1 using global functions in tools 2021-06-07 15:48:42 +02:00
Dmitry Anisimov 665e615533 fixed call to the area 3 2021-06-07 15:22:03 +02:00
Dmitry Anisimov 01171f91fc using different version of the voronoi area in the tools 2021-06-07 14:38:18 +02:00
Dmitry Anisimov 2638c59b7c explicit call to weights in tools 2021-06-04 13:51:01 +02:00
Dmitry Anisimov 3d4c9676b8 added uniform weight fairing to tools + removed duplicate uniform weights 2021-06-04 12:34:41 +02:00
Dmitry Anisimov 7f96109747 updated tools 2021-06-03 16:32:48 +02:00
Dmitry Anisimov ea612fa699 fixed tools 2021-06-03 12:06:55 +02:00
Dmitry Anisimov fe3317c92f mael's review 2021-06-01 12:26:57 +02:00
Dmitry Anisimov f63e34fca7 removed all notes about flattening from both user and ref manuals 2021-05-31 18:55:29 +02:00
Dmitry Anisimov c4ab20e8b2 better user manual 2021-05-31 11:18:53 +02:00
Dmitry Anisimov f0563a790a improved user manual 2021-05-31 10:53:54 +02:00
Dmitry Anisimov 815b8e3435 better explained coplanarity case 2021-05-31 10:34:55 +02:00
Dmitry Anisimov 424d0b2686 finished projected traits test 2021-05-28 13:41:38 +02:00
Dmitry Anisimov 91c8a92ff7 more general tangent weights (works both with pos and neg cases) + projected traits tests 2021-05-28 13:32:07 +02:00
Dmitry Anisimov 00f9d9bf0b added barycentric properties test to analytic weights 2021-05-28 11:26:38 +02:00
Dmitry Anisimov 3d11a461d7 updated docs with edge cases 2021-05-27 17:39:11 +02:00
Dmitry Anisimov f8dd21306c updated tests 2021-05-27 17:12:05 +02:00
Dmitry Anisimov a74a0df39a finished tests for all other weights 2021-05-27 16:58:54 +02:00
Dmitry Anisimov 8145388e4b extended and updated tests for regions and wachspress 2021-05-27 15:09:29 +02:00
Dmitry Anisimov eb1545778d added analytic, region, and barycentric weight tests 2021-05-26 18:47:20 +02:00
Dmitry Anisimov 7022e4762c added simple authalic weight test 2021-05-25 17:20:19 +02:00
Dmitry Anisimov 1ac85991b7 removed internal projection traits and examples changed to projection traits xy 2021-05-25 17:00:47 +02:00
Dmitry Anisimov 2e010c2ccf changed internal projection traits to the tri one 2021-05-25 15:56:22 +02:00