Commit Graph

86 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
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