Commit Graph

526 Commits

Author SHA1 Message Date
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
Guillaume Damiand 7f09308d33 Remove all include_directories(BEFORE ../../include) in CMakeLists.txt 2018-10-17 13:07:22 +02:00
Mael Rouxel-Labbé d18e21cfe7 Merge branch 'PMP-Filter_degenerate_polygon_soup_input-GF-old' into PMP-Filter_degenerate_polygon_soup_input-GF 2018-10-08 16:19:26 +02:00
Mael Rouxel-Labbé 4e31832136 Added a function to detect and merge duplicate faces 2018-07-30 13:08:16 +02:00
Mael Rouxel-Labbé 007a466b8e Added a function to merge duplicate vertices 2018-07-26 18:32:22 +02:00
Mael Rouxel-Labbé 4a33cde776 Added example and test for repair_polygon_soup 2018-07-26 16:30:56 +02:00
Mael Rouxel-Labbé 0417bb88d7 Hide "remove_degenerate_faces" 2018-07-25 10:53:30 +02:00
Mael Rouxel-Labbé 5b22f7213e Fixed compilation error 2018-07-25 09:46:55 +02:00
Mael Rouxel-Labbé 81d76c2e69 Added example about non-manifold vertex repair 2018-07-25 09:39:50 +02:00
Mael Rouxel-Labbé 15b791901b Fixed compilation error 2018-07-25 08:36:23 +02:00
Mael Rouxel-Labbé 3866e72039 Updated orient_polygon_soup example to also showcase orient_to_bound_a_volume 2018-07-24 15:15:01 +02:00
Mael Rouxel-Labbé 64245daa4f Renamed PMP example to clarify use of orient functions 2018-07-24 14:55:20 +02:00
Mael Rouxel-Labbé e24b6c4dbf Revert "remove examples using a non documented function"
This reverts commit f2882073bb.

+ updates
2018-07-24 14:39:47 +02:00
konstantinos katrioplas 9901ed78ef Merge branch 'master' into PMP-smoothing 2018-07-01 20:07:19 +03:00
Sébastien Loriot 700979b10f remove extra typename 2018-06-18 12:49:56 +02:00
Sébastien Loriot e85196b737 small improvements 2018-06-07 18:10:56 +02:00
Konstantinos Katrioplas a634d6a0bc rename headers, rm unnecessary files, clean, edit changes.md 2018-06-06 17:16:12 +02:00
Sébastien Loriot 6e1d9b2a3e clip_volumes -> clip_volume 2018-06-06 13:30:36 +02:00
Sébastien Loriot e26bee1a61 rename new_face_visitor -> visitor 2018-06-06 09:50:05 +02:00
Konstantinos Katrioplas 3e78e3ad4b typos and various small fixes, incl. smoothing helpers 2018-05-31 17:56:47 +02:00
Sébastien Loriot f29d8339fa document corefine_and_compute_boolean_operations() 2018-05-28 17:37:46 +02:00
Sébastien Loriot a207317cf5 add a parameter in corefinement functions to track the creation of new faces 2018-05-28 17:36:07 +02:00
Konstantinos Katrioplas 652f4d870f additions and corrections requested 2018-03-28 18:06:41 +02:00
Konstantinos Katrioplas 70cea9a057
Merge branch 'master' into PMP-smoothing-kkatrio 2018-03-28 15:45:18 +02:00
Sébastien Loriot 5792528fa7 Refreshing PMP-smoothing-kkatrio with master 2018-03-26 14:40:11 +02:00
konstantinos katrioplas f04bd6576e eigen library macro 2018-03-26 14:33:51 +02:00
konstantinos katrioplas dedc4170e4 examples 2018-03-26 14:32:54 +02:00
konstantinos katrioplas 5fae4da012 cleaning API, overloads, correcting parameters 2018-03-26 14:30:43 +02:00
konstantinos katrioplas 72f71f121a consistent header filenames 2018-03-26 14:30:43 +02:00
konstantinos katrioplas 13c4b894d1 images and demo plugin 2018-03-26 14:30:41 +02:00
konstantinos katrioplas 54881e81e8 examples and docs 2018-03-26 14:29:30 +02:00
konstantinos katrioplas 0550bf4c84 setup example and a few comments 2018-03-26 14:28:09 +02:00
konstantinos katrioplas e05831c1b3 extra button in plugin 2018-03-26 14:20:47 +02:00
Sébastien Loriot 4824f3bcc9 Merge branch 'master' into gsoc17-summerwork
Reworking of 4e4d495ac2
2018-03-26 14:04:36 +02:00
konstantinos katrioplas a9cc924001 renaming functions in API 2018-03-26 13:59:24 +02:00
konstantinos katrioplas 3f7267502a remove trivial example 2018-03-26 13:58:36 +02:00
konstantinos katrioplas 43a20f8a21 selected vertices 2018-03-26 13:58:36 +02:00
konstantinos katrioplas 6100a85442 examples 2018-03-26 13:58:36 +02:00
konstantinos katrioplas d5e42a4da5 half subsampled sphere under curvature flow example 2018-03-26 13:56:07 +02:00
konstantinos katrioplas d5c6283b54 testing curvature flow, exploring robust degenerate handling, overloads and minor fixes 2018-03-26 13:56:07 +02:00
konstantinos katrioplas 46c524ecaf curvature example in cmakelists 2018-03-26 13:56:07 +02:00
Andreas Fabri 8c41669fb7 move properties from Mesh_3 to BGL, Polyhedron_3 and Surface_mesh 2018-03-22 16:37:37 +01:00
Laurent Rineau 7df26c594b
Merge branch 'master' into BGL-generic_property_map-GF 2017-12-14 09:46:01 +01:00
Laurent Rineau 3c6640bf59 Merge pull request #1436 from lrineau/CGAL-new_cmake-GF
Renewal of CMake scripts: header-only, ctest, CMake>=3.1

