Commit Graph

146 Commits

Author SHA1 Message Date
Andreas Fabri 02b26e679c Merge branch 'Operations_on_polyhedra-BGLization-GF'
Approved by the release manager
2015-01-12 11:31:06 +01:00
Andreas Fabri 6e36a853a9 Merge branch 'Surface_mesh-new_package-GF'
Approved by the release manager
Conflicts:
	Documentation/doc/Documentation/dependencies
	Documentation/resources/how_to_cite_cgal.bib.in
	Installation/changes.html
2015-01-12 11:27:35 +01:00
Andreas Fabri ed400f62c9 Make self_intersection test work for FaceListGraph 2015-01-07 11:04:13 +01:00
Sébastien Loriot 85dce701b9 move compute_normal in Polygon Mesh Processing package 2015-01-06 15:32:45 +01:00
Sébastien Loriot a9665b3bf8 move Point_inside_polyhedron_3 to Polygon Mesh Processing package 2015-01-06 14:31:51 +01:00
Sébastien Loriot 0c6c99f146 remove old implementation 2015-01-06 14:20:24 +01:00
Sébastien Loriot b9f9c95623 move header to proper package 2015-01-06 14:18:59 +01:00
Sébastien Loriot 7b9193adbb move Polyhedron_slicer_3 to Polygon Mesh Processing package 2015-01-06 13:07:12 +01:00
Sébastien Loriot 68c55ecefa move polygon soup orientation to Polygon Mesh Processing package 2015-01-06 13:00:58 +01:00
Sébastien Loriot 125d423cbc move self-intersection to Polygon Mesh Processing package 2015-01-06 12:55:18 +01:00
Sébastien Loriot 819793c998 move triangulate_polyhedron to Polygon Mesh Processing package 2015-01-06 12:07:58 +01:00
Sébastien Loriot 0b55e11abd move stitching in Polygon Mesh Processing 2015-01-06 12:00:50 +01:00
Sébastien Loriot 1453414e2c move orientation polygon in Polygon Mesh Processing 2015-01-06 12:00:45 +01:00
Andreas Fabri 24ea03f41c remove unused variable 2014-12-30 17:02:37 +01:00
Laurent Rineau 9debd6a471 Merge branch 'CGAL-various_fixes-lrineau'
s/const static/static const/

Tested in CGAL-4.6-Ic-79. Approved by the Release Manager.
2014-12-17 17:07:57 +01:00
Sébastien Loriot ee06d18f3f make the behavior deterministic in case of open polyhedron
If there is no intersection between a connected component of A
and if B is open then that component will always be considered as outside of B.
2014-12-09 15:29:30 +01:00
Andreas Fabri c4abaab0a3 Switch to BGL API
In order to switch to Surface_mesh, we still have to find a solution
for Box_with_handle, as the descriptor is an index and not a handle.
2014-11-25 14:47:27 +01:00
Andreas Fabri 65688132cc Switch the example code to the BGL API, so that one may switch later to Surface_mesh
To do the latter we have still to adapt the .h file
2014-11-25 14:42:48 +01:00
Andreas Fabri 722dd08415 fix constness issue in self-intersection function 2014-11-17 22:29:02 +01:00
Andreas Fabri 9822581d6f get() the point property map (and hit constness problems even for Polyhedron) 2014-11-14 15:06:30 +01:00
Andreas Fabri a7c9ac9a6d use vertex_point property map. Why does it not compile??? 2014-11-14 12:56:34 +01:00
Andreas Fabri 695031665c self intersection test uses BGL API 2014-11-14 11:19:38 +01:00
Andreas Fabri 3ef4d818da fix Operations_on_polyhedra/examples 2014-11-14 10:08:33 +01:00
Laurent Rineau d63a998759 Attempt to remove more warnings 2014-11-07 18:54:59 +01:00
Sébastien Loriot d6d70c8e9b fix index of input file and add missing end of line
example code in dont_submit
trivial bugfix for master
2014-09-04 14:56:28 +02:00
Sébastien Loriot eefc18c12a Workaround for CGAL_CFG_FPU_ROUNDING_MODE_UNWINDING_VC_BUG
Trivial bugfix for master
2014-08-29 14:55:12 +02:00
Sébastien Loriot d56210297d add missing CGAL_assertion_code 2014-07-18 09:16:17 +02:00
Sébastien Loriot 8019ed241e fix include directive and function call 2014-07-17 16:55:14 +02:00
Sébastien Loriot b73ce551f7 add missing header 2014-07-17 16:43:58 +02:00
Sébastien Loriot e49813c5ef example takes input filenames as parameters 2014-07-17 16:43:37 +02:00
Sébastien Loriot 27d34d9e75 Merge branch 'Orient-Polyhedron_3-iyaz' into Polyhedron_demo-fix_orient_polygon_soup-local
Conflicts:
	Operations_on_polyhedra/include/CGAL/triangulate_polyhedron.h
