Commit Graph

109 Commits

Author SHA1 Message Date
Philipp Möller b8bb233d86 Delete FaceGraph_to_Polyhedron_3
Functionality has been replaced by copy_face_graph()
2016-04-15 10:04:45 +02:00
Giles Bathgate f0ac236713 Introduces a GCAL_NO_ASSERTIONS_BOOL macro
This macro is always defined. Its value will be true when assertions are defined
and false when assertions are not defined. This macro can then be used in place
of a true false constant, such as is needed for CGAL_NOEXCEPT.
2016-01-08 20:31:59 +00:00
Giles Bathgate f6dfeba815 Use CGAL_NO_ASSERTIONS with the CGAL_NOEXCEPT macro.
This avoids penalizing release builds in which assertions are not
made within the destructors, and so no exception can be thrown.
2015-12-19 15:47:16 +00:00
Giles Bathgate 3a725499ad Introduces CGAL_NOEXCEPT macro.
This macro is available for future compatibility with c++11, which
by default marks destructors noexcept(true). Some destructors
in CGAL do throw exceptions an so should be marked noexcept(false).
Since noexcept is not available in c++0x and below the macro is
disabled when CGAL_CXX11 is not defined since it is not required.
2015-11-23 16:47:59 +00:00
Giles Bathgate 9645135ff5 Introduces a CGAL_destructor_assertion macro.
This macro can safely be called from a destructor, even when
the stack is currently unwinding, and thus prevents uncatchable
exceptions.
2015-11-23 16:47:59 +00:00
Andreas Fabri 220f89716b include the file that provides IO stream operators 2015-11-19 17:20:44 +01: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
Sébastien Loriot 1ed289cc7e Merge branch 'old/gsoc13-CurveSkeleton-new_package-xgao' into gsoc13-CurveSkeleton-new_package-xgao
Conflicts:
	Documentation/doc/Documentation/Doxyfile.in
	Documentation/resources/how_to_cite_cgal.bib.in
2015-02-09 12:43:41 +01:00
Sébastien Loriot 1a79edd840 fix compilation issues (nothing to do with the merge) 2015-01-30 17:57:04 +01:00
Jane Tournois 4f364cf17b make is_oriented, compute_facet_normal, and compute_vertex_normal BGL
these 3 functions now handle a FaceGraph
test completed to check their use with Polyhedron_3 and Surface_mesh

