Commit Graph

302 Commits

Author SHA1 Message Date
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
Sébastien Loriot cf6cc0d775 remove wrongly added line 2013-06-04 11:29:11 +02:00
Sébastien Loriot 022db97790 Merge branch 'Polyhedron_3-corefinement_demo-sloriot-old' into Polyhedron_3-corefinement_demo-sloriot
Conflicts:
	Polyhedron/include/CGAL/intersection_of_Polyhedra_3.h
	Polyhedron/include/CGAL/intersection_of_Polyhedra_3_refinement_visitor.h
2013-05-23 16:50:40 +02:00
Sébastien Loriot ce94f69b45 temporary fix to be able to copy attribute in faces split 2013-05-23 16:47:22 +02:00
iyaz e5c3714823 finalizing first version of plane-cut, tested with a few synthetic degenerate test cases
new option for plugin
2013-05-15 04:54:16 +03:00
Sébastien Loriot 697140ee9f fix compilation issue on linux
conflict with nested typedef and class name
2013-05-13 10:01:20 +02:00
iyaz 37dcb4db03 plane cut plugin,
need to clean up and make some addition on intersection_of_plane_Polyhedra_3_using_AABB_2 version
need to test it with some simple degenerate cases that I created.

For now it works with meshed with without holes as long as plane intersect segments on one interior point
2013-05-13 05:08:24 +03:00
Andreas Fabri 0cbc8b0e40 remove unused parameters 2013-03-23 08:45:06 +01:00
Laurent Rineau 2d8da664a3 Merge branch 'CGAL-fix_warnings-gdamiand'
Conflicts:
	.gitignore
	Skin_surface_3/examples/Skin_surface_3/CMakeLists.txt
2013-02-22 13:02:37 +01:00
Laurent Rineau 32c315b4a7 Use CGAL_error_msg instead of an assertion
CGAL_error_msg is effective even in release mode. It is marked with the
attribute __noreturn__, and that tells the compiler that the code cannot be
reached.
2013-02-20 18:38:56 +01:00
Laurent Rineau e06a6f535b Add or fix license/copyright headers in CGAL headers 2013-02-19 16:45:00 +01:00
Laurent Rineau 01db7d30af Fix the fix of a warning 2013-02-07 12:51:55 +01:00
Laurent Rineau e87dad0f95 Fix all warnings in demo/Polyhedron/
The compilation was fix g++-4.8, and the flags:
  --std=c++11 -frounding-math Wall -Wno-array-bounds -Wno-uninitialized