# Conflicts:
#	Installation/config/testfiles/CGAL_CFG_NESTED_CLASS_FRIEND_DECLARATION_BUG.cpp
2017-12-05 18:20:05 +01:00
Andreas Fabri 1f8849dfea Make dynamic property API similar to the non dynamic case 2017-11-29 08:28:16 +00:00
Laurent Rineau 0681ac6dbc Fix the TBB_USE_FILE warnings 2017-11-15 17:00:02 +01:00
Laurent Rineau 3ff09bc549 Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF
Renew the handle of policies, for CMake-3.10
2017-11-15 16:47:42 +01:00
Laurent Rineau 86fb40832a Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF
Renew the handle of policies, for CMake-3.10
2017-11-13 12:01:39 +01:00
Laurent Rineau c6068691fa Merge pull request #2547 from lrineau/CMake-parse_CTest_XML_output-lrineau
CGAL testsuite implemented with CTest plus Python (part.1)
2017-11-13 11:13:54 +01:00
Laurent Rineau 62c70d41ca Renew the handle of policies, for CMake-3.10
Now that we require CMake>=3.1, we can forget a lot of old CMake policies.

`CMP0053` `OLD` behavior is still needed, because of a bug in Qt5 CMake files, but it will
not be set with CMake>=3.10. Let's assume that a recent CMake version means
a recent Qt5 version.
2017-11-06 14:58:36 +01:00
Laurent Rineau 208005b014 Merge pull request #2565 from MaelRL/Various-Fix_numeric_limits_min_uses_411-GF
Fix wrong uses of std::numeric_limits::min() (4.11)
2017-11-03 14:29:30 +01:00
Mael Rouxel-Labbé 5ef873d67e Merge remote-tracking branch 'mine/Various-Fix_numeric_limits_min_uses-GF' into Various-Fix_numeric_limits_min_uses_411-GF 2017-10-27 11:57:21 +02:00
Mael Rouxel-Labbé da5200f577 Fixed wrong uses of std::numeric_limits::min() 2017-10-27 11:40:22 +02:00
Sébastien Loriot d23b301cea filter edges to be stitched to avoid creating non-manifold vertices
edges filtered have two endpoints to be merged
2017-10-02 16:20:05 +02:00
Jane Tournois e2e5b1ed05 edge_is_feature_map is not an optional parameter
see reviews in the small feature
2017-08-18 10:51:25 +02:00
Jane Tournois d5aa3db51d doc and indentation fixes 2017-08-17 17:24:05 +02:00
Jane Tournois 370d7bb591 tidy the example 2017-08-17 12:22:24 +02:00
Maxime Gimeno 43ff0d092c Implementation review Jane and sebastien 2017-08-11 15:30:03 +02:00
Maxime Gimeno 32999ddd78 New pass over doc, tests and examples 2017-08-07 14:50:23 +02:00
Maxime Gimeno 1fe1e21bb6 Replace maximum_surface_patch by first_index. 2017-08-07 13:32:02 +02:00
Maxime Gimeno 1bad0e7202 Use edges instead of halfedges for edge_is_feature_t and map 2017-08-07 11:39:07 +02:00
Maxime Gimeno 222f7f3965 Add an example and a test for detect_features 2017-08-04 15:32:16 +02:00
Maxime Gimeno d588c55bbb Make functions free functions and wright doc 2017-08-04 15:06:41 +02:00
Laurent Rineau f8760d591b Merge pull request #2136 from afabri/Polygon_mesh_processing-accelerate_isotropic_remeshing-GF
Polygon_mesh_processing: Accelerate Isotropic_remeshing
2017-07-21 10:45:32 +02:00
Jane Tournois c019f0a341 make target_edge_length bigger
when do_protect is set to true, target_edge_length cannot be too small
or it would prevent from terminating
2017-07-11 20:32:23 +02:00
Jane Tournois 436c5ce213 remove output to a file to save time in the testsuite 2017-07-11 20:31:31 +02:00
Jane Tournois 63588be9d2 cleaning of example 2017-07-11 20:31:31 +02:00
Andreas Fabri 2ce105f516 BUG FIX: In a previous commit a line got lost 2017-07-11 20:31:29 +02:00
Andreas Fabri 8cc58040fc fix typo. Note also that in a previous fix I accidentally added code for the Surface_mesh::Property_map 2017-07-11 20:31:29 +02:00
Sebastien Loriot 196fb95308 Merge branch 'master' into PMP-add_random_perturbation-jtournois 2017-07-10 17:48:54 +02:00
konstantinos katrioplas 3c5ca4d88d setup for curvature flow class 2017-07-05 12:20:24 +03:00
konstantinos katrioplas 517e35d894 use (optionally) weighted angles on calculating the barycenter 2017-06-25 20:12:54 +03:00
Guillaume Damiand 013f447395 Merge branch 'master' into BGL-LCC-gdamiand 2017-06-22 23:21:39 +02:00
konstantinos katrioplas d93e18b1b3 add constrained edges map 2017-06-19 14:51:26 +03:00
konstantinos katrioplas f8019da79d new design: smoothing.h - internal/Isotropic_remeshing/smoothing_impl.h 2017-06-18 22:51:15 +03:00
Guillaume Damiand c8250c4570 Merge branch 'master' into BGL-LCC-gdamiand 2017-06-15 10:03:53 -04:00
Jane Tournois 3eddebe758 add example in the CMakeLists.txt 2017-06-15 12:31:51 +02:00
Jane Tournois 12f15bf3f8 add an example for random perturbation 2017-06-15 12:31:51 +02:00
Guillaume Damiand f5a94891bb Update examples and demo that use BGL for LCC. 2017-06-14 11:42:15 -04:00
konstantinos katrioplas 3ff37e0ff6 project to surface with an Incremental remesher 2017-06-11 23:24:17 +03:00
konstantinos katrioplas b66b27a1ae area smoothing 3D stable without projection 2017-06-10 13:31:33 +03:00
konstantinos katrioplas 6c9718e272 angle-based smoothing 2017-06-03 22:45:06 +03:00
Sébastien Loriot 6d2526499e replace iterators of face patch indices by a range 2017-05-30 15:09:42 +02:00
Sébastien Loriot b4194e3614 import API and documentation 2017-05-30 15:09:42 +02:00
Maxime Gimeno 3ab2f10997 replace remaining 'componant' by 'patch' 2017-05-30 15:09:42 +02:00
Maxime Gimeno 1f96262d3d Rename the graph into Face_filtered_graph and add a function to check its validity. 2017-05-30 15:09:42 +02:00
Maxime Gimeno 249f359048 Fix PMP example 2017-05-30 15:09:42 +02:00
Andreas Fabri 0707e06cee Changes after Andreas' review 2017-05-30 15:08:34 +02:00
konstantinos katrioplas 992a37e7be angle bisection 2017-05-28 21:52:55 +03:00
konstantinos katrioplas f14c28d933 typo 2017-05-26 14:40:54 +03:00
konstantinos katrioplas 510a041aed setup simple example for basic angle smoothing 2017-05-26 14:33:59 +03:00
Laurent Rineau b037471750 Merge pull request #2075 from afabri/CGAL-dont_include_graph_traits_header-GF
Do not include graph_traits_{Polyhedron | Surface_mesh}.h
2017-05-19 10:28:38 +02:00
Guillaume Damiand 885ef4775a Update examples and tests following renaming of BGL LCC helpers. 2017-05-10 16:20:11 -04:00
Andreas Fabri 1dbedb7391 fix choices of std::cerr or std::cout 2017-04-27 09:04:12 +02:00
Andreas Fabri c81b707bfb Do not include graph_traits_{Polyhedron | Surface_mesh}.h 2017-04-24 19:17:43 +02:00
Jane Tournois d4c857b063 improve examples by adding a precondition with CGAL::is_triangle_mesh 2017-04-18 12:13:27 +02:00
Guillaume Damiand 755272148a Cleanup BGL for LCC; add shortcut for item with id to simplify definition. 2017-03-31 17:11:36 -04:00
Guillaume Damiand 15ac1f6b35 Add two more examples for BGL for LCC 2017-03-29 13:53:22 -04:00
Guillaume Damiand f587aca1f3 Cannot use BOOST_FOREACH if we add halfedge in the loop. 2017-03-29 13:32:16 -04:00
Guillaume Damiand 13ed16043b Update BGL for LCC and continue on examples/tests 2017-03-29 14:22:27 -04:00
Guillaume Damiand 3f382fe6b4 Add more examples for LCC BGL 2017-03-28 12:52:31 -04:00
Laurent Rineau eb5f52869f Use the new API of target_link_libraries
... otherwise CMake warns about mixing old and new usages of that CMake
command.
2017-03-27 18:04:54 +02:00
Sébastien Loriot 516b732adf using tbb::atomic instead of cpp11::atomic 2017-01-16 15:18:46 +01:00
Sébastien Loriot 0446958c5a parallel version of mesh distance function requires cpp11::atomic 2017-01-13 13:19:29 +01:00
Sébastien Loriot 9ae7b37845 Merge pull request #1745 from sloriot/Polyhedra_corefinement-enhancements-sloriot
Add corefinement operations in PMP
2017-01-12 12:05:18 +01:00
Sébastien Loriot 47c7b48911 fix copy-paste error 2017-01-11 16:45:42 +01:00
Sébastien Loriot 6341b5d5ed rename named parameter and update concept after adding edge sampling 2016-12-30 14:52:10 +01:00
Sébastien Loriot 886b65edd1 remove set_ prefix from named parameters 2016-12-29 17:50:16 +01:00
Sébastien Loriot 94b2720fbd use name parameters for selecting the sampling algorithm
A dedicated sampling of edges is also introduced as well as
an option to use input vertices to evaluate the distance.
2016-12-29 07:20:25 +01:00
Andreas Fabri c84e72f7a5 Fix typo in example; Functions in manuals always with '()' 2016-12-29 07:20:24 +01:00
Maxime Gimeno 9140ab3f31 Replace approximated by approximate in the function names. 2016-12-29 07:20:22 +01:00
Sébastien Loriot 3710a60b9c doc clean up 2016-12-29 07:20:22 +01:00
Maxime Gimeno 0cc2c59981 Fixes for SF. 2016-12-29 07:20:22 +01:00
Maxime Gimeno cc44c571e5 Shorten the code lines. 2016-12-29 07:20:22 +01:00
Maxime Gimeno 3fca4399c6 Add examples and keep fixing the doc 2016-12-29 07:20:22 +01:00
Maxime Gimeno a4127d74c1 Add distance computation to poisson_reconstruction's example. 2016-12-29 07:20:21 +01:00
Maxime Gimeno 6cf0504f95 Fixes and clean-up : first part. 2016-12-29 07:20:21 +01:00
Maxime Gimeno 6858d65e5d Update and fix
Parallelize the plugin if TBB is linked with CGAL and fix the parallelized code in distance.h.
2016-12-29 07:20:21 +01:00
Maxime Gimeno a6b3caa1a5 Add the hausdorff example file. 2016-12-29 07:20:20 +01:00
Maxime Gimeno c5a17ce354 Change `approximated_Hausdorff_distance()` to use a Surface_mesh instead of a triangle range. 2016-12-29 07:20:19 +01:00
Maxime Gimeno 09040105a1 Create an example file to test the Hausdorff distance. 2016-12-29 07:20:19 +01:00
Sébastien Loriot 98862227be make it work with Polyhedron
the indices of the faces are initialized now if the face index map is writable
2016-12-19 16:49:51 +01:00
Sébastien Loriot c3e1309181 update from master branch 2016-12-05 14:37:29 +01:00
Sébastien Loriot 6604704dbe fix examples 2016-12-05 14:26:33 +01:00
Sébastien Loriot a84faf682c use a larger edge target in the example 2016-11-15 13:57:12 +01:00
Andreas Fabri ee1a911af5 only compile if the compiler supports cxx_range_for 2016-11-14 08:21:03 +01:00
Andreas Fabri df3af79866 Add an example that uses a std::map as property map 2016-11-01 09:48:48 +01:00
Sébastien Loriot f4d67dd4af Refresh branch from master 2016-10-19 14:27:08 +02:00
Sébastien Loriot 7c4e1aee8b simplify example 2016-10-19 13:57:04 +02:00
Laurent Rineau 0d5ddad5c3 Merge pull request #1534 from lrineau/CGAL-Allow_examples_to_use_cpp11_features-lrineau
Allow examples to use C++>=11 features
2016-10-17 10:03:05 +02:00
Sébastien Loriot f2882073bb remove examples using a non documented function
these examples will be restored later
2016-10-06 09:47:37 +02:00
Laurent Rineau 50d753350e Allow examples to use C++>=11 features
The macro `create_single_source_cgal_program` from
`CGAL_CreateSingleSourceCGALProgram` has been modified accordingly.