2014-07-17 16:29:52 +02:00
Andreas Fabri 50166292e9 resolve Edge/Halfedge problem in the slicer. todo: cleanup 2014-06-11 18:29:20 +02:00
Andreas Fabri 144d206a75 cleanup of the helper files, and a partial fix of the slicer (which will be red in the testsuite) 2014-06-11 18:16:58 +02:00
Andreas Fabri 3d30938cb2 Use faces(G) instead of facets_begin/end 2014-06-11 10:38:30 +02:00
Laurent Rineau 06dac30143 Fix 'const static <type>'
The storage specified (static) is not allowed inside the type
specifier. It must be prefix or postfix (but not infix).

That is strange no C++ compiler gives an error on such a construction.

s/const static/static const/
2014-02-20 19:14:26 +01:00
Sébastien Loriot 62724c2b1f add a todo 2014-02-19 08:14:12 +01:00
Sébastien Loriot 36657d31df bugfix to correctly set the vertex kept 2014-01-22 15:17:46 +01:00
Sébastien Loriot f75f156f44 Merge branch 'Polyhedron_demo-stitching_plugin-sloriot'
Add a plugin in the polyhedron demo to stitch the boundaries of a polyhedron.
  The plugin also allows to visualize the boundaries of a polyhedron

  Approved by the release manager
  Tested in CGAL-4.4-Ic-43
2013-11-29 14:36:16 +01:00
Sébastien Loriot bf3d67921f fix testsuite 2013-11-28 14:47:13 +01:00
Sébastien Loriot 9527cfcfff bugfix/follow up of 6d5dd252: the vertices need to be updated first ...
... the update of the vertex for incident halfedges requires valid
next pointers
2013-11-28 14:39:51 +01:00
Sébastien Loriot 3fe1187e96 update an example that is in dont_submit 2013-11-28 10:34:04 +01:00
Sébastien Loriot 6d5dd252a9 rm hedges to stitch set used to update next-prev of hedge that won't be stitched 2013-11-28 09:39:55 +01:00
Sébastien Loriot 4c2cabd0ae bug fix in vertex merge
We merge the vertices before updating the HDS connectivitiy.
  All halfedges incident to the vertex to be removed get updated
  and then h2 is removed and the graph updated.
  This prevents from having zombie vertices in case more than
  two vertices are merged.
2013-11-28 09:14:56 +01:00
Guillaume Damiand 8e8ab82527 Merge branch 'CMap_no_static_for_null_dart_handle-gdamiand'
null_dart_handle is no longer static; implies to move several methods from Dart concept into CMap concept. This will simplify  the changing of the underlying container in the near future.

Small feature Combinatorial map dart attribute pre-approved in May 2013.

Approved by the release manager.
2013-11-28 08:22:40 +01:00
Sébastien Loriot 05bff9cf8f add a function to stitch boundary edges in a polyhedron
also brings:
  a demo plugin that also display boundary edges
  a testsuite with examples
2013-11-27 16:19:42 +01:00
Sébastien Loriot a3a3e9f69d fix wrong include directive
example in dont_submit
2013-11-25 10:31:22 +01:00
Guillaume Damiand b69a02e291 Move CGAL_CMAP_DEPRECATED in .h 2013-11-14 13:39:07 +01:00
Sébastien Loriot 1fe0e3d82d add missing template keyword (detected by clang)
(cherry picked from commit 5bc3222dad4bcdf0bbdf40f5e20028a04c44374c)

Successfully tested in CGAL-4.3-Ic-189
Approved by the release manager
2013-10-03 17:17:01 +02:00
Sébastien Loriot bb938d6914 move compute_normal.h from the demo include path to the internal of CGAL 2013-10-01 14:48:15 +02:00
Andreas Fabri 9ed4f837c3 Merge branch 'CGAL-compilable_headers-GF'
The conflict was about whitesapce
Approved by the release manager

Conflicts:
	Polyhedron/include/CGAL/Polyhedron_copy_3.h
