Mael Rouxel-Labbé
3c9c0dae52
Remove undocumented functors from traits
2023-03-03 02:10:47 +01:00
Mael Rouxel-Labbé
fd770a9763
Fix debug code + debug code improvements
2023-03-03 02:10:47 +01:00
Mael Rouxel-Labbé
63b7f9cb33
Replace archaic traits usage with _object() (which the concept requires)
2023-03-03 02:10:43 +01:00
Mael Rouxel-Labbé
f0705a1cbe
Improve print_straight_skeleton()
2023-03-03 02:04:32 +01:00
Mael Rouxel-Labbé
dd68a769b0
Make doc a little more readable
2023-03-03 02:04:12 +01:00
Mael Rouxel-Labbé
a00b48a3c6
Harmonize regardless of the weight (since unweighted line coeffs are stored)
2023-03-01 13:46:48 +01:00
Mael Rouxel-Labbé
9182cf5ddd
Fix issues in the documentation of CGAL::Straight_skeleton_2<K>
2023-03-01 13:46:18 +01:00
Mael Rouxel-Labbé
6452ad0e41
Do not take SLS weights (speed ranges) by reference
2023-02-28 16:46:30 +01:00
Mael Rouxel-Labbé
d3398ce00d
Allow downward extrusion
2023-02-28 16:46:30 +01:00
Sébastien Loriot
6043192a90
fix CI and be more strict also on the operator() call
2023-02-28 16:46:30 +01:00
Mael Rouxel-Labbé
21657c7de3
Fix bad change from 4dfd622
2023-02-28 16:46:30 +01:00
Mael Rouxel-Labbé
52f810d8bd
Rename variable
2023-02-28 16:46:30 +01:00
Mael Rouxel-Labbé
baebae65b5
Dump outputs in taper testsuite
2023-02-28 16:46:23 +01:00
Mael Rouxel-Labbé
3376fea4a5
Add a bunch of tests for SLS extrusion
2023-02-24 18:52:10 +01:00
Mael Rouxel-Labbé
90877e18b5
Add SLS/extrude_skeleton.h
2023-02-24 18:50:53 +01:00
Jane Tournois
036ddc57cc
differentiate between cref and ref in compatibility wrapper
2023-02-24 13:53:15 +01:00
Sébastien Loriot
39de8cb718
also allow non-const reference
2023-02-24 13:11:46 +01:00
Mael Rouxel-Labbé
fdf1823336
Fix offset point coordinates
2023-02-23 14:48:45 +01:00
Mael Rouxel-Labbé
39ec19b940
Clarify comment
2023-02-23 11:23:23 +01:00
Mael Rouxel-Labbé
d7eaa7782e
Give more (visual) breathing room by increasing the weights of the outer frame
...
This is purely cosmetic, it makes it so the bisectors of the input polygon
will end closer to the outer frame (a larger weight means one's face
is smaller).
2023-02-23 11:15:09 +01:00
Mael Rouxel-Labbé
b3523fd879
Misc debug improvements
2023-02-23 11:14:48 +01:00
Mael Rouxel-Labbé
f7533877e2
Fix offset point construction not taking weights into account in collinear cases
2023-02-23 11:13:28 +01:00
Mael Rouxel-Labbé
e9e6c35eea
Temporarily disable split event filtering (currently broken for weighted SLS)
2023-02-23 10:37:25 +01:00
Mael Rouxel-Labbé
4952eb2ac7
Remove intrinsic assertions
...
Never used + has false negatives
2023-02-23 10:35:29 +01:00
Mael Rouxel-Labbé
8d5484919a
Fix compilation
2023-02-22 14:47:50 +01:00
Mael Rouxel-Labbé
8782d12930
Implement split event filtering for weighted SLS
2023-02-22 14:30:22 +01:00
Mael Rouxel-Labbé
5ceb8227df
Fix missing namespace
2023-02-22 14:30:02 +01:00
Mael Rouxel-Labbé
732559e80b
Cache unweighted coefficients instead of weighted coefficients
2023-02-22 14:29:39 +01:00
Mael Rouxel-Labbé
2b052e00ea
Use inexact_norm() rather than inexact_sqrt(aLV.aLV)
2023-02-22 11:03:03 +01:00
Mael Rouxel-Labbé
a1845691d5
Use std::hypot rather than explicitely computing sqrt(x²+y²)
2023-02-22 11:01:36 +01:00
Mael Rouxel-Labbé
23a9ab5a49
Improve debug messages
2023-02-22 10:39:54 +01:00
Mael Rouxel-Labbé
1ffde0eeaf
Simplify is_equal + is_smaller into a single compare() call
2023-02-20 16:18:26 +01:00
Mael Rouxel-Labbé
d06f58fc70
Doc improvements
2023-02-20 16:18:05 +01:00
Mael Rouxel-Labbé
a93a083df6
Avoid needless constructions if the midpoint is an input point
2023-02-20 16:16:51 +01:00
Mael Rouxel-Labbé
606bef047b
Do not compute a second SideOfBisector if the first one failed
2023-02-20 16:16:02 +01:00
Mael Rouxel-Labbé
5e56614d03
Fix subtle inconsistency between line displacement representations
...
Rarely resulted in broken skeletons on very regular inputs
See comments in the code.
2023-02-20 15:49:36 +01:00
Mael Rouxel-Labbé
f4c1f204ad
Re-introduce compute_noralized_line_coeffs (useful when weights are not used)
2023-02-20 14:33:58 +01:00
Mael Rouxel-Labbé
d031add9d8
Misc debug improvements
2023-02-20 12:23:27 +01:00
Mael Rouxel-Labbé
8cfbefdcc1
Do not needlessly compare norms, weights are enough
2023-02-16 15:05:47 +01:00
Mael Rouxel-Labbé
4dfd622a64
typename K::Obj rather than Obj<K> since we don't control the traits in theory
2023-02-16 15:05:10 +01:00
Mael Rouxel-Labbé
15c674d5c9
Move helper classes to SLS_aux.h
2023-02-14 14:59:10 +01:00
Mael Rouxel-Labbé
9c5842625b
Add missing defaults in collinear enum switch
2023-02-14 14:42:26 +01:00
Mael Rouxel-Labbé
8dc23b8051
Fix CI compilation errors
2023-02-14 13:30:00 +01:00
Mael Rouxel-Labbé
ec1d89d1f2
Add some example data
2023-02-14 13:14:19 +01:00
Mael Rouxel-Labbé
1f98344908
Temporarily do not abort if the returned skeleton is invalid
...
For polygons with holes
2023-02-14 13:03:38 +01:00
Mael Rouxel-Labbé
68067c039f
Merge remote-tracking branch 'cgal/master' into SLS-Weighted_skeleton-GF
2023-02-14 12:26:50 +01:00
Mael Rouxel-Labbé
b98eca293c
Fix leftover from a change in weight input format
2023-02-14 11:36:09 +01:00
Mael Rouxel-Labbé
9b7f586f26
Cleaning
2023-02-14 11:08:00 +01:00
Mael Rouxel-Labbé
f843c7c8b0
Fix test compilation
2023-02-14 10:04:34 +01:00
Mael Rouxel-Labbé
38312c1e63
Use 'FT' as template parameter rather than 'Traits'
2023-02-14 10:04:03 +01:00