(cherry picked from commit 571659aaa32a30d7bfc0ce54a9d29c56079dca06)
2016-09-30 18:42:46 +02:00
Sébastien Loriot efa9b9bac4 rename boolean operation functions
The change of names comes from the fact the the constness of input meshes
cannot be guaranteed without having different type of input and output
meshes
2016-09-29 15:25:43 +02:00
Sébastien Loriot 29557c6693 add a comment in an example 2016-09-29 10:19:09 +02:00
Sébastien Loriot 5de5315ef5 vertex point map must be default constructible 2016-09-27 17:32:12 +02:00
Sébastien Loriot 5b085fbb74 update comment 2016-09-26 10:19:40 +02:00
Sébastien Loriot 6b338eeb1f improve the name of projects in cmake scripts of examples 2016-09-08 00:02:55 +02:00
Sébastien Loriot b47199f009 make all corefinement examples compiling 2016-07-06 11:45:23 +02:00
Sébastien Loriot 7a0ff9d28e First implementation of the corefinement of 2 triangle meshes
implementation uses a visitor for the function computing the intersection
of 2 triangle meshes.
2016-07-04 16:28:52 +02:00
Sébastien Loriot 84311eab64 update doc after the review of @janetournois 2016-06-24 16:58:34 +02:00
Sébastien Loriot 8931409a28 dump polylines into a file 2016-06-24 16:58:26 +02:00
Sébastien Loriot 27badf0b43 Add a version of the code to compute intersection of TriangleMesh
The code is a copy the one in Operation_on_polyhedra that was
only working with Polyhedron_3.
For the moment only default parameters are used. NamedParameters
will be introduced later.
2016-06-24 16:58:12 +02:00
Sébastien Loriot 2860e1fc51 add examples for corefinement 2016-05-20 17:51:06 +02:00
Sébastien Loriot 45406a5296 Merge pull request #788 from bo0ts/Installation-split_config-pmoeller
Split CGALConfig.cmake and CGALExports.cmake
2016-03-06 15:36:55 +01:00
Sebastien Loriot 5870f1361a Merge pull request #872 from afabri/PMP-namespace_PMP-GF
The namespace forwarding goes in the user code, not in a CGAL header
2016-03-03 17:00:08 +01:00
Andreas Fabri dd8a68c4c5 The namespace forwarding goes in the user code, not in a CGAL header 2016-03-02 16:52:13 +01:00
Andreas Fabri 8663b3ccbe deal with isolated vertices when turning a polygon soup in a polyedral surface 2016-02-29 11:04:33 +01:00
Philipp Möller 4211a4f01e Globally remove CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS
This is a Cmake 2.4.3 variable that isn't even documented anymore.
2016-02-16 17:02:55 +01:00
Sébastien Loriot 7cf081e061 add missing graph_traits include 2016-02-02 17:35:30 +01:00
Andreas Fabri b84596aff9 include graph_traits file for Polyhedron_3 2016-02-02 09:28:18 +01:00
Jane Tournois ae1ea30d45 reorder parameters for consistency in PMP package 2016-01-11 12:20:45 +01:00
Jane Tournois 0ab047eb37 reorder variables for API consistency in PMP package 2016-01-11 12:12:59 +01:00
Jane Tournois 74355818b1 reorder parameters for border_halfedges() 2016-01-11 10:19:41 +01:00
Philipp Möller aec9029352 Add a check to the triangulate_faces example
This turns it from an example to an actual test.
2015-12-11 15:35:12 +01:00
Jane Tournois 27bc02ebcf Revert "fix compilation of split_long_edges for Polyhedron"
This reverts commit 213a280eef.

