Commit Graph

37 Commits

Author SHA1 Message Date
Sebastien Loriot fc44ee3051 Merge pull request #1180 from sloriot/BGL-fix_edge_hash
fix edge hash
2016-06-24 13:24:27 +02:00
Sébastien Loriot c3f7310355 handle default constructed edges 2016-06-16 16:47:59 +02:00
Sébastien Loriot f7090e4b71 remove debug output 2016-06-15 14:32:44 +02:00
Sébastien Loriot d94ef9467f fix the hash for edges
it returns the hash value of the smallest edge
2016-06-15 14:29:59 +02:00
Andreas Fabri 20c97edb12 The edge_weight must be the lenth, and not the squared length 2016-06-14 14:17:14 +02:00
Andreas Fabri beb1417477 remove unused header files; remove commented includes; changed include paths 2016-02-15 14:20:12 +01:00
Andreas Fabri 6706cc58c4 include header which pragma pushes a warning 2015-11-13 09:47:25 +01:00
Andreas Fabri 5030ed42b8 deal with graph_traits_HalfedgeDS.h and graph_traits_Triangulation_2.h 2015-08-25 09:34:17 +02:00
Andreas Fabri dadb129147 g++ needs a forward declaration for std::hash 2015-06-02 08:46:20 +02:00
Andreas Fabri b6850d35c0 #include <functional> and suppress struct/class warning for VC10 2015-06-01 10:42:52 +02:00
Sébastien Loriot d36593eb72 add missing const and remove debug output 2015-04-17 17:22:26 +02:00
Andreas Fabri 832208d815 simplifications 2015-04-17 15:49:21 +02:00
Andreas Fabri 0eaa9235d0 Add specializations of hash 2015-04-17 10:44:43 +02:00
Andreas Fabri 7f0bdd272d move halfedge_descriptor out of the graph_traits class 2015-04-17 10:33:22 +02:00
Andreas Fabri 205a594a77 add specializations of hash and add tests 2015-04-17 10:21:14 +02:00
Andreas Fabri ecd2404cee Remove a const as ICC warns about it 2015-01-01 19:39:47 +01:00
Sébastien Loriot ad1954afc4 fix warnings and compilation issues 2014-12-10 17:34:51 +01:00
Andreas Fabri 4933d8d52c Swith to Iterator_range 2014-11-27 08:39:32 +01:00
Andreas Fabri 419d332bfe Add more BGL functions for Triangulation_2; errouneously try to do simplification 2014-11-21 18:45:24 +01:00
Andreas Fabri 6899d73e71 Use vertex_around_target (and add halfedge(vertex_descriptor) 2014-11-20 21:10:38 +01:00
Andreas Fabri 3e6a99b327 Add property map for vertex_point_t 2014-11-20 17:30:44 +01:00
Andreas Fabri 42a1c49066 The class Triangulation_2 (but neither TDS2 nor DT_2) should now be a model of FaceListGraph (but not Mutable) 2014-11-20 15:39:56 +01:00
Andreas Fabri 8ab546b25f move the functions from namespace boost to CGAL as they should be found with Koenig lookup 2014-11-20 11:56:51 +01:00
Andreas Fabri 2005988c4c Add halfedge_descriptor, halfedge(FD), face(HD) 2014-11-19 15:35:17 +01:00
Andreas Fabri 0eccab2cce Add face_descriptor/iterator and faces() 2014-11-19 15:13:07 +01:00
Andreas Fabri 3ad8f65d28 small fixes 2014-05-22 10:36:50 +02:00
Sébastien Loriot c900eabfcd iterators in HDS and Triangulations are bi-directional 2013-06-28 16:28:34 +02:00
Andreas Fabri 950e858555 remove unused parameters 2013-03-12 09:50:46 +01:00
Philipp Möller d0c07c51b4 remove duplicated const
Follow-up to r73108
2012-10-22 09:53:28 +00:00
Philipp Möller 6276e88020 Add partial specializations for property_map that match const template arguments.
This shouldn't be necessary, because it should never be called with
const arguments, but this works around a BGL bug. Those changes don't
fix the issues with the dijkstra example, as that would require adding
partial specializations for boost::filtered_graph, which would be a
little over the top.
2012-10-19 15:42:52 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Andreas Fabri 0264f4e2f9 int -> size_t 2010-06-25 08:19:41 +00:00
Laurent Rineau 838932c7ba More a function definition before its first use, so that it is declared
before its first use.
2010-05-21 17:01:26 +00:00
Andreas Fabri 13a4a0c908 The edge weight should be FT and not double 2009-09-02 13:09:06 +00:00
Andreas Fabri 96104c79c3 license headers are now all LGPL 2007-03-19 19:36:49 +00:00
Andreas Fabri b3163b478e minor fixes 2006-11-14 13:02:29 +00:00
Andreas Fabri 5209814b61 partial specialization for the triangulation 2006-09-14 13:27:46 +00:00