cgal/Weights/include/CGAL
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
..
Weights Fix ARAP post processing 2022-10-16 16:22:29 +02:00
Weights.h switch to LGPL 2021-10-18 17:37:27 +02:00