and propose another solution to deal with edges vs halfedges
2015-11-12 15:55:35 +01:00
Jane Tournois ef40621699 improve doc and rename function 2015-11-12 10:20:19 +01:00
Jane Tournois 07ae6235bf put mesh as last parameter of get_border, for consistency
and return output iterator
2015-11-12 09:33:22 +01:00
Jane Tournois 56147a642e add end of line at end of file (triggers a warning) 2015-11-10 14:51:21 +01:00
Sébastien Loriot 0072b649e2 Merge branch 'old/Polygon_mesh_processing-local_remeshing-GF' into Polygon_mesh_processing-local_remeshing-GF 2015-11-05 20:11:10 +01:00
Jane Tournois 78f45deccb remove output stream from example 2015-11-05 20:09:18 +01:00
Jane Tournois 2ebaa7bfd9 remove timer from example 2015-11-05 20:09:17 +01:00
Jane Tournois 893b80c490 rename function to isotropic_remeshing() 2015-11-05 20:09:14 +01:00
Sébastien Loriot c6e649aa9b Merge branch 'Polygon_mesh_processing-local_remeshing-GF-old' into Polygon_mesh_processing-local_remeshing-GF
and adapt plugin to CGAL::Three
2015-11-05 20:07:15 +01:00
Sébastien Loriot 54ca52b538 Merge branch 'BGL-SurfaceMesh2SurfaceMesh-GF' into Polygon_mesh_processing-local_remeshing-GF 2015-11-05 19:25:00 +01:00
Andreas Fabri d2ed79d38d Add keep_large_connected_components (code,doc,test) 2015-10-22 09:01:08 +02:00
Andreas Fabri 6a5395ff60 Call mesh.garbage_collection() before writing an OpenMesh after triangulate_holes()
This is necessary, as faces are deletes and new faces created,
and as in OpenMesh deleted faces are not reused.
2015-09-15 16:11:11 +02:00
Laurent Rineau 59ac9f30fc Merge pull request #293 from sloriot/PMP-fix_remove_degenerate_faces-sloriot
Polygon mesh processing:  fix remove_degenerate_faces() but do not publish it in the documentation
2015-09-04 11:24:36 +02:00
Sébastien Loriot b5f44b3960 forgot to remove from the cmakelist example using a non documented function 2015-09-03 13:07:46 +02:00
Jane Tournois ce54198aa7 Merge branch 'Polygon_mesh_processing-local_remeshing-GF-old' into Polygon_mesh_processing-local_remeshing-GF 2015-09-02 15:57:23 +02:00
Laurent Rineau ff796222d3 Replace VERSION_GREATER by "NOT VERSION_LESS"
Because actually Eigen 3.2.0 is a correct Eigen version!

