Commit Graph

102944 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé fa20e12e55 Add an accessor for Segment_with_ID_2 2023-03-10 09:24:34 +01:00
Mael Rouxel-Labbé 780f0ab9e4 Remove unused functor from traits model 2023-03-10 09:24:16 +01:00
Mael Rouxel-Labbé 59e7dde24c Fix creation of vertices with height greater than prescribed in SLS extrusion 2023-03-08 19:01:14 +01:00
Mael Rouxel-Labbé ad4846805f Fix filtering bound computation; extend it to support weighted skeletons 2023-03-08 15:39:52 +01:00
Mael Rouxel-Labbé 06a08ecf54 Rename function 2023-03-07 01:04:48 +01:00
Mael Rouxel-Labbé 8078541f0f Don't store trisegments in the VertexData as it's already in the Vertex 2023-03-07 01:04:08 +01:00
Mael Rouxel-Labbé d609a64b0f Debug code cleaning 2023-03-07 01:03:52 +01:00
Mael Rouxel-Labbé d212269196 Cache points
Gain pretty much nothing speedwise (on a quick test on norway.dat),
but it's a little less verbose at least...
2023-03-06 22:36:27 +01:00
Mael Rouxel-Labbé fb080e2685 Misc tiny fixes / cleaning 2023-03-06 20:45:31 +01:00
Mael Rouxel-Labbé 7b3ef62746 v2 of simply-connected enforcement + extrude for wsls of pwh 2023-03-06 20:44:14 +01:00
Mael Rouxel-Labbé 0404a616a2 Replace boost::intrusive_ptr and its machinery by a simple shared_ptr 2023-03-06 13:24:07 +01:00
Mael Rouxel-Labbé f635c61475 Fix trisegment print 2023-03-05 21:42:29 +01:00
Mael Rouxel-Labbé cc26b71886 Fix not setting up slopes on artificial bisectors 2023-03-04 20:49:07 +01:00
Mael Rouxel-Labbé 99671f7867 Use kernel functor 2023-03-04 20:47:36 +01:00
Mael Rouxel-Labbé 8125fb62e1 Avoid needless copies 2023-03-04 20:47:16 +01:00
Mael Rouxel-Labbé 687e8d0911 Discourage partial weighted skeletons of polygons with holes 2023-03-03 23:35:16 +01:00
Mael Rouxel-Labbé 3003518ae9 Fix missing header includes 2023-03-03 23:22:53 +01:00
Mael Rouxel-Labbé ac361834db Restore skeleton reset on failure
Revert 1f98344908
2023-03-03 23:21:02 +01:00
Mael Rouxel-Labbé 9779807a40 Clarify some comments describing the algorithm 2023-03-03 16:52:56 +01:00
Mael Rouxel-Labbé da9674a63e Fix missing set_halfedge() on right side of split 2023-03-03 16:51:38 +01:00
Mael Rouxel-Labbé 302dfd8846 Add a postprocessing step to ensure that all skeleton faces are simply connected 2023-03-03 15:41:54 +01:00
Mael Rouxel-Labbé 7b87eea95a Handle reconnection of fictuous fronts
Can happen for weighted polygon with holes
2023-03-03 15:40:13 +01:00
Mael Rouxel-Labbé 6893d831e3 Remove dangling bisectors ASAP to keep a valid (and printable) SLS HDS
Safe because it's a list-based HDS, and we're keeping handles left and
right already anyway.
2023-03-03 02:13:48 +01:00
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