typedef Point added in Polyhedron_3
to handle with no difference Surface_mesh and Polyhedron_3
2015-01-23 14:55:36 +01:00
Sébastien Loriot 7e5e2493c2 start implementing the new free function to extract skeleton 2014-12-18 23:51:21 +01:00
Andreas Fabri c243c20e57 Add is_empty() as an alias to empty() as this is the CGAL nmaing convention 2014-11-25 12:40:50 +01:00
Sébastien Loriot 86f2ed6b0b Allow to use segmentation and AABB-tree by including only Polyhedron_3.h 2014-07-04 17:24:07 +02:00
Sébastien Loriot 5f4813b64d properties_Polyhedron_3.h is now included by graph_traits_Polyhedron_3.h 2014-07-04 17:24:05 +02:00
Sébastien Loriot b7edce623f Polyhedron should not include BGL specialization 2014-07-04 17:24:05 +02:00
Sébastien Loriot d16f193a0d initialize to NULL the pointer member 2014-07-02 10:43:25 +02:00
Sébastien Loriot 60a1cbc324 fix wrong reference type 2014-07-01 16:43:27 +02:00
Sébastien Loriot e1c8270b14 remove incorrect use of the default point property map 2014-06-24 16:36:49 +02:00
Andreas Fabri 4e1911c4b6 source and target are not in namespace boost 2014-06-12 09:17:58 +02:00
Sébastien Loriot d0dfac3caa facet_handle -> face_descriptor 2014-06-05 21:29:01 +02:00
Sébastien Loriot 8b88547955 fix compilation issues 2014-06-05 17:01:59 +02:00
Andreas Fabri 2c4c38809d switch internally to BGL API in mesh segmentation. We still have to deal with the point property maps 2014-06-05 12:05:54 +02:00
Andreas Fabri ceb1a76ec3 cleanup 2014-05-26 12:43:46 +02:00
Andreas Fabri e95c3d452c Switch to new BGL API in package AABB_tree 2014-05-24 08:55:43 +02:00
Andreas Fabri 28546e94a2 Add function to access the underlying HDS 2014-05-22 11:19:53 +02:00
Sébastien Loriot 4707e13d2a bugfix when checking for duplicated indices of a new facet 2014-01-23 09:18:30 +01:00
Sébastien Loriot 8f579d8069 fix a bug when appending facets to a polyhedron using the incremental builder 2013-12-18 12:35:26 +01:00
Andreas Fabri ca13d36c2b remove whitespace 2013-09-23 12:44:07 +02:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Sébastien Loriot 32f1e53b41 allow the polyhedron copy to also append into an existing polyhedron
trivial fix on a non-documented class (not included by any file in CGAL)
2013-07-16 12:54:31 +02:00
Sébastien Loriot 6735255fd0 The vertex point property map can be external for non-CGAL graph implementation
This is a bugfix of the API
2013-07-03 12:51:09 +02:00
Sébastien Loriot 7dcfef5a53 Merge branch 'Polyhedron-demo_header_cleanup_and_new_plugins-sloriot'
Successfully tested in CGAL-4.3-Ic-68
approved by the Release Manager
2013-06-24 12:30:25 +02:00
Sébastien Loriot 376e99312e Merge branch 'AABB_tree-one_primitive_per_object-sloriot'
Successfully tested in CGAL-4.3-Ic-68
implements what is described in Small_Features/aabb_tree_more_primitives
2013-06-24 08:11:05 +02:00
Sébastien Loriot 47fa1269cb make get function friend functions of the property maps
This change was needed to workaround a bug observed with g++ (Debian 4.7.3-4)
while compiling Scene_polyhedron_item, just including
CGAL/Polyhedron_3_property_map.h
2013-06-21 09:07:15 +02:00
Sébastien Loriot 204e8a6ae0 fix constness issue for HalfedgeGraph property maps 2013-06-20 19:45:26 +02:00
Sébastien Loriot 8c72a3d046 use point type of the polyhedron to deduce the kernel with Kernel_traits 2013-06-20 19:10:58 +02:00
Sébastien Loriot b5aa981404 move corefinement to operations on polyhedra 2013-06-20 16:47:26 +02:00
Sébastien Loriot ca9636bf1e move polyhedron slicer 2013-06-20 16:45:17 +02:00
Sébastien Loriot ea5e1933b2 Merge branch 'Polyhedron-mesh_slicer_with_AABB-iyaz' 2013-06-20 14:37:21 +02:00
Sébastien Loriot 2463131774 the output polyhedron type is now a template parameter 2013-06-20 08:00:19 +02:00
Sébastien Loriot 969cbc537b add missing call to vertex visitor for edge_split 2013-06-20 07:57:04 +02:00
Sébastien Loriot 26a46e2fa9 use Default for template parameters 2013-06-20 07:57:04 +02:00
Sébastien Loriot e9caabf68d remove used variable 2013-06-19 19:36:30 +02:00
Sébastien Loriot 607dc3386a fix HalfedgeGraph segment primitive to match the current implementation 2013-06-19 17:30:13 +02:00
iyaz dc8d71943b API changes, demo improvements 2013-06-19 00:41:34 +03:00
Sébastien Loriot 650f9b4295 Merge branch 'AABB_tree-one_primitive_per_object-sloriot-old' into AABB_tree-one_primitive_per_object-sloriot
Conflicts:
	.gitattributes
	AABB_tree/doc_tex/AABB_tree_ref/AABBGeomTraits.tex
	AABB_tree/doc_tex/AABB_tree_ref/AABBTraits.tex
	AABB_tree/dont_submit
	AABB_tree/include/CGAL/AABB_traits.h
	AABB_tree/include/CGAL/AABB_tree.h
	AABB_tree/include/CGAL/internal/AABB_tree/AABB_traversal_traits.h
	AABB_tree/test/AABB_tree/AABB_test_util.h
	AABB_tree/test/AABB_tree/aabb_correctness_triangle_test.cpp
	AABB_tree/test/AABB_tree/aabb_distance_edge_test.cpp
	AABB_tree/test/AABB_tree/aabb_distance_triangle_hint_test.cpp
	AABB_tree/test/AABB_tree/aabb_distance_triangle_test.cpp
	AABB_tree/test/AABB_tree/aabb_intersection_triangle_test.cpp
	Boolean_set_operations_2/examples/Boolean_set_operations_2/bezier_traits_adapter2.cpp
	Installation/cmake/modules/CGAL_Common.cmake
	Installation/cmake/modules/CGAL_CreateSingleSourceCGALProgram.cmake
	Installation/cmake/modules/CGAL_Macros.cmake
	Installation/cmake/modules/CGAL_SetupBoost.cmake
	Installation/cmake/modules/CGAL_SetupDependencies.cmake
	Installation/cmake/modules/CGAL_SetupGMP.cmake
	Installation/cmake/modules/CGAL_SetupGMPXX.cmake
	Installation/cmake/modules/CGAL_SetupLEDA.cmake
	Installation/cmake/modules/CGAL_SetupMPFI.cmake
	Installation/cmake/modules/CGAL_SetupNTL.cmake
	Installation/cmake/modules/CGAL_SetupRS.cmake
	Installation/cmake/modules/CGAL_UseMPFI.cmake
	Installation/cmake/modules/CGAL_UseNTL.cmake
	Installation/cmake/modules/CGAL_UseRS.cmake
	Installation/cmake/modules/CGAL_VersionUtils.cmake
	Interval_skip_list/examples/Interval_skip_list/isl_terrain.pts
	Linear_cell_complex/examples/Linear_cell_complex/linear_cell_complex_3_triangulation.cpp
	Maintenance/svn_server/hooks/Mail/Sender/CType/Ext.pm
	Point_set_processing_3/include/CGAL/property_map.h
	Principal_component_analysis/include/CGAL/linear_least_squares_fitting_cuboids_3.h
	Principal_component_analysis/include/CGAL/linear_least_squares_fitting_segments_3.h
	Principal_component_analysis/include/CGAL/linear_least_squares_fitting_tetrahedra_3.h
	Principal_component_analysis/test/Principal_component_analysis/linear_least_squares_fitting_segments_3.cpp
	Principal_component_analysis/test/Principal_component_analysis/linear_least_squares_fitting_spheres_3.cpp
	Scripts/developer_scripts/list_package_files.rb
	Scripts/developer_scripts/mirror_all_packages.rb
	Scripts/developer_scripts/mirror_package.rb
	Scripts/developer_scripts/mirror_package_files.rb
	Scripts/developer_scripts/remove_package_files_from_build_tree.rb
	Surface_mesh_parameterization/examples/Surface_mesh_parameterization/CMakeLists.txt
	Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/PS_demo_normal_estimation_plugin.cpp
	Surface_reconstruction_points_3/doc_tex/Surface_reconstruction_points_3/contouring.tex
	Surface_reconstruction_points_3/doc_tex/Surface_reconstruction_points_3/output.tex
2013-06-18 11:50:30 +02:00
Sébastien Loriot 8f2d428df5 add a visitor to the visitor to keep track of new vertices added 2013-06-05 16:27:56 +02:00
Sébastien Loriot 7bd344a033 add a cleaner way to create new nested facets 2013-06-05 10:51:11 +02:00
Sébastien Loriot 77c5f7320b remove unused functions 2013-06-05 10:17:12 +02:00
Sébastien Loriot 0f894d73a3 add a function that mark the componants and keep one representant per componant 2013-06-04 11:30:06 +02:00