Was pointed out by the testsuite:
https://cgal.geometryfactory.com/CGAL/Members/testsuite/CGAL-4.7-Ic-121/Polygon_mesh_processing_Examples/TestReport_lrineau_Ubuntu-Latest-CXX11.gz
2015-08-20 15:09:30 +02:00
Jane Tournois 9edeaa38f2 cleanup example 2015-08-18 17:52:33 +02:00
Jane Tournois 5cd95d9289 add remeshing example 2015-08-18 17:48:57 +02:00
Jane Tournois 1f91bd8a77 avoid compilation of tests and examples that use fairing when Eigen < 3.2 2015-08-17 12:23:09 +02:00
Sébastien Loriot 51839a0b84 remove data that can be generated
prepare for rebasing
2015-07-15 10:54:41 +02:00
Jane Tournois 1967235bbd fix return value to 0
this example was making all the testsuite line red...
2015-07-03 16:48:45 +02:00
Jane Tournois 275d24e103 add new line at end of file 2015-07-03 16:16:46 +02:00
Jane Tournois 6491a3e9c4 fix compilation for windows 2015-07-03 16:14:16 +02:00
Jane Tournois 12ccaeb3a5 rename type to avoid error on windows
Polyline conflicts with a type defined in
Program Files (x86)\Windows Kits\8.0\include\um\wingdi.h
2015-07-03 16:12:31 +02:00
Jane Tournois 4e8c149b9b fix compilation and remove useless assertions 2015-07-02 16:58:42 +02:00
Jane Tournois 32f0c9b37b rename Point_inside_polygon_mesh to Side_of_triangle_mesh
and document it
2015-06-25 11:51:45 +02:00
Jane Tournois d52ce62167 improve examples for user manual (Pierre's review) 2015-06-23 14:25:16 +02:00
Jane Tournois 6e621f037d improve examples for user manual 2015-06-23 12:28:25 +02:00
Jane Tournois 3aad1a2b56 improve example for user manual 2015-06-23 12:00:43 +02:00
Jane Tournois 5efe8e3c13 improve example for user manual 2015-06-23 11:34:15 +02:00
Jane Tournois 7977d10418 rename is_self_intersecting to does_self_intersect
for consistency with do_intersect
2015-06-22 11:17:43 +02:00
Andreas Fabri 91af42e5ba Show how to write into a property_map 2015-05-29 16:07:24 +02:00
Jane Tournois 12b1238b87 change the use of is_valid_polygon_mesh 2015-05-15 12:02:50 +02:00
Jane Tournois d04eea0ac0 convert assertion 2015-05-15 11:44:05 +02:00
Andreas Fabri 09ea32096d Add generic is_valid_polygon_mesh() to BGL Helpers 2015-05-15 10:52:31 +02:00
Sébastien Loriot dceb558e4f Merge branch 'Polygon_mesh_processing-GF' into Polygon_mesh_processing_OpenMesh-GF
Conflicts:
	Polygon_mesh_processing/examples/Polygon_mesh_processing/remove_degeneracies_example.cpp
2015-05-14 15:45:35 +02:00
Andreas Fabri 81f12e2a9f Add triangulate face example for OpenMesh 2015-05-14 11:12:53 +02:00
Sébastien Loriot a49312392a dump on std::cerr 2015-05-14 11:00:54 +02:00
Jane Tournois 6c4785a29c On Polygon_mesh_processing_OpenMesh-GF: fairing pour openmesh 2015-05-13 16:10:21 +02:00
Andreas Fabri 81318a1cfd more small examples for degenerate meshes 2015-05-13 09:29:39 +02:00
Andreas Fabri 1472ec273c cleanup 2015-05-12 19:33:35 +02:00
Andreas Fabri acd5c4c336 WIP (loops) add remove_degeneracies for OpenMesh 2015-05-12 19:33:02 +02:00
Andreas Fabri 94183e696c WIP (does not compile yet) Add stitch borders OpenMesh example 2015-05-12 16:24:28 +02:00
Andreas Fabri c0ccd47d78 Add point inside OpenMesh example 2015-05-12 15:23:33 +02:00
Andreas Fabri c5d8d81a4b add hole filling example for Surface_mesh 2015-05-12 12:34:26 +02:00
Andreas Fabri 797e51ae62 pass vertex point pmap 2015-05-11 17:05:02 +02:00
Andreas Fabri f88ff84d36 move the property map class to a CGAL header file 2015-05-11 14:57:14 +02:00
Andreas Fabri b0f21fcf34 add hole filling example 2015-05-11 13:04:48 +02:00
Andreas Fabri 9906380242 add hole filling example 2015-05-11 13:04:36 +02:00
Andreas Fabri 6ad5ff4f55 First example for PMP and OpenMesh 2015-05-11 12:28:39 +02:00
Andreas Fabri 238e054ec5 WIP: Add example using OpenMesh (won't compile as we need a wrapper for property maps 2015-05-11 09:36:44 +02:00
Jane Tournois 4f98659653 example fixed. The numbers were just too high 2015-04-10 13:02:01 +02:00
Sébastien Loriot 6a375326fa rename named param kernel to geom_traits and fix compilation issues 2015-04-02 07:33:24 +02:00
Jane Tournois 234ff51662 remove useless typedefs 2015-04-01 16:44:37 +02:00
Jane Tournois 388f155c1e add data about degeneracies 2015-04-01 15:09:36 +02:00
Jane Tournois 6a4e2552db add named parameters and an example to remove_degenerate_faces 2015-04-01 14:45:46 +02:00
Jane Tournois 396d1875ab named parameters in self_intersections.h (code and doc) 2015-04-01 13:46:53 +02:00
Jane Tournois 8d60913c43 introduce named parameters in keep_largest_connected_components 2015-03-31 12:09:35 +02:00
Jane Tournois cbfef8b105 introduce named parameters for connected_components 2015-03-31 11:34:19 +02:00
Jane Tournois ceda35d9dd use named parameters in compute_normal.h functions
todo : complete documentation
2015-03-26 17:02:00 +01:00
Jane Tournois 21606b28c0 add VertexPointMap to the code of self intersections.
note this version is temporary because it will be using named parameters
2015-03-26 12:02:17 +01:00
Jane Tournois 59cbb9403f add VertexPointMap in fairing code 2015-03-26 11:31:08 +01:00
Jane Tournois d913b48d98 introduce bgl named function parameters
and implement them for hole filling, refine and fair functions
2015-03-20 09:52:54 +01:00
Sébastien Loriot 78f2283406 move header files 2015-03-18 17:11:45 +01:00
Sébastien Loriot 6d2c6df6ab rename header 2015-03-18 15:11:10 +01:00
Sébastien Loriot 324839c8ae move header files 2015-03-18 11:51:33 +01:00
Andreas Fabri 4cd8980f38 Add implementation of reverse_face_orientations 2015-03-17 17:37:22 +01:00
Sébastien Loriot 9cc74c2073 remove unused variable 2015-03-17 16:20:37 +01:00
Sébastien Loriot 7a9ca638e6 rename output 2015-03-17 16:20:37 +01:00
Jane Tournois 8007bf6d91 add function reverse_face_orientations & rename is_oriented.h to orientation.h 2015-03-17 14:48:16 +01:00
Jane Tournois dd79401562 hole filling section
also simplify the hole filling example
2015-03-17 12:50:03 +01:00
Jane Tournois ea15218a8f change input for connected_components_example to one with 3 cc instead of 1 2015-03-17 12:37:39 +01:00
Jane Tournois 31e81b332c fix includes 2015-03-17 12:34:24 +01:00
Jane Tournois 9f328483f7 cleaning of example 2015-03-17 12:33:11 +01:00
Jane Tournois 7b6db59a04 make g_ const 2015-03-17 12:23:55 +01:00
Jane Tournois 55be9f33a0 remove all these *g 2015-03-17 12:21:13 +01:00
Jane Tournois d84758ca21 filename should be const char* 2015-03-17 11:45:18 +01:00
Jane Tournois 33b6ac4a30 improve example to use a bbox of size adaptable to input 2015-03-17 11:19:15 +01:00
Jane Tournois 09b90459c0 change examples so that they can be used directly with the user's input file 2015-03-17 11:07:37 +01:00
Jane Tournois d95f3060ad connected components example 2015-03-16 17:01:48 +01:00
Jane Tournois 1cf083d91a remove useless include and reorder typedefs 2015-03-16 15:02:14 +01:00
Jane Tournois d43302295d mesh_slicer_example 2015-03-16 15:00:16 +01:00
Jane Tournois e0f2883546 change data. elephant was too big 2015-03-16 14:39:38 +01:00
Jane Tournois ada534c4ac compute_normals_example 2015-03-16 14:18:04 +01:00
Jane Tournois 763139bf60 polygon soup example 2015-03-16 14:04:12 +01:00
Jane Tournois ad91bcb215 stitch_borders_example "converted" to Polyhedron
because it only works for a Polyhedron until now
2015-03-16 13:06:19 +01:00
Jane Tournois 2e6353054b stitching example 2015-03-16 12:21:43 +01:00
Jane Tournois a2b792fb19 hole filling example : smoothing 2015-03-16 11:31:52 +01:00
Jane Tournois bfd306b51d example for triangulate_polyline 2015-03-16 11:14:28 +01:00
Jane Tournois c6f59a5329 example is buggy 2015-03-16 11:06:12 +01:00
Jane Tournois 86426f9982 triangulate_faces_example.cpp and add a quad cube 2015-03-16 11:00:37 +01:00
Jane Tournois d7b8390000 add Point_inside_polygon_mesh example 2015-03-13 17:31:57 +01:00
Jane Tournois 101702dd8f cleanup refine() and fair() example, and insert it at the right place in doc 2015-03-13 16:53:03 +01:00
Jane Tournois a22cbbc099 add example for slicer 2015-03-13 16:21:52 +01:00
Jane Tournois 38c3e31bee complete minimal examples, targeting user manual 2015-03-13 15:58:33 +01:00
Jane Tournois d217078122 reorganize examples targeting documentation 2015-03-13 15:33:06 +01:00
Jane Tournois 91e955b310 remove useless example 2015-03-13 15:12:00 +01:00
Sébastien Loriot d16c685cda fix compilation and improve usage of pmaps 2015-03-12 13:49:33 +01:00
Jane Tournois 3ae29f03d6 replace internal::No_constraint with CGAL::Default as default parameter
in keep_largest_connected_components
2015-03-12 12:11:22 +01:00
Jane Tournois 48b5c9fb94 use CGAL::Default instead of internal::No_constraint as EdgeConstraintMap
default value
2015-03-12 11:44:16 +01:00
Jane Tournois fd9b0eb3d9 change case in file name 2015-03-12 10:53:33 +01:00
Jane Tournois bae9d81286 rename examples for connected_components 2015-03-12 10:47:51 +01:00
Jane Tournois 07b0ad5e75 replace boost::tuple by CGAL::cpp11::tuple 2015-03-12 10:42:10 +01:00
Jane Tournois bda07c93b9 fix compilation of connected_components 2015-03-12 10:41:26 +01:00
Jane Tournois d39f201724 in triangulate_hole_polyline, replace begin and end iterators by PointRanges 2015-03-10 11:38:08 +01:00
Jane Tournois 282264a73a in fair() replace (vertices_begin, vertices_end) by vertex range 2015-03-09 17:22:38 +01:00
Jane Tournois f3bfb53917 in refine(), replace facets_begin and facets_end by a range of facets 2015-03-09 16:52:05 +01:00
Andreas Fabri 6af7aaeebb introduce edge constraints based on the dihedral angle 2015-02-18 15:58:33 +01:00
Andreas Fabri b85d35d23f fix the return type 2015-02-18 10:52:33 +01:00
Andreas Fabri e1b2ce7c66 int -> std::size_t 2015-02-18 10:12:50 +01:00
Sébastien Loriot 4dfa9b234a remove unused variables 2015-02-18 09:51:34 +01:00
Andreas Fabri 066959623c WIP for making it work with Polyhedron 2015-02-18 09:39:52 +01:00
Andreas Fabri fef3ec4692 use BGL named parameters 2015-02-17 20:14:59 +01:00
Sébastien Loriot 24c47ae95d add missing typenames 2015-02-16 14:55:14 +01:00
Andreas Fabri e155ff9a75 first version of keep_largest_connected_component 2015-02-16 12:49:40 +01:00
Andreas Fabri 8277f73a2c Add connected_components without EdgeConstraintMap 2015-02-13 18:08:52 +01:00
Andreas Fabri 92e3482da4 Add high level function connected_component which uses boost::connected_component 2015-02-13 16:58:02 +01:00
Andreas Fabri f798355ce8 Add an example for the connected_component fct 2015-02-13 12:50:20 +01:00
Jane Tournois 093d27adce fix compilation of examples for Polygon_mesh_processing and Polyhedron demo
this implies adding a CMakeLists for examples so that Eigen is properly included
2015-01-16 12:43:03 +01:00
Sébastien Loriot c16d88dcb7 SUPERLU is out of the game now 2015-01-13 16:56:29 +01:00
Sébastien Loriot fc6f9368a0 move Hole Filling in the new Polygon Mesh Processing package 2015-01-06 11:37:25 +01:00