Andreas Fabri
bb6ac49dbb
Make constructor SM_Edge_index(SM_Halfedge_index) explicit
2016-06-13 16:03:06 +02:00
Sebastien Loriot
1127725c11
Merge pull request #1013 from maxGimeno/Polyhedron_demo-OFF_with_color-GF
...
Polyhedron demo : OFF with colors
2016-05-23 11:28:19 +02:00
Sébastien Loriot
5b826d5a2b
clean up
2016-05-23 11:26:04 +02:00
Sébastien Loriot
827c9cf2e1
Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch'
2016-05-23 11:14:59 +02:00
Andreas Fabri
b5534be59a
Cast constness of this away as the function Surface_mesh::properties() is const
2016-05-18 12:40:31 +02:00
Maxime Gimeno
26721fa626
add test for colored OFF
...
# Veuillez saisir le message de validation pour vos modifications. Les lignes
2016-05-12 17:11:28 +02:00
Maxime Gimeno
6761dcae8e
Fix tellg/seekg errors
2016-05-12 17:11:28 +02:00
Maxime Gimeno
c14c5b9129
Clean up
2016-05-12 17:11:27 +02:00
Maxime Gimeno
f3de4dfe01
Clean up
2016-05-12 17:11:27 +02:00
Maxime Gimeno
128adc4c32
Addition of a color management of the not oriented OFF with colors
2016-05-12 17:11:26 +02:00
Maxime Gimeno
511f3f187f
Code optimization and parser fix
2016-05-12 17:09:44 +02:00
Maxime Gimeno
3fdff7e831
Addition of the facet colors.
2016-05-12 17:09:44 +02:00
Maxime Gimeno
f04a6f98ce
Finished the management of the per-vertex color
2016-05-12 17:09:44 +02:00
Maxime Gimeno
a1dbe23e7d
Replaced color_index management by RGBcolor (float and int) management
2016-05-12 17:09:44 +02:00
Maxime Gimeno
fe612feb9b
Addition of a test colormap
2016-05-12 17:09:43 +02:00
Andreas Fabri
eb90e8e3e1
Include consistently <CGAL/property_map.h>
2016-02-24 12:09:36 +01:00
Sébastien Loriot
f5aae4e8cb
add comments
2016-02-04 16:19:30 +01:00
Simon Giraudot
5f0793d1c1
Bugfix: add dummy iterator traits to SM_Halfedge_index
2016-02-03 15:21:15 +01:00
Andreas Fabri
3ef9aea5eb
fix indentation as it is really misleading
2016-01-21 09:24:02 +01:00
Sébastien Loriot
54ca52b538
Merge branch 'BGL-SurfaceMesh2SurfaceMesh-GF' into Polygon_mesh_processing-local_remeshing-GF
2015-11-05 19:25:00 +01:00
Laurent Rineau
7ddefbdcc8
Merge pull request #297 from afabri/CGAL-assert-GF
...
assert() should not be used in CGAL headers!
2015-09-07 10:58:20 +02:00
Jane Tournois
ce54198aa7
Merge branch 'Polygon_mesh_processing-local_remeshing-GF-old' into Polygon_mesh_processing-local_remeshing-GF
2015-09-02 15:57:23 +02:00
Andreas Fabri
06bac198dc
endl -> '\n'
2015-09-02 15:33:03 +02:00
Andreas Fabri
1e2ff1131e
assert -> CGAL_assertion
2015-08-27 16:51:55 +02:00
Laurent Rineau
0fd6f2fa59
Merge pull request #288 from afabri/CGAL-add_hash-GF
...
No longer forward declare struct std:hash
Fixes issues #287 and #274 .
2015-08-27 15:41:50 +02:00
Andreas Fabri
bf975ead95
No longer forward declare struct std:hash
2015-08-23 14:30:54 +02:00
Philipp Möller
6d1d3f04ba
Fix compilation errors for VS
...
Note that removing the "template" keyword may break compilation
for other compilers
2015-07-30 14:16:46 +02:00
Philipp Möller
0b5e682985
Clean up some includes
2015-07-30 14:16:26 +02:00
Philipp Möller
3533e77dfe
Remove Boost.Fusion dependency
...
Boost.Fusion in 1.57 fails to compile on gcc 4.4 + std=c++0x (see
https://svn.boost.org/trac/boost/ticket/10190 ). Since we want support
for that platform, the fusion map is replaced by a specialized class
template Property_selector.
2015-07-30 14:16:12 +02:00
Laurent Rineau
08666dce25
Merge pull request #179 from afabri/CGAL-add_hash-GF
...
Add boost::hash and std::hash
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/hash
Conflicts:
Installation/changes.html
2015-07-17 15:39:18 +02:00
Sébastien Loriot
5d2c892dbe
Merge pull request #149 'lrineau/Polygon_mesh_processing-GF'
...
Add various functions to manipulate polygon meshes
2015-07-17 14:50:56 +02:00
Laurent Rineau
2a9b9330c3
Revert "Merge pull request #143 from bo0ts/Surface_mesh-gcc44_fixes-pmoeller"
...
This reverts commit 8cffc8be58 , reversing
changes made to c1a0afd97a .
Philipp (@bo0ts) will open a new pull-request so solve the issue.
2015-07-14 18:29:43 +02:00
Sébastien Loriot
c616df7196
Merge branch 'old/Polygon_mesh_processing-GF' into Polygon_mesh_processing-GF
...
Conflicts:
Documentation/biblio/cgal_manual.bib
Installation/changes.html
2015-07-13 08:16:59 +02:00
Andreas Fabri
2dea6db3bb
Merge branch 'CGAL-add_hash-GF-old' into CGAL-add_hash-GF
...
Conflicts:
Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h
2015-07-06 10:51:23 +02:00
Andreas Fabri
20c1b1a1f6
Merge branch 'Polygon_mesh_processing-GF-old' into Polygon_mesh_processing-GF
...
Conflicts:
BGL/include/CGAL/boost/graph/Euler_operations.h
BGL/include/CGAL/boost/graph/iterator.h
Documentation/doc/Documentation/Doxyfile.in
Documentation/doc/Documentation/dependencies
Polyhedron/demo/Polyhedron/Polyhedron_demo_point_inside_polyhedron_plugin.cpp
Polyhedron/demo/Polyhedron/Scene_polygon_soup_item.cpp
Polyhedron/demo/Polyhedron/Selection_widget.ui
2015-07-01 13:52:44 +02:00
Jane Tournois
2c6b6a9ee9
reintroduce template keyword
...
msvc seems to be ok with it
2015-07-01 13:04:36 +02:00
Jane Tournois
631a60ea85
fix compilation errors for visual studio
...
note that removing the "template" keyword may break compilation
for other compilers
2015-07-01 12:48:05 +02:00
Philipp Möller
0cda240dd1
Clean up some includes
2015-06-29 13:13:09 +02:00
Philipp Möller
1e62e6b197
Remove Boost.Fusion dependency
...
Boost.Fusion in 1.57 fails to compile on gcc 4.4 + std=c++0x (see
https://svn.boost.org/trac/boost/ticket/10190 ). Since we want support
for that platform, the fusion map is replaced by a specialized class
template Property_selector.
2015-06-29 13:12:51 +02:00
Andreas Fabri
c48bf3a3e6
more tests; small fixes
2015-06-25 09:17:08 +02:00
Andreas Fabri
92a647b1af
add example for unordered_set
2015-06-22 12:31:48 +02:00
Andreas Fabri
b197a3402f
do not document hash_value as it is an implementation detail
2015-06-22 12:16:46 +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
Andreas Fabri
425cdf0b0c
derive from unary_function; Add #define switch to hash underlying pointer
2015-05-27 12:19:55 +02:00
Andreas Fabri
3491e73509
remove debug output
2015-05-27 11:29:58 +02:00
Laurent Rineau
2bfdee92c7
Merge pull request #67 from afabri/Surface_mesh-join-GF
...
Add join operation to Surface_mesh
2015-05-18 11:04:48 +02:00
Andreas Fabri
915d1e6fdb
do not document an internal function
2015-04-27 17:53:04 +02:00
Andreas Fabri
18ee1199e7
replace -1 by a variable to avoid warning
2015-04-25 15:54:00 +02:00
Andreas Fabri
6dbdea0429
The results on this version with VC11 boost 1_55 are:
...
$ ./build/hm.exe data/iphi.off
3165798 items
Surface_mesh std::map
BOOST_FOREACH boost::iterator_range r = vertices(g))
0.53 sec.
BOOST_FOREACH CGAL::Iterator_range r = vertices(g))
0.13 sec.
BOOST_FOREACH vertices(g))
1.49 sec.
for vertices(g))
0.18 sec.
v = 0 0 0 2004454762201200
2015-04-21 13:44:26 +02:00