Giles Bathgate
d5032ec5ea
Merge branch 'master' into id-support-handler-hash-performance
2021-03-24 14:15:50 +00:00
Laurent Rineau
d6e9bdd0c1
Merge pull request #5269 from GilesBathgate/move-assignment-operators
...
Move assignment operators
2021-03-24 15:05:39 +01:00
Laurent Rineau
45800d2ab6
Merge pull request #5498 from GilesBathgate/cleanup-index-adder
...
Cleanup index adder in polygon_mesh_to_nef_3
2021-03-24 15:05:22 +01:00
Andreas Fabri
e98198178f
Add the functor Non_zero_dimension_3 to the Kernel
2021-03-23 15:45:54 +01:00
Maxime Gimeno
735567531b
RENAME
2021-03-19 12:00:08 +01:00
Giles Bathgate
6a27761f4f
Add homogeneous/cartesian specialisations
2021-03-13 17:31:38 +00:00
Andreas Fabri
54b55e0a48
Stupid me, after even have explained how interval arithmetic sometimes does not work
2021-03-13 16:55:32 +00:00
Andreas Fabri
bd1b96e73b
Do not compute a scalar product to determine best projection direction
2021-03-11 16:27:37 +00:00
Andreas Fabri
d04b26b0e4
Avoid a geometric test
2021-03-11 13:32:46 +00:00
Laurent Rineau
efc45cb686
Merge pull request #5455 from GilesBathgate/performance-plane-assertions
...
Bypass coplanarity assertion for triangular facets.
2021-03-03 17:29:43 +01:00
Laurent Rineau
f29eb6d90b
Merge pull request #5470 from GilesBathgate/performance-remove-double-simplify
...
Explicitly call simplify after marking bounded volumes
2021-03-03 17:29:32 +01:00
Giles Bathgate
5afc28348e
Rename method in both templates for Face_graph_index_adder
2021-03-03 08:23:39 +00:00
Giles Bathgate
30e536bdf0
Remove default paramter from set_index in SNC_indexed_items
2021-03-01 08:06:48 +00:00
Giles Bathgate
3de90de34b
Correct variable name in Face_graph_index_adder
2021-03-01 07:37:46 +00:00
Giles Bathgate
d23fca2a47
Use new_index in several other places
2021-02-27 12:32:26 +00:00
Giles Bathgate
a143b60040
Rename hash to SHalfedge list since its not really a hash
2021-02-27 12:31:13 +00:00
Giles Bathgate
fed29a6b85
Use SHalfedge handle instead of repeated vector lookup
2021-02-27 11:58:01 +00:00
Andreas Fabri
57033b4b03
int -> std::size_t
2021-02-26 16:58:22 +00:00
Andreas Fabri
2c816b9291
Use property_traits
2021-02-24 18:02:42 +00:00
Andreas Fabri
254ce42109
Remove Face_info but keep a second vector for num_edges
2021-02-24 17:40:23 +00:00
Laurent Rineau
1958c95797
Merge pull request #5412 from GilesBathgate/performance-calculate-normals
...
Calculate normals for facets more efficiently
2021-02-18 21:02:36 +01:00
Giles Bathgate
113298056d
Explicitly call simplify after marking bounded volumes
2021-02-17 20:00:34 +00:00
Giles Bathgate
ff9ebb5847
Avoid duplicate lookups of pv in polygon_mesh_to_nef_3
2021-02-13 11:15:40 +00:00
Giles Bathgate
c0c664a7e4
Fix pedantic warning in polygon_mesh_to_nef_3
2021-02-13 11:15:39 +00:00
Giles Bathgate
5ba988c6fa
Bypass coplanarity assertion for triangular facets
2021-02-13 11:15:39 +00:00
Giles Bathgate
393b49f96d
Use boost::hash_combine and std::unordered_map for ID support handler
2021-02-11 18:29:44 +00:00
Andreas Fabri
5345986827
Fix typo in Homogeneous case (which I hadn't tested)
2021-02-10 11:13:14 +00:00
Andreas Fabri
6335c1068c
Advance copies of the iterator
2021-02-10 10:53:37 +00:00
Giles Bathgate
0f751faa24
Implement hash of halffacet_pair for ID support handler
2021-02-09 22:14:10 +00:00
Giles Bathgate
ce7d06d5f4
Disable NEF trace unless the user specifically wants it
2021-02-07 11:55:29 +00:00
Laurent Rineau
3bd7181ff3
Merge pull request #5244 from afabri/Triangulation_2-Intersect_use_variant-GF
...
Nef_3, Triangulation_2: Change the result type of the Intersect_2 functor
2021-02-05 16:12:58 +01:00
Laurent Rineau
c5ba414c72
Merge pull request #5336 from maxGimeno/GraphicsView-Use_opengl_4_1_context-maxGImeno
...
Graphics_view: Upgrade glsl version in basic_viewer_shaders
2021-02-05 16:12:42 +01:00
Laurent Rineau
e1870c1522
Merge pull request #5371 from maxGimeno/Fix_Nesf_2_parser-maxGimeno
...
Fix OOB issues in Nef_*
2021-02-05 16:10:29 +01:00
Laurent Rineau
5380ffd257
Merge pull request #5336 from maxGimeno/GraphicsView-Use_opengl_4_1_context-maxGImeno
...
Graphics_view: Upgrade glsl version in basic_viewer_shaders
2021-02-05 16:05:55 +01:00
Giles Bathgate
e87432f257
Use std:next for is_triangle_3 in normal vector newell
...
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2021-02-02 08:14:32 +00:00
Giles Bathgate
87b2c5e287
Improvements to normal vector newell after review
2021-01-30 11:36:41 +00:00
Giles Bathgate
83d7a89f22
Calculate normals for facets more efficiently
2021-01-29 17:32:05 +00:00
Maxime Gimeno
23cc6b0f4a
Fix read_sface
2021-01-27 10:20:17 +01:00
Maxime Gimeno
d78842712c
Fix conversion warnigns
2021-01-26 10:22:18 +01:00
Maxime Gimeno
a85cf6ed52
Move the include in the ifdef
2021-01-26 09:45:18 +01:00
Laurent Rineau
09f4237245
Merge pull request #5268 from GilesBathgate/fix-dead-code-snc-simplify
...
Fix structurally dead code in SNC_simplify.h
2021-01-22 09:35:59 +01:00
Laurent Rineau
1d805c82b1
Merge pull request #5289 from GilesBathgate/fix-big-param-by-value-snc-parser
...
Fix passing big parameters by value in SNC_io_parser.h
2021-01-22 09:35:54 +01:00
Andreas Fabri
5ea5e93f45
Fix warning
2021-01-20 15:17:41 +00:00
Maxime Gimeno
2e592e0027
Fix typo and use setstate
2021-01-20 08:38:33 +01:00
Maxime Gimeno
9e291e6bbf
replace cerr by CGAL_warning_msg
2021-01-19 14:04:54 +01:00
Maxime Gimeno
5a1ab45058
Fix Nef_3
2021-01-19 12:24:08 +01:00
Andreas Fabri
168631b069
fix . to ->
2021-01-19 09:28:57 +00:00
Andreas Fabri
8765c63e9c
bug fix
2021-01-15 07:55:27 +00:00
Maxime Gimeno
04753381e5
Rename file and add ::Qt
2021-01-12 13:22:34 +01:00
Maxime Gimeno
95192d6d4b
factorize context initialization
2021-01-12 13:08:58 +01:00
Maxime Gimeno
2a212bb2a8
Upgrade non-compatibility sahders in Basic_viewer to glsl 150 and add a context creation before the creation of the QApp in draw_xxx examples
2021-01-07 13:06:40 +01:00
Andreas Fabri
f25363131d
Switch to variant in Nef_3
2021-01-07 10:27:22 +00:00
Giles Bathgate
dd636afbc3
Use SNC_const_decorator for additional sorts and finds
2020-12-18 12:00:14 +00:00
Giles Bathgate
fe61108b32
Use SNC_const_decorators to allow const constructor references
2020-12-17 22:43:47 +00:00
Giles Bathgate
0ff1aa98ba
Fix passing big parameters by value in SNC_io_parser.h
2020-12-16 07:43:22 +00:00
Giles Bathgate
6b9fd0c2df
Add move assignment operator to SHalfedge.h
2020-12-13 16:07:45 +00:00
Giles Bathgate
70887f532d
Add move assignment operator to Halfedge.h
2020-12-13 15:30:35 +00:00
Giles Bathgate
c85e94243d
Add move assignment operator to SHalfloop.h
2020-12-13 14:59:59 +00:00
Giles Bathgate
f5563a73d0
Add a move assignment operator to Nef_Polyhedron.h
2020-12-13 13:50:19 +00:00
Giles Bathgate
8b39925a60
Fix structurally dead code in SNC_simplify.h
2020-12-11 14:54:16 +00:00
Maxime Gimeno
1d98f0f71d
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-12-09 14:40:02 +01:00
Giles Bathgate
ce26378d54
Fix uncaught exception in SNC_point_locator.h
2020-11-29 12:11:37 +00:00
Giles Bathgate
96024d1bb1
Fix uncaught exception in K3_tree.h
2020-11-28 14:25:25 +00:00
Giles Bathgate
9e9242e5dd
Fix dereference after null check in Nef_3/Vertex.h
2020-11-27 13:47:21 +00:00
Giles Bathgate
e6e63c93d6
Fix uninitialized member in SNC_io_parser.h
2020-11-22 09:39:22 +00:00
Mael Rouxel-Labbé
8682f9bafb
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-08-24 11:45:17 +02:00
Laurent Rineau
84ec799ca1
Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch'
2020-07-28 16:09:28 +02:00
Maxime Gimeno
213221e5cb
Initialize eor to silent wranings
2020-07-24 14:02:40 +02:00
Sébastien Loriot
b1c09a5859
workaround to make it work with EPICK
2020-07-20 17:06:46 +02:00
Mael Rouxel-Labbé
6d6dc0c956
Fix a number of compilation issues
2020-06-24 17:41:20 +02:00
Thomas Krijnen
a86712d1aa
Don't segfault on empty Nef_nary_x
2020-06-07 15:25:18 +02:00
Maxime Gimeno
5b2d46cfa0
Fixes for min/max
2020-04-21 12:04:45 +02:00
Maxime Gimeno
e9d41d7b7d
Fixes for min/max
2020-04-21 11:38:37 +02:00
Laurent Rineau
7b601f4fde
Merge branch 'releases/CGAL-4.14-branch' into releases/CGAL-5.0-branch
2020-04-19 14:54:19 +02:00
R.E. Wolff
adb0b9d6f4
Merge branch 'master' of github.com:rewolff/cgal
2020-04-19 14:27:48 +02:00
R.E. Wolff
ca7a9380b7
Fixed unusable error message
2020-04-19 14:27:22 +02:00
Sébastien Loriot
8bb22d5b2c
extra run of the script to remove tabs and trailing whitespaces
...
right after the merge of the 5.0 release branch
+ manual fix of the files (indentation was changed in the meantime):
* Spatial_sorting/include/CGAL/Multiscale_sort.h
* Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +01:00
Sébastien Loriot
8b153fb495
Merge branch 'cgal/releases/CGAL-5.0-branch'
...
whitespace+tab removal, merged with option -Xignore-space-change
2020-03-26 14:22:32 +01:00
Sébastien Loriot
0779373835
extra run of the script to remove tabs and trailing whitespaces
...
right after the merge of 4.14 release branch
+ manual fix on one line in:
* Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
* .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot
590612a563
run the script to remove tabs and trailing whitespaces
2020-03-26 13:25:16 +01:00
Laurent Rineau
2c5826dd6f
Merge pull request #4474 from sloriot/CGAL-warning_macro
...
Update warning macro usages
# Conflicts:
# Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Hole_filling/Triangulate_hole_polyline.h
2020-01-17 16:29:49 +01:00
Laurent Rineau
fe91249ac4
Merge pull request #4474 from sloriot/CGAL-warning_macro
...
Update warning macro usages
# Conflicts:
# Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Hole_filling/Triangulate_hole_polyline.h
2020-01-17 16:27:13 +01:00
Sébastien Loriot
4fbd1ed69c
use CGAL_warning_msg instead of CGAL_warning to display a message
2020-01-16 14:14:13 +01:00
Laurent Rineau
d19f79ee0d
Merge pull request #4163 from MaelRL/T2-Throw_on_collinear_strongly_intersecting_segments-GF
...
CDT2: Throw on constraint intersections that do not require constructions
2019-12-05 11:05:47 +01:00
Mael
cf83a22e2d
Merge branch 'master' into T2-Throw_on_collinear_strongly_intersecting_segments-GF
2019-12-02 16:32:29 +01:00
Sébastien Loriot
1bf02b2d94
remove license statements
2019-11-13 15:32:23 +01:00
Guillaume Damiand
f42c9ab89d
Update licences
2019-11-13 14:44:45 +01:00
Guillaume Damiand
7d2cf8df71
Bugfix in draw nef3
2019-11-13 14:38:22 +01:00
Guillaume Damiand
d638c80b5a
Merge branch 'master' into gsoc2019-add_basic_viewer-jasmeet
2019-11-12 22:13:10 +01:00
Laurent Rineau
30b02eea63
Merge pull request #4303 from sloriot/CGAL-SPDX_updates
...
Update SPDX tags
2019-10-25 16:26:13 +02:00
Constantinos Chamzas
a55b90ef2a
Namespaced newell function
2019-10-22 11:31:09 -05:00
Sébastien Loriot
254d60f642
First pass on removing license notice in header for GPL files
2019-10-19 15:23:19 +02:00
Sébastien Loriot
7356421d80
introduce Commercial license SPDX tag
2019-10-19 12:15:19 +02:00
Sébastien Loriot
9bd9c68b83
update LGPL[23]+ and GPL[23]+ SPDX tags
...
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Mael Rouxel-Labbé
e4c0bcffa0
Update usage of intersection tags
2019-09-19 18:32:34 +02:00
Guillaume Damiand
2b381af544
Remove more warnings
2019-09-16 17:19:49 +02:00
Jasmeet Singh
63d1838b60
Merge remote-tracking branch 'cgal/master' into gsoc2019-add_basic_viewer-jasmeet
2019-07-23 12:27:41 -07:00
Jasmeet Singh
b188dabef4
Small Environment variable fix.
2019-07-12 11:45:55 -07:00
Jasmeet Singh
a943d8e479
Specialize draw() function for Nef_3 viewer
2019-07-12 11:12:57 -07:00
Sébastien Loriot
c0edb5ecaa
remove CGAL_CXX11 macro usage
2019-07-08 11:42:17 +02:00
Jasmeet Singh
e5986189a5
Correct vertex normals. Gourard Shading works.
2019-07-03 13:53:08 -07:00
Jasmeet Singh
ac5b76c0d1
Remove unused compute_vertex() method, display nef in one color
2019-07-02 16:35:53 -07:00
Jasmeet Singh
16992e743e
Add color to faces. Code cleanup
2019-06-29 19:12:43 -07:00
Jasmeet Singh
625ab7583d
Count and tally the number of edges drawn for validation.
2019-06-29 18:08:07 -07:00
Jasmeet Singh
f9690fb852
Add face normal computation.
2019-06-29 17:53:35 -07:00
Jasmeet Singh
5b19e7d1a5
Add debug output. Classify newell_single_step_3 function using namespace CGAL to avoid ambiguity. Add example file to draw.
2019-06-29 14:25:43 -07:00
Jasmeet Singh
42c09f550d
Add viewer for faces of Nef Polyhedron.
2019-06-28 13:25:09 -07:00
Jasmeet Singh
9995083b9e
Add a visitor class to view the elements of Nef Polyhedron. Only vertices viewed for now.
2019-06-28 11:44:52 -07:00
Jasmeet Singh
6843c2ed69
Add viewer for Nef Polyhedra. Only points viewed for now.
...
File Buffer_for_vao.h modified to classify the ambiguous call to the function newell_single_step_3().
Added namespace identifier 'internal::' to avoid conflict with function in normal_vector_newell_3.h included in
Nef_polyhedron_3.h
2019-06-27 12:44:38 -07:00
Andreas Fabri
4581f1b7a8
Morte replacements
2019-06-05 08:39:55 +02:00
Laurent Rineau
5dc823d509
Merge branch 'releases/CGAL-4.14-branch'
2019-05-23 08:49:56 +02:00
Laurent Rineau
7be5e3fbe5
Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
2019-05-23 08:44:39 +02:00
Sébastien Loriot
a84ff2d663
fix index order of triangles
2019-04-24 09:48:45 +02:00
Sébastien Loriot
ca755e35a8
Merge pull request #3599 from maxGimeno/Nef_3-Document_Nef_3_to_Polygon_soup-GF
...
Nef_3 : Document convert_nef_polyhedron_to_polygon_soup-GF
2019-04-23 09:52:26 +02:00
Sébastien Loriot
28ec0d926d
remove unused typedef
2019-04-12 17:52:31 +02:00
Simon Giraudot
d314711eaf
Merge remote-tracking branch 'mine/Stream_support-Enhance_color-GF' into Stream_support-Enhance_color-GF
2019-04-09 15:00:56 +02:00
Simon Giraudot
2c1ca1e893
Replace old color API using global const variable with new one using functions
2019-04-03 11:51:29 +02:00
Sébastien Loriot
ce126b87c6
remove cpp11::copy_n, cpp11::prev, and cpp11::next and use std instead
2019-03-29 13:28:32 +01:00
Sébastien Loriot
d60f5645aa
replace BOOST_FOREACH by c++ ranged-based for loop
...
some of the command used for the replacement:
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
Sébastien Loriot
8ec090d1d1
remove condition for cpp11 in Nef
2019-03-29 10:41:50 +01:00
Andreas Fabri
a77988e149
Fix Nef_3
2019-01-24 18:06:03 +01:00
Maxime Gimeno
e2f2c63e76
Modifications after review
2019-01-23 11:25:00 +01:00
Laurent Rineau
afc3de2894
Merge branch 'master' into Stream_support-Color-GF
2019-01-23 09:37:08 +01:00
Andreas Fabri
09ae18b191
Fix Nef_3
2019-01-22 19:07:31 +01:00
Andreas Fabri
9fc58ff874
Fix SNC_sphere_map
2019-01-22 19:07:31 +01:00
Andreas Fabri
d8f608fa51
fix Nef_3
2019-01-15 18:20:36 +01:00
Maxime Gimeno
ce72dd895f
First draft of the doc
2019-01-15 12:38:04 +01:00
Maxime Gimeno
7bd7caa53c
Replace vectors of points and polygons by ranges and write a test file.
2019-01-15 10:04:38 +01:00
Sébastien Loriot
725e773bdd
add nef to polygon soup
2018-12-20 09:31:52 +01:00
Andreas Fabri
97ac4d5f51
Exploit that construct is variadic
2018-04-17 14:15:07 +01:00
Andreas Fabri
7cbffac35b
Deal with deprecated functions allocator<T>::construct/destroy
2018-04-17 13:35:04 +01:00
Andreas Fabri
3580a28a98
Move file from BGL to Nef_3
2018-03-22 16:54:54 +01:00
Laurent Rineau
182239d6b6
Merge branch 'master' into CGAL-remove_SCL_SECURE_NO_DEPRECATE-GF
2018-03-06 16:49:30 +01:00
Jane Tournois
30e2fe0844
fix condition on _MSC_VER
2018-03-02 10:39:57 +01:00
Laurent Rineau
f16b771a09
Fix the syntax error
2018-03-01 14:04:38 +00:00
Jane Tournois
646dfedaf3
since msvc 2017, these typedefs are valid
...
and even needed when using /permissive-
2018-02-28 11:52:49 +01:00
Andreas Fabri
eb526fc4f5
Replacements and suppress warnings in the test code
2018-02-20 13:10:38 +00:00
Andreas Fabri
fa92aa49f7
Nef
2018-01-18 10:43:57 +00:00
Sébastien Loriot
8cdfad0d08
add missing URL and Id tags
2017-11-15 22:58:57 +01:00
Sébastien Loriot
ee57fc2d6c
add SPDX identifier for files under the GPL-3+ license
2017-11-12 10:17:51 +01:00
Sébastien Loriot
97e8ea1794
remove extra space
2017-11-12 10:17:51 +01:00
Laurent Rineau
4d0d588c90
Merge pull request #1989 from maxGimeno/Plugins_use_SM-Convex_decomposition-GF
...
convex decomposition work with Surface_mesh_item
2017-07-03 12:08:48 +02:00
Laurent Rineau
bececa63df
Merge branch 'releases/CGAL-4.9-branch' into releases/CGAL-4.10-branch
2017-06-16 11:43:08 +02:00
Sébastien Loriot
1ca852bb87
fix Booleen operations with full/empty space
2017-06-07 09:36:09 +02:00
Maxime Gimeno
45edec15db
Nef_plugin works with surface_mesh.
2017-05-29 12:12:31 +02:00
Sébastien Loriot
4cbb19ecf4
remove unused variable warnings
2017-01-30 07:22:48 +01:00
Sébastien Loriot
50510c05ea
add include directive for license of all GPL header files
...
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
grep -v Operations_on_polyhedra | \
grep -v Algebraic_kernel_for_circles | \
grep -v Algebraic_kernel_for_spheres | \
grep -v Polyhedron_IO`;
do
echo $i
python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Sébastien Loriot
117ea03d92
add missing include directives
2016-10-31 14:51:32 +01:00
Laurent Rineau
c826500c7d
Merge pull request #1551 from mglisse/Number_types-gmpxx_coercion-glisse
...
Misc GMPXX fixes
2016-10-20 09:47:39 +02:00
Laurent Rineau
b76e1e021a
Merge pull request #1470 from sloriot/Nef_3-cst_from_FaceGraph
...
Add a Nef_3 constructor from a FaceGraph
2016-10-17 10:03:28 +02:00
Laurent Rineau
038a310a1a
Merge pull request #1446 from sloriot/CGAL-remove_dont_submit
...
Getting rid of the remaining dont_submit files
2016-10-17 10:01:30 +02:00
Laurent Rineau
2e4354f2e6
Merge pull request #1421 from afabri/Nef_3-static-GF
...
Nef_3: Make variables atomic
2016-10-17 09:59:36 +02:00
Marc Glisse
5bee5f5922
Workarounds for expression templates.
2016-10-15 18:21:54 +02:00
Sébastien Loriot
b572d76f16
move unused files to archive
2016-10-06 09:53:36 +02:00
Andreas Fabri
66fb38611d
no need for CGAL/tss.h
2016-10-05 16:15:49 +02:00
Andreas Fabri
bc8e29b025
Split the file CGAL/Nef_3/ID_support_handler in two files,
...
one with the generic function, one with the specialization used by Nef_3.
2016-09-30 15:23:15 +02:00
Laurent Rineau
c22dcd0e2c
Missing includes
2016-09-30 15:23:15 +02:00
Andreas Fabri
b571c968ed
Fix package Nef_3: include headers
2016-09-30 15:22:30 +02:00
Laurent Rineau
3ba403471c
Use CGAL::cpp11::atomic only when possible
2016-09-22 15:38:02 +02:00
Sébastien Loriot
f1f82785ac
add a constructor from a FaceGraph
...
The first version code is from @afabri
2016-09-21 08:47:06 +02:00
Andreas Fabri
0695aa3fcd
Protect a counter shared by all threads using atomic
2016-09-06 11:18:22 +02:00
Andreas Fabri
099b98da01
Make variables thread local
2016-08-31 12:56:46 +02:00
Sébastien Loriot
013c25c889
Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch'
2016-06-08 14:11:28 +02:00
Sébastien Loriot
683e6dff94
handle isolated vertices in change_orientation
2016-06-07 10:04:43 +02:00
Laurent Rineau
00e6e03d5c
Merge pull request #785 from afabri/CGAL-missing_includes-GF
...
Partial cleanup of issue #595 Part2
2016-03-24 17:02:27 +01:00
Sebastien Loriot
31e99620a6
Merge pull request #547 from gunshi/master
...
Plane_3-Plane_lt-map-patch
2016-02-22 08:45:15 +01:00
Andreas Fabri
beb1417477
remove unused header files; remove commented includes; changed include paths
2016-02-15 14:20:12 +01:00
Gunshi Gupta
4404c198ed
Updating Plane_lt struct's operator() to recognise two proportional planes as the same plane by comparing ratios of corresponding a,b,c,d of Plane_3s
2016-02-10 20:13:31 +05:30
Andreas Fabri
4e342a0f05
forgot a }
2016-01-21 17:54:11 +01:00
Andreas Fabri
99b4e2f150
more CGAL_USE and some reindentations
2016-01-21 10:22:20 +01:00
Andreas Fabri
c32b00acce
partial cleanup of issue #595
2016-01-08 17:55:08 +01:00
Sebastien Loriot
2e493f297b
Merge pull request #389 from afabri/CGAL-Qt3-GF
...
Remove Qt3 based demos
2015-10-23 17:08:49 +02:00
Sébastien Loriot
e2af73ca0a
remove Nef_3 widget and remove example path
2015-10-22 09:37:05 +02:00
Laurent Rineau
330a0e75a2
Merge pull request #385 from cjamin/CGAL_headers_only-gdamiand_cjamin
...
CGAL headers only, step 0
2015-10-13 16:37:38 +02:00
Guillaume Damiand
cf1c0ea0ca
Merge branch 'CGAL_headers_only-gdamiand_cjamin-OLD' into CGAL_headers_only-gdamiand_cjamin
2015-10-01 09:12:55 +02:00
Sébastien Loriot
68c01e9cae
add constructor from point, point range and segment
2015-09-08 10:56:18 +02:00
Sébastien Loriot
84d82c3a8e
fix unused variable warnings
2015-07-16 10:15:33 +02:00
Guillaume Damiand
9c78897ba5
Merge branch 'CGAL_headers_only-gdamiand_cjamin-old' into CGAL_headers_only-gdamiand_cjamin
2015-03-16 14:00:43 +01:00
Sébastien Loriot
073fdd0fd7
if the incremental builder failed, simply rollback instead of continuing
2015-02-26 08:51:00 +01:00
Guillaume Damiand
ef550fd3bb
Ok for first version.
2014-11-14 17:22:06 +01:00
Andreas Fabri
2aa0f98526
Arithmetic_kernel -> Exact_integer/rational
2014-07-16 16:45:14 +02:00
Sébastien Loriot
0230e979e2
Merge branch 'CGAL-use_leda-GF-OLD' into CGAL-use_leda-GF
...
Conflicts:
Arrangement_on_surface_2/test/Arrangement_on_surface_2/construction_test_suite_generator.cpp
Arrangement_on_surface_2/test/Arrangement_on_surface_2/test_construction.cpp
Documentation/doc/Installation.txt
Kernel_23/include/CGAL/Exact_predicates_exact_constructions_kernel.h
2014-06-18 22:50:06 +02:00
Sébastien Loriot
d3f82210bf
remove VC warning: change class to struct
2013-05-23 11:08:49 +02:00
Sébastien Loriot
51103a281f
fix SNC_IO_parser to work with Lazy_exact_nt
2013-05-21 08:36:05 +02:00
Sébastien Loriot
afe855652b
bug-fix: update the SNC_io_parser to keep on working with Epeck
2013-05-20 14:51:11 +02:00
Andreas Fabri
b5e5e14aba
Use Decompose instead of numerator()/denominator()
2013-03-26 11:31:56 +01:00
Andreas Fabri
b29fdaeddf
don't use GMP if it is not installed
2013-03-25 09:37:16 +01:00
Laurent Rineau
a04891ff93
WARNFIX: fix some warnings triggered by -Wconversion on g++
2012-08-09 16:06:54 +00:00
Philipp Möller
79b30908d5
WARNFIX: Silence a good part of unused variable/parameter warnings.
...
Wextra results in a dreadful wall of yellow in the test-suite and is
scary when using CGAL. Reduce some of the noise by silencing the
obvious cases with CGAL_USE or comments.
2012-08-07 11:04:32 +00:00
Laurent Rineau
db194534c7
First big patch to fix -Wunused-local-typedefs
...
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
by -Wall since gcc-4.8 (not yet released).
The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
2012-08-01 13:29:16 +00:00
Philipp Möller
d3ee04897c
merged next
2012-05-09 13:50:00 +00:00
Sébastien Loriot
f685a77b0e
merge from next
2012-04-17 18:19:33 +00:00
Sébastien Loriot
24070082f6
*deprecate the use of geninfo
...
*naive replacement of void* and geninfo by boost::any.
*old code can be used if CGAL_I_DO_WANT_TO_USE_GENINFO is defined
*info was printed, I simply ignored that for boost::any
(it probably made sense why the old implementation of geninfo that was using placement new to write
inside the void*)
*some sizeof(void*) was used in SNC_structure.h for printing the size of something.
I guessed this was related to the void* used as info. I left that code untouched.
*testsuite is OK on my machine except Nef_3/example/Nef_3/polygon_construction which also
does not work with next on my machine
2012-04-17 18:18:09 +00:00
Sébastien Loriot
03ac39132a
remove unused var warning
2012-04-17 17:37:53 +00:00
Philipp Möller
8f1ce2412c
Removed all places where the CGAL_CFG_NO_TMPL_IN_TMPL work-around was
...
used. Those were mostly in Polyhedron and HalfedgeDS but some places
in Arrangement_2 used it, too. Neither of the parts of Arrangement_2
have been documented.
2012-04-13 13:13:30 +00:00
Efi Fogel
73aed62c96
pacify some compiler (commented out unused variables)
2012-01-30 14:30:27 +00:00
Efi Fogel
7b7671fc56
pacify some compiler (commented out unsuded variable)
2012-01-29 10:53:20 +00:00
Laurent Rineau
902a51c9f2
Fix missing copyright and/or license notice
2012-01-19 16:51:59 +00:00
Laurent Rineau
8f59fd9592
Turn QPL into LGPLv3+
2012-01-13 16:33:35 +00:00
Laurent Rineau
07be7f49a5
Include <CGAL/glu.h> where needed
2011-11-09 22:45:52 +00:00
Laurent Rineau
369498d1e5
Cancel revision 64607. There had been a problem with the branch.
...
| ------------------------------------------------------------------------
| r64607 | efif | 2011-07-05 17:27:04 +0200 (Tue, 05 Jul 2011) | 1 line
|
| Merged feature-branch Aos_2-new_functors-tau into next
| ------------------------------------------------------------------------
2011-07-06 11:11:58 +00:00
Sébastien Loriot
a8b69a49cd
bug in simplify in case a sloop is created when an edge is simplified.
...
For details see comments added
2011-05-27 11:26:40 +00:00
Sébastien Loriot
767bc40b1d
remove warnings
2011-03-03 18:20:41 +00:00
Sébastien Loriot
0ebdccfa4e
update URL and Id tag
2011-03-02 14:59:51 +00:00
Andreas Fabri
28dad1ac6f
Switch to Projection_traits classes
2011-01-19 11:11:26 +00:00
Andreas Fabri
cba1240d90
Add parenthesis to quiet down clang and have more readable code
2010-12-06 15:19:56 +00:00
Sébastien Loriot
b265c6c919
long -> std:size_t to avoid a warning
2010-11-22 07:48:42 +00:00
Sébastien Loriot
9adcfa7e1a
add functor taking care of construction of planes and vectors
...
in case the plane stored by the polyhedron is either a plane or
a vector (Polyhedron_traits_with_normals_3)
2010-10-19 07:22:22 +00:00
Daniel Russel
ba741338c6
fix const correctness on convert to polyhedron
2010-09-20 17:38:06 +00:00
Daniel Russel
cb2c38cd01
include def for origin
2010-09-20 17:37:24 +00:00
Laurent Rineau
2270620c69
Fix Nef_3 on recent g++.
2010-09-13 16:40:54 +00:00
Andreas Fabri
f22ee7261f
Change typedefs in the hope that gcc digestests them better
2010-09-05 14:50:51 +00:00
Andreas Fabri
4aa977e7e6
Conditional removal of using as VC++ has a problem with it
2010-08-23 15:17:29 +00:00
Andreas Fabri
104db1c602
Remove duplicate using statement
2010-08-23 15:09:25 +00:00
Andreas Fabri
b1103b23e2
Add const
2010-08-23 15:00:26 +00:00
Andreas Fabri
6419ee6993
Added using statements
2010-08-23 14:19:10 +00:00
Andreas Fabri
03f34438d2
Added using statements
2010-08-23 14:06:26 +00:00
Andreas Fabri
ba831fc76e
Added using statements
2010-08-23 13:56:33 +00:00
Laurent Rineau
7106e69e7a
Fix keyword $URL$ and $Id$: "$URL: " and "$Id: " are not correct Subversion keywords
2010-06-29 12:47:18 +00:00
Laurent Rineau
35a3c17f1e
Fix warnings: braces around empty body, and unused parameters.
2010-06-29 12:38:52 +00:00
Andreas Fabri
e642b25c1f
int/long/ptrdiff_t -> size_t
2010-06-28 08:27:08 +00:00
Sébastien Loriot
52317dd49f
add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
...
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Andreas Fabri
033b381585
Add 'using' for ansi compliance
2010-05-17 10:30:22 +00:00
Andreas Fabri
ddd4007b83
remove unused function
2010-05-11 17:33:28 +00:00
Andreas Fabri
135b2e522e
Remove undefined code in unused function (detected by Intel)
2010-05-11 13:26:08 +00:00
Andreas Fabri
84de3346d9
Remove '&'
2010-05-11 13:00:36 +00:00
Peter Hachenberger
64d5ca0a64
bug fix in point_update: boundary_items of sfaces were not set correctly
2010-05-04 16:44:30 +00:00
Peter Hachenberger
067c462173
extension of is_valid: check boundary_objects of sface
2010-05-04 16:43:57 +00:00
Peter Hachenberger
79229a5472
small bug fix in convert_inner_shell_to_nef3
2010-05-04 16:41:56 +00:00
Sylvain Pion
85dc12f2a7
Remove empty lines at beginning and end of files
...
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00
Sébastien Loriot
cdee61ee96
Replace M_PI by CGAL_PI
2010-01-19 07:27:33 +00:00
Laurent Rineau
fb27c5d7fb
Constness issues: add missing "const".
2010-01-13 14:56:41 +00:00
Laurent Rineau
83912b2952
Massive fix of svn:keywords properties, and $URL$ keyword.
2009-10-20 08:59:26 +00:00
Peter Hachenberger
79e0f71d0b
allow more complex simplification rules
2009-07-20 13:46:03 +00:00
Laurent Rineau
b972b38b6d
- Remove the capital P in "convert_to_Polyhedron". Add a wrapper function for
...
back-compatibility.
- Fill svn:ignore properties.
2009-06-30 09:40:14 +00:00
Peter Hachenberger
0d3ba40341
initialization of support hash should happen
...
once at the beginning
2009-05-03 11:32:35 +00:00
Sylvain Pion
d357c66055
Rename ES and FS to avoid clashes with macros defined by <sys/reg.h>.
2009-04-26 13:33:57 +00:00
Peter Hachenberger
e785c364bf
make enum Intersection_mode publicly available
2009-04-21 01:04:28 +00:00
Peter Hachenberger
5ab25252e9
removed logical bug for intersection with plane
2009-04-20 09:53:01 +00:00
Peter Hachenberger
93611aa06b
forgot indexes and dummy facets for vertex-vertex overlay
2009-04-16 08:58:30 +00:00
Marc Glisse
bbf6abff28
(Base)*this=... seems to be illegal. Legal alternatives are:
...
(Base&)*this=...
*(Base*)this=...
this->Base::operator=(...)
I'll check the testsuite tomorrow to see if no compiler complains about
this version.
2009-02-26 10:48:53 +00:00
Andreas Fabri
db682b1a91
first bug fix after 3.4Beta
2008-12-19 20:12:51 +00:00
Andreas Fabri
f2f87a5ebc
Add license header
2008-12-06 21:31:59 +00:00
Laurent Rineau
6e36415131
Initialized the base class, to remove a warning.
2008-11-12 08:52:02 +00:00
Peter Hachenberger
bd01f3443c
took out old and nowadays buggy assertion
2008-11-04 13:07:47 +00:00
Peter Hachenberger
86aff4bdcb
took out old and nowadays buggy assertions.
2008-11-04 13:07:04 +00:00
Peter Hachenberger
5c32d1ec24
get rid of uninitialized variable warning
2008-10-27 14:45:52 +00:00
Sylvain Pion
6aba449434
Replace Nef's custom Object_handle by CGAL::Object.
...
There were some differences :
- CGAL::Object has no template constructor, so using make_object() was required.
- CGAL::Object had no comparison with NULL to check emptyness. I added
such comparison operators to CGAL::Object as *deprecated*.
2008-09-09 16:03:25 +00:00
Peter Hachenberger
d8ff884f33
small interface change in functions for visual hull
2008-08-23 17:26:43 +00:00
Andreas Fabri
1119e5d024
fixed partial specialization
2008-08-21 07:44:16 +00:00
Peter Hachenberger
881aa271c3
took out trace output
2008-08-12 07:28:27 +00:00
Peter Hachenberger
208eaac1f6
now works with SNC_indexed_items
2008-08-11 09:37:24 +00:00
Peter Hachenberger
c1655b06b9
corrected copy/paster error
2008-08-11 09:36:39 +00:00
Peter Hachenberger
0ef3b0c182
bug fix for GLU usage on mac
2008-08-01 15:38:58 +00:00
Peter Hachenberger
68efe20868
removed unused parameter
2008-08-01 09:25:29 +00:00
Peter Hachenberger
e19ecac4e8
updated is_simple for more general conversion to Polyhedron_3
2008-08-01 09:23:39 +00:00
Peter Hachenberger
daed689d95
added space to omit stupid warning
2008-08-01 09:22:29 +00:00
Peter Hachenberger
f910be3796
removed #include<CGAL/functional.h>
2008-07-26 15:52:05 +00:00
Peter Hachenberger
a426d8cfa3
new class gives the default value for the template
...
paramater Items of class Nef_polyhedron_3 dependend
upon the used Kernel
2008-07-25 15:25:54 +00:00
Peter Hachenberger
0f52071ad2
additional helper functions
2008-07-24 14:11:20 +00:00
Peter Hachenberger
8696b27fd6
forgot some renamings
2008-07-24 14:10:24 +00:00
Peter Hachenberger
abcb52eb01
corrected error in Default_item mechanism
2008-07-24 14:09:40 +00:00
Peter Hachenberger
fc66752f66
renamed Nary_union to Nef_nary_union_3 (same for Nary_interesection)
...
to avoid potential future name conflicts.
2008-07-15 15:26:56 +00:00
Peter Hachenberger
b61c2b1f61
moved Nary_union and Nary_intersection to CGAL scope.
2008-07-15 15:23:47 +00:00
Peter Hachenberger
f027f67612
removed inclusion of Edge_edge_overlay.h
2008-07-14 19:14:57 +00:00
Peter Hachenberger
6388e9579f
corrected error in unused experimental code
2008-07-14 18:45:09 +00:00
Peter Hachenberger
aa18c26b2e
added #include line
2008-07-14 18:41:06 +00:00
Peter Hachenberger
80ad55f509
added function to determine whether an shalfedge is on an inner
...
or outer facet cycle.
2008-07-12 16:55:21 +00:00
Peter Hachenberger
775b8f868f
- intersection with halfspace uses enum to distinguish intersections
...
with plane, open or closed halfspace.
- added constructor for polylines.
2008-07-12 16:45:05 +00:00
Peter Hachenberger
5f72e2c3fa
-refactoring of binary operations
...
-conversion of a shell into a separate polyhedron
-fast edge-edge overlay
2008-07-05 22:00:05 +00:00
Peter Hachenberger
b228e536ee
refactored binary_operation
2008-06-27 11:40:38 +00:00
Peter Hachenberger
b763918582
altered code
2008-06-27 11:40:00 +00:00
Peter Hachenberger
9bffced5b1
added unused experimental code
2008-06-27 11:39:34 +00:00
Peter Hachenberger
877f6d45b2
change in is_bounded
2008-06-27 11:39:02 +00:00
Peter Hachenberger
6fa0121254
new function added
2008-06-27 11:36:43 +00:00
Peter Hachenberger
bb510c34bb
removed GenPtr info
2008-06-27 11:36:20 +00:00
Peter Hachenberger
8446860a4f
factored out edge_edge_overlay
...
added unused experimental code
2008-06-27 11:35:42 +00:00
Peter Hachenberger
566bbf0336
removed GenPtr info
2008-06-27 11:34:36 +00:00
Peter Hachenberger
826bbc618e
set counter back after get_union().
2008-06-27 11:34:13 +00:00
Peter Hachenberger
6ab177b4ac
how did this work before?
2008-06-27 11:33:30 +00:00
Peter Hachenberger
401a3b9997
update of coordiante conversion
2008-06-27 11:32:54 +00:00
Peter Hachenberger
9d6f1a8eca
now working with indexed items
2008-06-27 11:31:34 +00:00
Peter Hachenberger
0537be3cd9
small bug fix
2008-06-27 11:31:13 +00:00
Peter Hachenberger
6f3007d013
removed Genptr info
2008-06-27 11:30:32 +00:00
Peter Hachenberger
6a6c2cd3ed
added currently unused experimental code
2008-06-27 11:29:12 +00:00
Peter Hachenberger
bfb86352b6
added namespace
2008-06-27 11:28:28 +00:00
Peter Hachenberger
3dfab42e69
bug fix
2008-06-27 11:27:53 +00:00
Peter Hachenberger
e722f28b59
removed bug in simplification
2008-06-27 11:27:06 +00:00
Peter Hachenberger
491b111f05
experimental code added
2008-06-27 11:26:21 +00:00
Peter Hachenberger
65c6d4491d
optimization is not stable and therefore turned off
2008-05-22 15:04:50 +00:00
Peter Hachenberger
b77c09dfe4
items moved to separate files
2008-05-22 15:04:20 +00:00
Laurent Rineau
e62e053848
Fix the error
...
"../../include/CGAL/Nef_3/SNC_point_locator.h", line 311: Error: The function "strcpy" must have a prototype.
detected by Sun CC.
2008-03-11 11:38:02 +00:00
Peter Hachenberger
db179833c8
small bug fix
2008-01-17 15:59:04 +00:00
Peter Hachenberger
e47918c1f6
optimizations to prevent filter failures
2008-01-16 15:11:30 +00:00
Peter Hachenberger
c38f558186
optimization to prevent filter failures
2008-01-16 15:10:16 +00:00
Peter Hachenberger
8b7653e094
corrected protective guards
2008-01-15 12:00:28 +00:00
Sylvain Pion
2fd547c229
Fix typo s/Point/Point_3/.
2008-01-14 21:14:54 +00:00
Peter Hachenberger
6d1dd4bb0e
prevent filter failures
2008-01-04 17:36:01 +00:00
Peter Hachenberger
7a3d8afb8c
plane(f) -> f->plane() and similar changes
2008-01-04 17:35:07 +00:00
Andreas Meyer
0f941fbcf2
again CGAL_error -> CGAL_error_msg
2007-11-09 15:27:44 +00:00