2013-09-23 14:50:17 +02:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Andreas Fabri afdca001ce As boost::conditional was only introduced in boost 1.45.0 we stick to boost::mpl::if_c 2013-09-13 09:53:05 +02:00
iyaz a199bb6f33 remove custom type selection code and instead use boost::conditional 2013-09-06 09:24:36 +02:00
iyaz 4263a7bf3a underscore prefix to postfix, adding author name 2013-09-06 09:24:23 +02:00
iyaz 2ffc6848a3 CGAL::self_insertect was only returning Facet_const_handle, now it returns Facet_handle if polyhedron is passed by ref, Facet_const_handle if passed by const ref 2013-09-06 09:24:07 +02:00
Sébastien Loriot 9c0808cad1 fix name of classes that do not respect CGAL naming conventions
AABB_HalfedgeGraph_segment_primitive -> AABB_halfedge_graph_segment_primitive
AABB_FaceGraph_triangle_primitive -> AABB_face_graph_triangle_primitive
2013-07-23 17:46:50 +02:00
Sébastien Loriot 75e4146a54 add missing end of line 2013-07-17 19:33:38 +02:00
Sébastien Loriot 33bf170c18 clean compute_normal and update plugins to use the updated functions
also remove the file from the demo include directory.
2013-07-16 16:37:35 +02:00
iyaz 4ad4f0d3e8 Use compute_normal.h for normal calculation 2013-07-11 02:08:09 +03:00
iyaz b236d4527e First version of compute normal 2013-07-11 02:07:24 +03:00
iyaz 9ed7f136de change guard name of orient_polygon_soup.h, add guard to orient_polyhedron_3.h 2013-07-10 18:45:18 +03:00
iyaz edffab5868 update documentation 2013-07-10 17:37:06 +03:00
iyaz 78692b7d0f assertion -> precondition 2013-07-10 16:34:28 +03:00
iyaz 06c957a72e no need for explicit template argument 2013-07-10 16:08:49 +03:00
iyaz 5e2e2d256d First version of polyhedron orientation test 2013-07-10 16:04:27 +03:00
iyaz 9e96377a19 Fix boundary_test example: resize should be reserve 2013-07-10 15:03:35 +03:00
iyaz ce57750b0c do not call start() multiple times 2013-07-10 14:39:04 +03:00
iyaz 59b6b336fa read files from data/ in examples 2013-07-10 14:38:11 +03:00
iyaz a8b513fc6c Rename test file 2013-07-10 14:24:58 +03:00
iyaz e8a2ec74b6 Fix warning 2013-07-10 14:23:34 +03:00
iyaz e75a035e92 Fix include file for orient_polyhedron_test 2013-07-10 14:18:15 +03:00
Sébastien Loriot da4320735c add missing license 2013-07-09 17:35:38 +02:00
Sébastien Loriot 20446fa777 Merge branch 'Mesh_3-using_new_inside_polyhedron-local'
Successfully tested in CGAL-4.3-Ic-85
Approved by the release manager

Conflicts:
	Mesh_3/include/CGAL/Polyhedral_mesh_domain_3.h
2013-07-09 17:34:15 +02:00
Sébastien Loriot 755b41e67b add a new line at the end of file to please msvc 2013-07-03 10:45:31 +02:00
Sébastien Loriot de048c1bf0 beta<i> is not documented 2013-06-28 17:02:17 +02:00
Sébastien Loriot 0dff9ba1d0 use the new inside polyhedron test to test inclusion of disjoint volume
We need one pint from a volume not on the boundary of the other.
This fixes a bug in the previous implementation
2013-06-28 14:55:34 +02:00
Sébastien Loriot 91dde8b2c0 use undirected_edges to have only one primitive per edge 2013-06-26 08:55:14 +02:00
Laurent Rineau be820820b0 Fix a warning: no eol at eof 2013-06-25 11:48:27 +02:00
Sébastien Loriot 98d212b2c0 add missing typename 2013-06-24 17:46:48 +02:00
Sébastien Loriot 4620b38ffd update include path 2013-06-24 17:27:41 +02:00
Sébastien Loriot 4f70640db8 move file 2013-06-24 14:46:22 +02:00
iyaz 2d160e77ca internal class for point inside test, using existing AABB tree
Conflicts:
	Operations_on_polyhedra/include/CGAL/Point_inside_polyhedron_3.h
2013-06-24 14:45:33 +02:00
Sébastien Loriot 2edeab8071 accomodate changes of AABB primitive type for polyhedron 2013-06-24 13:26:06 +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 b49dbe358e move surface mesh polyhedron oracle to operations on polyhedra 2013-06-21 11:42:28 +02:00
Sébastien Loriot a762131d50 rename header file 2013-06-21 11:30:39 +02:00
Sébastien Loriot 9331a90a63 rename package_info and add INRIA as copyright holders 2013-06-21 11:26:49 +02:00
Sébastien Loriot cbc7f8edfa add missing license in header 2013-06-21 09:03:57 +02:00
Sébastien Loriot a1b9c5b36d rename plugin 2013-06-20 18:04:48 +02:00
Sébastien Loriot 0c34e9e2ee move example 2013-06-20 17:34:54 +02:00
Sébastien Loriot b2b9b0375a update path 2013-06-20 17:34:54 +02:00
Sébastien Loriot 5b54b6802b don't submit old implementation using a grid 2013-06-20 17:34:54 +02:00
Sébastien Loriot 6bb7a36f5b add dont_submit to avoid examples to be in the testsuite 2013-06-20 17:34:53 +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 a500939d52 rename the package to Operations_on_polyhedra 2013-06-20 16:41:01 +02:00