Commit Graph

36 Commits

Author SHA1 Message Date
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
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 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 8145388e4b extended and updated tests for regions and wachspress 2021-05-27 15:09:29 +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 b21ade8beb review second round + fixed errors 2021-05-25 15:41:57 +02:00
Dmitry Anisimov 2100010c11 flattening is moved to internal 2021-05-25 12:15:46 +02:00
Dmitry Anisimov 8e11461025 initial commit with the basic version of the new Weights package 2021-04-22 17:17:56 +02:00