Laurent Rineau
4ce2e8e416
Reduce the width of lines with `using boost::graph_traits`
2017-01-05 11:59:25 +01:00
Laurent Rineau
b7c07effa9
Simplify split_graph_into_polylines
...
Two tests `it = v2vmap.find(vs)) == v2vmap.end()` were useless because
it is guaranteed that the map does contain the vertices.
2017-01-05 11:56:30 +01:00
Laurent Rineau
47dbde4ace
Merge pull request #1753 from maxGimeno/BGL_descriptor_with_graph-GF
...
BGL descriptor with graph
2017-01-05 10:56:02 +01:00
Sébastien Loriot
9981bcfa27
Merge pull request #1757 from afabri/BGL-reorient_make_tetrahedron-GF
...
BGL reorient make_tetrahedron() and make_hexahedron()
2017-01-02 19:10:20 +01:00
Laurent Rineau
ca0fac22e7
Merge branch 'Mesh_3-improve_detect_features-GF' into Mesh_3-various_improvements-lrineau
2016-12-30 17:33:16 +01:00
Sébastien Loriot
fe5e925367
Merge pull request #1701 from afabri/Convex_hull_3-FaceGraph-GF
...
Convex_hull_3: Switch to FaceGraph
2016-12-30 15:14:34 +01:00
Sébastien Loriot
81f4714b1b
mimic what is done for Has_clear
...
typeof is an gcc extension
2016-12-30 14:51:50 +01:00
Laurent Rineau
e5807d17ef
Add visitor.add_edge, optional
2016-12-30 14:51:50 +01:00
Laurent Rineau
7776720ca9
Merge pull request #1752 from lrineau/Mesh_3-various_fixes_and_improvements-lrineau
...
Fix the patch from #1524
2016-12-28 16:12:14 +01:00
Andreas Fabri
cbcfbc0259
Remove typedefs; put make_quad for vertices in namespace internal
2016-12-23 16:28:50 +01:00
Laurent Rineau
f6bfae0324
Remove an assertion: bug in Boost filtered_graph::out_degree
2016-12-16 17:32:45 +01:00
Andreas Fabri
fde59886ba
Concept check GWdwg
2016-12-13 15:25:54 +01:00
Andreas Fabri
4a323718e3
Use CGAL_assertion; test that the assertion gets triggered
2016-12-09 17:33:25 +01:00
Andreas Fabri
c058ae9bcc
deacronymize header file name
2016-12-09 17:01:11 +01:00
Andreas Fabri
d3a286d111
Gwdwg may be mutable
2016-12-09 16:52:47 +01:00
Laurent Rineau
f8833fbec5
Fix a bug with isolated vertices in the graph
2016-12-09 15:47:19 +01:00
Andreas Fabri
98b5ae02f7
reorient make_hexahedron
2016-12-09 15:16:39 +01:00
Sébastien Loriot
d1a00c9ab4
add missing overload
2016-12-09 13:44:41 +01:00
Andreas Fabri
a32e75646f
reorient make_tetrahedron
2016-12-09 12:49:06 +01:00
Maxime Gimeno
d7c8f598a1
Fix doc
2016-12-08 10:12:10 +01:00
Sébastien Loriot
a066f8c01b
use different overloads even in c++11
...
The default value for the point map cannot be set
2016-12-07 17:08:30 +01:00
Maxime Gimeno
8569e8fb9a
Add an example.
2016-12-07 16:46:49 +01:00
Laurent Rineau
65d67329fc
Fix the patch from #1524
...
When the `less` operator was added to `split_graph_into_polylines`, it
was wrong: as we duplicate vertices, that is not sufficient to compare
the points at vertices.
2016-12-07 11:24:28 +01:00
Sébastien Loriot
b4da56f408
remove extra comma
2016-12-07 09:02:36 +01:00
Maxime Gimeno
50e4b04d51
Restore graph_has_property()
2016-12-06 14:13:18 +01:00
Maxime Gimeno
5141f55efe
Make doc
2016-12-06 12:59:56 +01:00
Sébastien Loriot
f82fce23fd
remove trailing whitespaces
2016-12-06 12:59:56 +01:00
Sébastien Loriot
b1f6d0c1dd
add assertion and graph_has_property specialization
2016-12-06 12:59:56 +01:00
Sébastien Loriot
2355c5b871
fix compilation issues
2016-12-06 12:59:55 +01:00
Sébastien Loriot
5a51e9bc98
allow comparision with null descriptors
2016-12-06 12:59:55 +01:00
Sébastien Loriot
b1a481db5c
disable the copy-constructor
2016-12-06 12:59:55 +01:00
Sébastien Loriot
4d67fcc08f
the base property_map must be copied
2016-12-06 12:59:55 +01:00
Sébastien Loriot
51bed6153e
add missing const
2016-12-06 12:59:55 +01:00
Sébastien Loriot
b0e5c90eae
various fixes
2016-12-06 12:59:55 +01:00
Andreas Fabri
3703683761
Add put
2016-12-06 12:59:55 +01:00
Andreas Fabri
211fcb4107
Partial support for propery maps
2016-12-06 12:59:55 +01:00
Andreas Fabri
c9b53a1989
Add null_vertex() etc.
2016-12-06 12:59:55 +01:00
Sébastien Loriot
7f25b7af56
add missing typename and fix typo
2016-12-06 12:59:55 +01:00
Andreas Fabri
5f18b0738c
First version of a graph class that stores a pointer to the graph in the descriptor (for debugging)
2016-12-06 12:59:55 +01:00
Sébastien Loriot
c3e1309181
update from master branch
2016-12-05 14:37:29 +01:00
Andreas Fabri
3fc151b0dd
polish, e.g. P -> pm
2016-11-30 10:32:40 +01:00
Andreas Fabri
e0484d4988
Remove Graph_geometry.h
2016-11-28 08:39:51 +01:00
Sébastien Loriot
20fa78081c
add property maps as parameter for copy_face_graph
2016-11-23 15:31:29 +01:00
Sébastien Loriot
5c94f7d8ac
avoid documenting internal and non-intended classes and functions
2016-10-21 11:11:00 +02:00
Sébastien Loriot
e4ba7e0c70
add missing include directive
2016-10-20 18:12:54 +02:00
Laurent Rineau
5ab5825013
Merge pull request #1466 from sloriot/BGL-add_nef_to_pm
...
Add a function to convert a Nef polyhedron to a polygon mesh
2016-10-17 10:03:24 +02:00
Laurent Rineau
d43015c0ef
Merge pull request #1543 from afabri/BGL_remove_graph_traits_CMap-GF
...
Remove files that are here accidentally according to Guillaume
2016-10-17 09:59:17 +02:00
Sébastien Loriot
14030d4c49
remove unused variable
2016-10-12 10:52:02 +02:00
Sébastien Loriot
5d9edb5670
fix license
2016-10-06 09:33:32 +02:00
Andreas Fabri
74a72a4749
Remove files that are here accidentally according to Guillaume
2016-10-05 16:22:26 +02:00
Sébastien Loriot
d9413be399
add function convert_nef_polyhedron_to_polygon_mesh and document it
2016-10-05 15:28:12 +02:00
Laurent Rineau
223c1cf5a4
Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
...
Compute and fix packages dependencies
2016-10-05 13:11:04 +02:00
Laurent Rineau
745cdaeba5
Merge pull request #1524 from lrineau/Mesh_3-split_graph_into_polylines_determinism-lrineau
...
Make split_graph_into_polylines deterministic
2016-10-05 13:03:36 +02:00
Laurent Rineau
7b6addbb55
Merge pull request #1519 from lrineau/Mesh_3-fix_conversion_warnings-lrineau
...
Mesh_3: fix conversion warnings
2016-10-05 13:03:15 +02:00
Laurent Rineau
1c19028e5b
Merge pull request #1267 from maxGimeno/Random_generator-GF
...
Random generator
2016-10-05 13:02:29 +02:00
Laurent Rineau
eb21f2ed3b
Fix a compilation error
2016-09-30 19:52:20 +02:00
Andreas Fabri
40e9c6f735
Move specializations of graph_traits the packages that are concerned
2016-09-30 15:22:29 +02:00
Andreas Fabri
ca1f19b392
Package BGL: Add includes
2016-09-30 15:22:29 +02:00
Laurent Rineau
5bd65fba58
Make split_graph_into_polylines deterministic
...
- There is a new argument, `Less`, that allows to sort the `std::set` of
vertex descriptors with a deterministic sort functor.
- The header `<CGAL/Mesh_3/polylines_to_protect.h>` defines and use such
a functor.
2016-09-29 17:41:32 +02:00
Laurent Rineau
0221c3727a
Fix a typo in the doc of the internal function
2016-09-29 14:48:29 +02:00
Maxime Gimeno
cf0d78da34
Use const references in the generators instead of simple references.
2016-09-28 10:59:11 +02:00
Maxime Gimeno
4754094f5f
Make working tests.
2016-09-28 10:48:07 +02:00
Maxime Gimeno
8469c45336
Enhance Prevent_deref API and use it.
2016-09-28 10:48:07 +02:00
Sébastien Loriot
b899dc4549
add default parameters
2016-09-28 10:46:42 +02:00
Maxime Gimeno
3eb1f4ca69
Clean-up
...
- Clean-up
- Moved Prevent_deref to CGAL/iterator.h
2016-09-28 10:45:46 +02:00
Sébastien Loriot
e2f7efa58a
clean up
2016-09-28 10:45:45 +02:00
Maxime Gimeno
35a328b1bf
Move Halfedge_and_face_graph_property_maps.h to BGL.
2016-09-28 10:45:45 +02:00
Jane Tournois
b475497db2
add missing graph_has_property for edge_weight_t
2016-09-22 12:10:06 +02:00
Jane Tournois
661a55f8e6
use Has_member_id where it's possible, and add missing graph_has_property structs
2016-09-22 12:10:06 +02:00
Jane Tournois
d1da692ce7
add partial specializations of graph_has_property for existing internal pmaps
2016-09-22 12:05:51 +02:00
Jane Tournois
c8de3e32f1
add class to check whether a class has member function id()
...
this function is also able to detect the id() function in
base classes, however the number of derivations is large
I will add the test `test_Has_member_id.cpp` to the BGL package to test
this functionality
2016-09-22 12:05:51 +02:00
Jane Tournois
73492e7767
add graph_has_property
...
a struct intended to check whether Graph has an internal property map
for the parameter tag `PropertyTag`
2016-09-22 12:05:51 +02:00
Sébastien Loriot
ff1b240a37
replace assert by CGAL_assertion in CGAL code
2016-08-25 11:12:17 +02:00
Sebastien Loriot
af5c8210b7
Add missing requirements
2016-07-07 14:25:29 +02:00
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
Sebastien Loriot
40e36d41b5
Merge pull request #1138 from afabri/BGL-hash_OpenMesh-GF
...
Add hash_value and specialization of hash for OpenMesh
2016-06-08 14:18:29 +02:00
Andreas Fabri
d84be563f8
Add hash_value and specialization of hash for OpenMesh
2016-06-06 19:10:58 +02:00
Andreas Fabri
a9e8981278
Document that vertex and face type must be Hashable
2016-06-06 14:05:51 +02:00
Sebastien Loriot
64e8bbe44f
Update copy_face_graph.h
2016-06-06 13:50:33 +02:00
Sébastien Loriot
fc5c70f7b3
Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch'
2016-05-23 10:53:33 +02:00
Maxime Gimeno
a54b648050
Fix for heap out of space
2016-05-09 10:46:43 +02:00
Laurent Rineau
5ac3473d96
Fix a "typo"?
...
Actually, the difference between `boost::disable_if` and
`boost::lazy_disable_if` is really important (one "dereference" of
`::type` or not). The fact is that I had not tested correctly: I had
tested only with `test/PMP`, whereas there was a compilation error in
`examples/PMP`.
2016-05-06 11:59:27 +02:00
Maxime Gimeno
91669afc36
Fix for get
2016-05-04 12:20:34 +02:00
Laurent Rineau
f39805f8d6
Merge pull request #1014 from afabri/BGL_use_put_get-GF
...
Add using get and put to help VC++; Add a testcase
2016-04-22 15:25:03 +02:00
Andreas Fabri
0bebd2cbd0
Move the using from properties_Polyhedron.h to property_map.h
2016-04-18 11:24:45 +02:00
Andreas Fabri
ca284090b2
move the using ::put to the put that VC++ has problems with
2016-04-18 09:36:16 +02:00
Andreas Fabri
aace47d473
Add using get and put to help VC++; Add a testcase
2016-04-15 17:10:12 +02:00
Andreas Fabri
cd367c4104
Take fix from janetournois:BGL-fix_conversion_of_boundary_halfedges-jtournois
2016-04-15 10:07:03 +02:00
Philipp Möller
72b2269958
Use Cartesian_converter for point property
2016-04-15 10:04:43 +02:00
Philipp Möller
b1666cece7
Improve wording
2016-04-15 10:04:42 +02:00
Philipp Möller
4df63ef37f
Specify correct concept
2016-04-15 10:04:41 +02:00
Philipp Möller
2b98567b2b
Use an internal v2v as well
2016-04-15 10:04:38 +02:00
Philipp Möller
d559271761
Add trickery for default template arguments
2016-04-15 10:04:36 +02:00
Philipp Möller
0fa954bc8a
Use f2f argument
2016-04-15 10:04:34 +02:00
Philipp Möller
e664952918
Basic documentation
2016-04-15 10:04:33 +02:00
Philipp Möller
56987c5062
Use output iterators and default them
2016-04-15 10:04:32 +02:00