2013-02-06 17:03:20 +01:00
Philipp Möller 0f34f2a89e Merge branch 'Maintenance-include-less-boost-pmoeller' 2012-12-21 09:44:18 +01:00
Philipp Möller ea956821a8 Add missing includes in intersection_of_Polyhedra 2012-12-21 09:41:56 +01:00
Sébastien Loriot 82b2ebc865 apply the cpp0x namespace renaming in all files 2012-12-19 11:33:17 +01:00
Philipp Möller 71ea8e6e22 Minimal boost includes
Replace type_traits.hpp and utility.hpp with the respective
fine-grained includes.
2012-12-14 18:13:59 +01:00
Sébastien Loriot 7b7ba55f8c mark opposite edges (needed for border edge) 2012-11-15 19:09:11 +01:00
Sébastien Loriot 0d810d37c8 fix an erroneous warning 2012-11-15 18:00:34 +01:00
Sébastien Loriot 0b0fb81b5f changes to apply extract_connected_components on non-const Polyhedron 2012-11-15 09:45:26 +01:00
Sébastien Loriot c699f225dd we need the polyhedron to access the correct edge info 2012-11-09 14:25:57 +00:00
Sébastien Loriot 370c362c23 allow copy of polyhedron with points in different kernels 2012-11-09 10:18:14 +00:00
Laurent Rineau 7f5cdbcb89 Error in previous commit: that one is a vector, and not a map. 2012-11-01 16:16:58 +00:00
Laurent Rineau 913c60f62d Rename types
'Node_vector' is sometime renamed 'Nodes_map', and something 'Nodes_vector'.
2012-11-01 16:14:13 +00:00
Laurent Rineau 86262d88d3 Change two names, that are fundamentally plural
Node_vector -> Nodes_vector
Triangle_segment_intersection_point -> Triangle_segment_intersection_points
2012-11-01 14:18:27 +00:00
Laurent Rineau 63d137b568 Add comments.
I incrementally had comments when I understand something, to help
non-authors understanding the code ...as much as possible!
2012-11-01 14:16:41 +00:00
Sébastien Loriot e5d93ca023 if an edge was already marked, mark it again when split 2012-10-30 14:32:02 +00:00
Sébastien Loriot 0a81f7f4a7 use a property map to mark hedges on the intersection 2012-10-30 14:31:28 +00:00
Sébastien Loriot c5a99efe5d add a method to mark facets according to their component instead
of creating new polyhedra
2012-10-30 14:28:11 +00:00
Sébastien Loriot 054b09ca24 duplicate comments 2012-10-30 14:26:21 +00:00
Laurent Rineau a04891ff93 WARNFIX: fix some warnings triggered by -Wconversion on g++ 2012-08-09 16:06:54 +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
Sébastien Loriot 49f64c87b0 update license to GPL v3 2012-07-25 07:37:34 +00:00
Sébastien Loriot c6c8fc571b fix conversion from size_t to unsigned 2012-07-14 08:03:33 +00:00
Sébastien Loriot 3d3517408b update testsuite to compile new plugins 2012-07-13 07:23:25 +00:00
Sébastien Loriot e2e155fdb4 add include files for the demo 2012-07-11 16:21:54 +00:00
Sébastien Loriot 9d9963d4a0 update license 2012-05-11 12:19:34 +00:00
Sébastien Loriot 77ea587d47 merge from next 2012-05-11 11:55:44 +00:00
Sébastien Loriot be1de01b22 *update AABB_primitive: the property maps must operate on Id!
*correct and complete implementation for HalfhedgeGraph models
2012-05-10 15:51:45 +00:00
Sébastien Loriot aa97a337c7 property map to get the target point of a halfedge 2012-05-09 17:10:21 +00:00
Sébastien Loriot b9c6fd11a4 rename 2012-05-09 13:28:11 +00:00
Sébastien Loriot 0e57290f58 property map to access one point of a facet 2012-05-09 13:27:40 +00:00
Sébastien Loriot 58156fb1e9 merge from next 2012-05-04 12:24:50 +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
Sébastien Loriot ecf6aa105a correct wrong typedef 2012-03-23 16:29:54 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Sébastien Loriot 578d41a962 deprecate AABB_polyhedron_*_primitive
add triangle and segment property_map from polyhedron simplices
update examples to use these property maps with modified primitive classes.
2011-07-25 06:22:05 +00:00
Sébastien Loriot 5471e90cd1 s/succesful/successful 2010-08-12 08:30:26 +00:00
Laurent Rineau f143335c07 Merged revisions 57149 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r57149 | sloriot | 2010-06-28 14:39:16 +0200 (Mon, 28 Jun 2010) | 4 lines
  
  fix-bug in test_facet of Polyhedron_incremental_builder:
    the function did not test if while making a vertex manifold,
    no other facet incident to that vertex breaks the manifold property.
........
2010-06-28 12:47:18 +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
Laurent Saboret 94690fd34f Changes after Surface_reconstruction_points_3/Point_set_processing_3 submission review by AF (12):
Moved keep_largest_connected_components() to HalfedgeDS_decorator and Polyhedron_3 classes.
2009-06-15 13:09:47 +00:00
Andreas Fabri d856f80d79 fixed typo in documentation 2008-06-24 19:00:46 +00:00
Sylvain Pion cc55ce1341 Get rid of CGAL_REP_CLASS_DEFINED 2008-01-03 19:05:31 +00:00
Sylvain Pion 71e2a5ca6e remove warning 2007-03-03 08:57:28 +00:00
Andreas Fabri fa1debf22c Changed int to size_type to get rid of a warning and a potential error when the polyhedron is huge 2007-01-29 12:49:02 +00:00
Sylvain Pion 2bdfec6cc0 Removal of remaining protect macros : those protecting other CGAL include files.
Done using the script Scripts/developer_scripts/cgal_conditional_include_remove.
2007-01-24 18:00:30 +00:00
Fernando Cacciola 40e17118d5 VC8 STL iterator fixes 2007-01-18 14:05:05 +00:00
Laurent Saboret db6a8f948c Change CVS keywords to SVN style 2006-02-16 14:30:13 +00:00
Laurent Saboret 1aad55d4cb Change CVS keywords to SVN style 2006-02-14 10:08:15 +00:00
Laurent Saboret 478dedc941 Move packages to trunk root 2006-02-14 08:58:18 +00:00