Commit Graph

170 Commits

Author SHA1 Message Date
Clement Jamin fd265e1e4f Missing const 2015-07-21 18:02:16 +02:00
Clement Jamin 80d046bc81 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2015-07-20 12:17:03 +02:00
Laurent Rineau 7e6e3f62ba Fix a link error "multiple definition of"
Trivial fix for bug #158
2015-07-10 12:29:23 +02:00
Clement Jamin 2c1f647107 Forgot to fix Triangulation accordingly (see previous commit)
(cherry picked from commit 35555fd3f9)
2015-07-06 20:02:27 +02:00
Clement Jamin 5531f6f169 Definitely removed the "infinite vertex at position 0" constraint...
... and fixed the regular triangulation at the same time.
Even though this constraint had been dropped, the code was still
expecting the infinite vertex to be at position 0 in the cells.
Now, it's not the case anymore, the infinite vertex can be anywhere.
This is particularly useful for the 2D case, because the constraint made
the orientation of the "rightmost" infinite cell wrong.

(cherry picked from commit 48b8382de3)
2015-07-06 19:07:11 +02:00
Clement Jamin ef9b73ca2e Bugfix: ==
(cherry picked from commit aa81039e07)
2015-06-25 20:40:47 +02:00
Clement Jamin 63a5536699 Bugfix in RTd: in dimension 2, the points were never hidden
(cherry picked from commit fa3b2d9bea)
2015-06-25 20:40:33 +02:00
Clement Jamin c32373e75b Rename variable to avoid confusion + remove useless initialization 2015-01-12 17:49:25 +01:00
Clement Jamin d775cde6e6 Better bug fix
Handles the case where an existing point is at the same place as
the point we're trying to insert.
2015-01-12 17:47:09 +01:00
Clement Jamin f320bdee43 Temporary bug fix
Do not insert a point when an already existing point in at the same place.
TODO: something better when the weight is different.
2015-01-12 14:56:03 +01:00
Clement Jamin af405ac7a6 Add output_full_cell 2015-01-12 14:51:21 +01:00
Clement Jamin 10f7b688eb Add output_weighted_point 2015-01-12 11:10:33 +01:00
Clement Jamin bb654aec95 Fix the FIXMEs: "infinite vertex is NOT at index 0 a priori" 2015-01-12 08:49:47 +01:00
Clement Jamin 43d81bb12b Missing param 2015-01-09 15:02:46 +01:00
Mael Rouxel-Labbé 7a11937b97 Fixed TDS's incident_faces() using the wrong index for the first vertex
(and added consts)

(cherry picked from commit e312d7ddae0188ed0d99b4247f73871a57124f41)
2015-01-09 14:57:46 +01:00
Clement Jamin 81f68efb7e Oops. This fixes the previous bug fix (wrong place). 2014-12-18 11:00:12 +01:00
Clement Jamin 2f4bb69e0a Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2014-12-18 10:59:01 +01:00
Clement Jamin 6694b8adfb Bugfix: we can't call infinite_vertex() like this 2014-12-18 10:56:09 +01:00
Clement Jamin d605eff325 Restore 4-space identations 2014-12-18 10:24:44 +01:00
Clement Jamin 5b13d122f9 Bug fix for when the first points lie in a lower dimension 2014-12-12 16:20:27 +01:00
Clement Jamin c5ae1ba1dd Derecursify insert_in_tagged_hole
No stack overflow anymore.
2014-12-11 12:46:21 +01:00
Clement Jamin f277603c05 Fix the FIXMEs: "infinite vertex is NOT at index 0 a priori" 2014-12-10 17:32:54 +01:00
Clement Jamin d558985a14 Fix an "Internal compiler error" in MSVC 2013 2014-12-01 21:01:13 +01:00
Clement Jamin 7b230a4ff2 Fix warnings 2014-11-26 17:35:46 +01:00
Clement Jamin ee73601172 Fix a warning and a "FIXME" 2014-11-26 17:26:13 +01:00
Clement Jamin 0aa818ca1f Fix a bug in the input/output (due to mixed sizes of integers) 2014-11-25 13:21:53 +01:00
Clement Jamin 1aa392ef57 Fix a compilation error of some platforms 2014-11-25 13:20:53 +01:00
Clement Jamin d6a3e6aebc Fix gcc warnings (unused typedefs) 2014-11-20 13:06:59 +01:00
Clement Jamin c2185923e3 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2014-10-28 17:52:29 +01:00
Clement Jamin 9259bd777f Also uses 64 bits for Xor_type on 32-bit systems, if possible 2014-10-28 17:47:18 +01:00
Clement Jamin fa796a088d unsigned long was not big enough here 2014-10-28 16:56:44 +01:00
Clement Jamin 6078634d07 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2014-09-23 08:56:09 +02:00
Clement Jamin 2974822d30 Fix warnings 2014-09-22 15:20:46 +02:00
Clement Jamin e0474c1b92 Remove unused typedefs 2014-09-22 14:29:07 +02:00
Clement Jamin 080d913416 Reorder initializer list to suppress a warning 2014-09-22 14:26:08 +02:00
Clement Jamin c17b04e319 Pedantic GCC doesn't like those useless semicolons 2014-09-19 15:32:51 +02:00
Clement Jamin 9a1c16fc9f Prevent name conflict with min/max 2014-09-19 12:22:36 +02:00
Clement Jamin a2f9041d54 Fix spatial_sort 2014-09-14 09:06:21 +02:00
Clement Jamin 121fabd264 Removed some "auto" keywords 2014-09-12 17:04:26 +02:00
Clement Jamin d6255a16f0 Fix syntax 2014-09-12 16:56:47 +02:00
Clement Jamin bf946d4e87 Temporarily remove spatial_sort as it was wrong 2014-09-12 16:51:12 +02:00
Clement Jamin 4b48d7db87 Comments clean-up 2014-09-05 16:03:08 +02:00
Clement Jamin 3d8bb299d2 Fix insert_if_in_star 2014-09-05 12:45:39 +02:00
Clement Jamin f1a7c45490 Hidden points are now handled during insertion and stored in a common container
Note that they are not handled/restored during removal yet
2014-09-05 09:17:23 +02:00
Clement Jamin eb884bd4eb Removed a precondition
This precondition may be false when processing the hidden cells of
the regular triangulation
2014-09-05 08:17:17 +02:00
Clement Jamin ec7f3a6fd3 Pass-by-ref the traits + slightly better handling of hidden points (WIP) 2014-09-05 07:44:44 +02:00
Clement Jamin e41484a3f0 Pass-by-ref the traits 2014-09-05 07:43:31 +02:00
Clement Jamin 544d3a1ef1 Merge branch 'Triangulation-add_regular_tri-cjamin_mglisse-old' into Triangulation-add_regular_tri-cjamin_mglisse 2014-09-04 17:36:21 +02:00
Clement Jamin dfb38ed1af Do not insert hidden points
Hidden points are not handled for now
2014-09-04 17:05:18 +02:00
Clement Jamin ee825951d2 Removed two local static variables
Local static variables are not thread-safe
2014-09-04 16:06:29 +02:00