Commit Graph

649 Commits

Author SHA1 Message Date
Jane Tournois 1a68852bef add type extractors and rename Kernel to type for GetKernel 2015-04-01 15:06:50 +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 9c5719a1b7 named parameters in stitch_borders (doc and code) 2015-04-01 10:56:20 +02:00
Jane Tournois e1426b2405 add type extractor for vertex point map 2015-04-01 10:30:55 +02:00
Jane Tournois 8b3e23a514 add kernel to the doc of hole filling functions. It already is in the code,
via triangulate_hole_polyline
2015-03-31 17:27:58 +02:00
Jane Tournois 9f3efdeba6 add kernel named parameter to triangulate_hole_polyline 2015-03-31 17:24:19 +02:00
Jane Tournois 959fa86bba add type extractors 2015-03-31 16:41:53 +02:00
Jane Tournois 3dfc70f390 complete documentation 2015-03-31 16:18:06 +02:00
Jane Tournois 47953d9ad1 remove template parameter OutputIteratorValueType
OutputIterator is the return type everywhere and should be enough
2015-03-31 16:14:39 +02:00
Jane Tournois 211ab25343 add named parameters to triangulate_hole_polyline 2015-03-31 16:10:13 +02:00
Jane Tournois 8402120efe fix previous commit 2015-03-31 16:08:37 +02:00
Jane Tournois 6c2a5f3dde typos 2015-03-31 15:16:35 +02:00
Jane Tournois 06bd8c0c40 Merge branch 'Polygon_mesh_processing-GF' of github.com:CGAL/cgal-dev into Polygon_mesh_processing-GF 2015-03-31 15:13:15 +02:00
Jane Tournois 985a3575f3 named parameters in triangulate_faces 2015-03-31 15:12:58 +02:00
Sébastien Loriot 26396392b5 bugfix: do not take the address of a temporary 2015-03-31 15:11:41 +02:00
Jane Tournois f6cf149b74 remove debugging code 2015-03-31 15:01:39 +02:00
Jane Tournois 75d39dfde1 named parameters in is_outward_oriented (doc and code) 2015-03-31 15:01:15 +02:00
Jane Tournois 52a0637bd2 reuse vertex_point_t from cgal_bgl_named_parameters instead of
the new vertex_point_map_t (removed)
2015-03-31 14:10:19 +02:00
Jane Tournois 4f370f25f2 document named parameters in connected_components.h 2015-03-31 12:41:17 +02:00
Jane Tournois afa89bcafa introduce named parameters in connected_component 2015-03-31 12:15:43 +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 7147ab5fcf Merge branch 'Polygon_mesh_processing-GF' of github.com:CGAL/cgal-dev into Polygon_mesh_processing-GF 2015-03-30 16:56:33 +02:00
Sébastien Loriot 4c3a2f69c7 if eigen is not here the version macro is not available 2015-03-30 16:34:01 +02:00
Sébastien Loriot d8ff8f69e2 add draft implementation for approximated Hausdorff distance 2015-03-30 15:58:29 +02:00
Sébastien Loriot f119e8faec add a function to remove degenerate triangles 2015-03-30 15:56:45 +02:00
Sébastien Loriot 1d3eb35d81 add an overload to compute self-intersections of a subset of faces 2015-03-30 15:44:57 +02:00
Sébastien Loriot 0aba363223 hack to allow compilation
it's a hack because it only works for pmap with no state
2015-03-30 14:51:40 +02:00
Sébastien Loriot 8f046d3725 we cannot use an argument in a function to feed a default parameter value 2015-03-30 14:51:11 +02:00
Sébastien Loriot c37b84116e do not use a function declared only after 2015-03-30 14:50:41 +02:00
Jane Tournois ee26f71ad7 add default for ecmap and remove one overload 2015-03-30 14:49:22 +02:00
Jane Tournois 89753dfe94 add default ecmap to documentation 2015-03-30 14:43:40 +02:00
Jane Tournois 64391bea36 add info about property map 2015-03-30 14:22:31 +02:00
Jane Tournois 5a5bccf888 add description of return type 2015-03-30 13:54:12 +02:00
Jane Tournois f3f1b12376 remove from doc parameters that have become useless w/ named params 2015-03-30 10:58:43 +02:00
Jane Tournois bcb63ac70f document named parameters 2015-03-30 10:35:50 +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 b57f2df027 triangulate_refine_and_fair_hole delegates everything so vertex point map
is already handled
2015-03-26 12:44:44 +01:00
Jane Tournois 993cb4f552 add vertex point map in triangulate_and_refine_hole 2015-03-26 12:42:35 +01:00
Jane Tournois c19cfd01d0 nothing to do for triangulate_and_refine_hole. It delegates 2015-03-26 12:22:53 +01:00
Jane Tournois bd5fef8cc5 rename and reindent 2015-03-26 12:20:00 +01:00
Jane Tournois 3ab662ce03 add vertexpointmap to refine code
this is a temporary version until we know how to get the type of a named parameter
2015-03-26 12:15:17 +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 b423b4196c add kernel to the list of documented named parameters 2015-03-26 09:44:02 +01:00
Jane Tournois a7c8c0eccb add image to user manual for self intersections 2015-03-24 17:50:59 +01:00
Jane Tournois ba62737f84 add missing link to orientation section 2015-03-24 17:35:20 +01:00
Jane Tournois c41c797ca0 remove "max" figures 2015-03-24 17:31:18 +01:00
Jane Tournois 0f91dbbb6a move hole filling figure to hole filling section 2015-03-24 17:30:08 +01:00
Jane Tournois 3b8dd8665a add authors 2015-03-24 17:22:27 +01:00
Jane Tournois 9a76dd6439 add intro to user manual 2015-03-24 17:17:10 +01:00
Jane Tournois 0ca049c423 fix a link 2015-03-24 16:28:11 +01:00
Jane Tournois 0d4a033a75 doc about named parameters 2015-03-24 16:24:26 +01:00
Jane Tournois a8c86f9e56 reorganize doc to avoid warnings 2015-03-24 16:05:06 +01:00
Andreas Fabri 7bbe486565 capitalize words in sections 2015-03-21 22:53:54 +01:00
Jane Tournois ae4b306591 add more about bgl named parameters 2015-03-20 18:26:48 +01:00
Jane Tournois 0aaa2ea7bd how to 2015-03-20 17:07:19 +01:00
Jane Tournois bb9acbe424 fix solver doc 2015-03-20 16:38:09 +01:00
Jane Tournois 3879c520f7 better document density_control_factor 2015-03-20 16:22:21 +01:00
Jane Tournois e26b80e365 add vertex_point_map to the documentation of self_intersections functions 2015-03-20 15:57:36 +01:00
Jane Tournois 11b8f5ca72 document named parameters for all functions in which they are implemented 2015-03-20 15:44:20 +01:00
Jane Tournois cc78b0c136 document BGL named parameters for triangulate_hole 2015-03-20 15:14:39 +01:00
Jane Tournois 3194a38db8 add named bgl parameters 2015-03-20 12:22:32 +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
Jane Tournois e9c72794af Revert "move implementation files"
This reverts commit 9462d58a140e9d0efc38c10371f5a8e6e5e0d3fd.

Conflicts:
	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/refine.h

The files had been deleted instead of moved.
They are back
2015-03-19 11:13:57 +01:00
Jane Tournois d2a73301ef add everything to be tested 2015-03-19 10:14:50 +01:00
Sébastien Loriot 5b0030e256 update header path 2015-03-18 18:24:08 +01:00
Sébastien Loriot 1b766f2a90 improve connected component doc 2015-03-18 18:15:59 +01:00
Sébastien Loriot 54bc46aa9e update slicer doc 2015-03-18 18:03:52 +01:00
Sébastien Loriot 83bed5b427 update license headers 2015-03-18 17:23:43 +01:00
Sébastien Loriot 4c92719c99 do not document which files are included 2015-03-18 17:17:18 +01:00
Sébastien Loriot 7783670172 move header file 2015-03-18 17:14:33 +01:00
Sébastien Loriot 78f2283406 move header files 2015-03-18 17:11:45 +01:00
Sébastien Loriot 220cefb215 only Kernel is documented as nested type in Kernel_traits 2015-03-18 17:06:41 +01:00
Sébastien Loriot 6f146596a8 update polygon soup function doc 2015-03-18 17:06:26 +01:00
Sébastien Loriot 157bdbe7c0 update normal computation function doc 2015-03-18 17:05:50 +01:00
Sébastien Loriot a44f5fd3fc remove duplicated function 2015-03-18 17:05:25 +01:00
Sébastien Loriot f611f31b86 update orientation and stitch doc 2015-03-18 16:32:23 +01:00
Sébastien Loriot b0283d220e fix Point_inside_polygon_mesh doc 2015-03-18 15:19:59 +01:00
Sébastien Loriot 6d2c6df6ab rename header 2015-03-18 15:11:10 +01:00
Sébastien Loriot 61159ad4e6 fixes in self-itersection doc 2015-03-18 15:08:36 +01:00
Sébastien Loriot 838adad249 improve hole filling doc 2015-03-18 12:15:08 +01:00
Sébastien Loriot 73ea945a01 uniformize brief descriptions 2015-03-18 11:59:48 +01:00
Sébastien Loriot 9a9595e97e rename include guards 2015-03-18 11:53:04 +01:00
Sébastien Loriot 324839c8ae move header files 2015-03-18 11:51:33 +01:00
Sébastien Loriot e93e61230f improve triangulate_faces doc 2015-03-18 11:43:34 +01:00
Sébastien Loriot 262bcb0ce3 improve refine doc 2015-03-18 11:33:42 +01:00
Sébastien Loriot 0a0f0b1e56 replace FAIRING_CONTINUITY by an unsigned int 2015-03-18 11:26:10 +01:00
Sébastien Loriot dc9c394ea3 move implementation files 2015-03-18 10:53:27 +01:00
Sébastien Loriot 972542566e move enum 2015-03-18 10:52:58 +01:00
Sébastien Loriot 3ac659f94b improve fairing doc 2015-03-18 10:37:36 +01:00
Sébastien Loriot bd709caf3d improve default solver presentation and implementation 2015-03-18 10:36:40 +01:00
Sébastien Loriot 253b5eeb80 improve fairing doc 2015-03-18 10:24:30 +01:00
Sébastien Loriot 6fa8e17e52 add missing dependency 2015-03-18 10:22:01 +01:00
Sébastien Loriot bf9ef77fc9 add missing typename 2015-03-18 10:21:31 +01:00
Sébastien Loriot 2c2515860e remove commented lines 2015-03-18 10:21:13 +01:00
Sébastien Loriot 0e3d4586d4 fix doc warnings 2015-03-18 09:28:50 +01:00
Jane Tournois 24d962fef9 Merge branch 'Polygon_mesh_processing-GF' of github.com:CGAL/cgal-dev into Polygon_mesh_processing-GF 2015-03-17 18:22:24 +01:00
Jane Tournois c7637a8d60 connected components section 2015-03-17 18:22:06 +01:00
Jane Tournois f56d72829e slicer section 2015-03-17 17:57:58 +01:00
Jane Tournois 3a5f9e918f add figure for slicer 2015-03-17 17:49:39 +01:00
Andreas Fabri 4cd8980f38 Add implementation of reverse_face_orientations 2015-03-17 17:37:22 +01:00
Jane Tournois 759d558832 Merge branch 'Polygon_mesh_processing-GF' of github.com:CGAL/cgal-dev into Polygon_mesh_processing-GF 2015-03-17 17:34:26 +01:00
Jane Tournois c65bdf8963 normals section 2015-03-17 16:22:17 +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 5e1f937000 polygon soups section 2015-03-17 16:08:44 +01:00
Jane Tournois 3dd06c0e9b stitching section 2015-03-17 15:49:30 +01:00
Jane Tournois 1566a672bb orientation section 2015-03-17 15:28:35 +01:00
Jane Tournois dcedcd5782 doc 2015-03-17 15:08:05 +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 0186f23d37 add reverse_face_orientations function 2015-03-17 14:17:26 +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 99446cf516 (doc) add info about being default-constructible 2015-03-17 12:21:58 +01:00
Jane Tournois 55be9f33a0 remove all these *g 2015-03-17 12:21:13 +01:00
Jane Tournois 0e728f65a0 Merge branch 'Polygon_mesh_processing-GF' of github.com:CGAL/cgal-dev into Polygon_mesh_processing-GF 2015-03-17 11:45:41 +01:00
Jane Tournois d84758ca21 filename should be const char* 2015-03-17 11:45:18 +01:00
Sébastien Loriot 94a199290b connect components function use a const mesh 2015-03-17 11:42:37 +01:00
Jane Tournois 2b47db3868 normalize_border is there only for performance 2015-03-17 11:40:45 +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 6335d23218 meshing section 2015-03-17 10:38:21 +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 2acf2f1878 stitch_borders needs border to be normalized, or does not work.
It is not only a matter of speeding up the stitching algorithm
2015-03-16 13:04:11 +01:00
Jane Tournois f38ad46403 fix stitch_borders
normalize_borders, commented in a previous commit (ba34d1fe47860878a79de56e76fcd944a17ffdb8)
is mandatory
otherwise, stitching does not work
2015-03-16 12:49:21 +01:00
Jane Tournois 2e6353054b stitching example 2015-03-16 12:21:43 +01:00
Jane Tournois 4654e0f3b5 use BOOST_FOREACH 2015-03-16 11:50:40 +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 38550349b0 fix bglization 2015-03-16 10:55:10 +01:00
Jane Tournois 6de112e4a3 move internal folder to subfolder of Polygon_mesh_processing 2015-03-16 10:04:56 +01:00
Sébastien Loriot 47fc0a6954 remove extra template parameter already present at the class level 2015-03-14 15:13:18 +01:00
Sébastien Loriot 9bbb8dca18 add missing include 2015-03-14 15:12:59 +01:00
Sébastien Loriot a24133c22e add missing includes 2015-03-14 15:00:28 +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 c6b8241af9 reorder sections 2015-03-13 16:34:51 +01:00
Jane Tournois ee98680ed7 introduce examples inside the documentation 2015-03-13 16:31:17 +01:00
Jane Tournois a22cbbc099 add example for slicer 2015-03-13 16:21:52 +01:00
Jane Tournois aa59ae2c4c add missing include 2015-03-13 16:21:28 +01:00
Jane Tournois 26840824f7 add missing include 2015-03-13 16:16:03 +01:00
Jane Tournois 2aa1091e2b add missing include 2015-03-13 16:14:43 +01:00
Jane Tournois d3010125d7 add missing includes 2015-03-13 16:13:02 +01:00
Jane Tournois 38c3e31bee complete minimal examples, targeting user manual 2015-03-13 15:58:33 +01:00
Jane Tournois b5bcd4803a list of examples 2015-03-13 15:37:46 +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
Jane Tournois 5cb606f224 user manual : predicates section 2015-03-13 15:10:18 +01:00
Jane Tournois 6b37e2312e add more subsections 2015-03-13 14:42:27 +01:00
Jane Tournois 906f4a33ff fix doc for orientation 2015-03-13 14:19:19 +01:00
Jane Tournois 08d9e53cf2 fix doc 2015-03-13 14:09:47 +01:00
Jane Tournois 60c3942243 (doc) add group 2015-03-13 13:56:53 +01:00
Jane Tournois 1010755f31 fix case 2015-03-13 12:56:08 +01:00
Jane Tournois f4c343f5c0 in fairing, make solver parameter usable 2015-03-13 12:30:02 +01:00
Jane Tournois 8d36cfb392 use BOOST_FOREACH 2015-03-13 10:53:20 +01:00
Jane Tournois b9863b6a96 use ranges instead of hardcoded vectors in refinement
this avoids copying the range to a vector as a first step in refine()
2015-03-13 10:45:30 +01:00
Jane Tournois 61d1d82e1c renaming to use BGL types 2015-03-13 09:28:50 +01:00
Jane Tournois ef96f4886b a bit of reorganization of the doc
also add a ref to the PMP book
2015-03-12 17:06:48 +01:00
Jane Tournois 4b5e51db22 doc 2015-03-12 15:01:53 +01:00
Jane Tournois 2d77375dab fix compilation for windows 2015-03-12 14:54:13 +01:00
Jane Tournois 2ee9ff08ab fix documentation of polygon_soup_to_polygon_mesh 2015-03-12 14:43:32 +01:00
Jane Tournois 1459f283e5 move FAIRING_CONTINUITY to Polygon_mesh_processing namespace 2015-03-12 14:41:00 +01:00
Sébastien Loriot b627da64e1 remove unused typedefs 2015-03-12 13:49:33 +01:00
Sébastien Loriot 11d8004785 move function before it is used 2015-03-12 13:49:33 +01:00
Sébastien Loriot d16c685cda fix compilation and improve usage of pmaps 2015-03-12 13:49:33 +01:00
Sébastien Loriot d152da48d2 move function below the class definition it uses 2015-03-12 13:49:33 +01:00
Jane Tournois 73ddb796f7 fix compilation (mixing Points and arrays) 2015-03-12 12:16:09 +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 c8050d33f6 replace internal::No_constraint with CGAL::Default in connected_component 2015-03-12 11:59:33 +01:00
Jane Tournois 703b3cee61 add an overload of connected_components to handle default EdgeConstraintMap 2015-03-12 11:48:04 +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 f74ffe9598 replace "class" with "typename" in template parameters list to make doc uniform 2015-03-12 11:13:03 +01:00
Jane Tournois 0af1c98ab6 add doc 2015-03-12 11:07:22 +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 a343119354 minor doc 2015-03-10 18:15:27 +01:00
Jane Tournois 6f0fddd27f documentation smoothing 2015-03-10 17:44:35 +01:00
Jane Tournois 2f59695b3b Merge branch 'Polygon_mesh_processing-GF' of github.com:CGAL/cgal-dev into Polygon_mesh_processing-GF 2015-03-10 16:54:59 +01:00
Jane Tournois 07df5f046a smooth documentation 2015-03-10 16:54:41 +01:00
Jane Tournois 76ace6221a smooth documentation 2015-03-10 15:58:12 +01:00
Andreas Fabri 1c4443f02c Add CGAL:: and add () to a function 2015-03-10 15:39:01 +01:00
Jane Tournois ce55bcc319 Merge branch 'Polygon_mesh_processing-GF' of github.com:CGAL/cgal-dev into Polygon_mesh_processing-GF 2015-03-10 15:31:56 +01:00
Jane Tournois e9e27377b0 smooth documentation 2015-03-10 15:14:32 +01:00
Andreas Fabri d59febe835 remove duplicate tparam 2015-03-10 15:01:45 +01:00
Jane Tournois 30aefd6210 smooth documentation 2015-03-10 14:48:24 +01:00
Andreas Fabri 9f530e732c fix links 2015-03-10 12:52:06 +01:00
Andreas Fabri 9fb3635c96 OutputIterator -> FaceOutputIterator 2015-03-10 12:27:44 +01:00
Andreas Fabri 815fccd5b6 Add tparams 2015-03-10 12:22:48 +01:00
Andreas Fabri 2343497d19 Do not use named parameters for connected_components 2015-03-10 12:04:25 +01:00
Jane Tournois 3b08e52664 fix documentation with SinglePassRange, and use boost::begin and boost::end 2015-03-10 11:58:33 +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
Jane Tournois 27fb500274 documentation smoothing 2015-03-09 16:04:22 +01:00
Jane Tournois 8466c9a00d smooth documentation 2015-03-09 15:05:43 +01:00
Jane Tournois a2fd13c0df fix last commits. stitch_borders had been deleted instead of moved 2015-03-09 12:34:01 +01:00
Jane Tournois 6288df3e70 completes latest commit 2015-03-09 12:31:54 +01:00
Jane Tournois b081f8d92b move stitch_borders to Polygon_mesh_processing folder for readability 2015-03-09 12:30:16 +01:00
Jane Tournois fe3d702461 rename stitch_polygon_mesh to stitch_borders
because it's the name of the function implemented in the header file
2015-03-09 12:27:58 +01:00
Jane Tournois 430962c524 add header including all the functions of the namespace Polygon_mesh_processing 2015-03-05 17:11:49 +01:00
Jane Tournois f1bb0e30a1 remove stuff about weight calculator from doc 2015-03-05 16:37:35 +01:00
Jane Tournois 79656210e5 change stitch_borders to have one function documented, with default parameters
add as many implementations as needed, using CGAL::Default
2015-03-05 16:34:02 +01:00
Jane Tournois 767239871a remove more documentation about weight 2015-03-05 16:18:51 +01:00
Jane Tournois 8b405435fe remove FairWeightCalculator from the public API 2015-03-05 15:52:30 +01:00
Jane Tournois cde06c7088 remove weight calculator from the public API of fairing
it is still available internally
2015-03-05 15:45:14 +01:00
Jane Tournois 63a2f8af8e add todo 2015-03-05 15:05:38 +01:00
Jane Tournois 75e4654a02 cleanup stitch_borders,
and add VertexPointMap as optional parameter

WARNING : stitch_borders(PolygonMesh& pmesh, LessHedge less_hedge)
commented until we make an API choice
2015-03-05 14:42:04 +01:00
Jane Tournois afba431244 make stitching BGL, and complete test with Surface_mesh 2015-03-05 13:35:06 +01:00
Jane Tournois e173ca8a1f fix case 2015-03-04 11:41:02 +01:00
Andreas Fabri 6af7aaeebb introduce edge constraints based on the dihedral angle 2015-02-18 15:58:33 +01:00
Andreas Fabri afb2ced556 start to document the named parameters and document only this overload 2015-02-18 13:10:25 +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
Sébastien Loriot 89dcda25ad use the face index map 2015-02-18 09:51:04 +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
Jane Tournois 5fd11a8f59 add precondition in documentation 2015-02-17 17:55:53 +01:00
Jane Tournois 93df9d1c17 add documentation about triangulate_hole for handling islands 2015-02-17 17:45:21 +01:00
Jane Tournois 1663717992 rename functions, files and types for uniformization
also get rid of a useless Kernel_traits<Point>
2015-02-17 16:33:08 +01:00
Jane Tournois 348c619a09 complete documentation 2015-02-17 16:11:33 +01:00
Jane Tournois 46cc82f50b add the two versions of is_outward_oriented taking vertex point map, and kernel 2015-02-17 16:04:12 +01:00
Jane Tournois 755d7c8049 remove useless specification of PolygonMesh 2015-02-17 15:40:50 +01:00
Jane Tournois 57fc563e64 remove useless precision of PolygonMesh type 2015-02-17 15:00:15 +01:00
Jane Tournois c677b98885 remove useless call to point property map 2015-02-17 14:51:35 +01:00
Jane Tournois 08e14b7af5 Merge branch 'Polygon_mesh_processing-GF' of ssh://scm.cgal.org/var/git/cgal into Polygon_mesh_processing-GF
Conflicts:
	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/is_oriented.h
2015-02-17 12:31:07 +01:00
Jane Tournois c740f9283b make Polygon_soup_to_polygon_mesh BGL 2015-02-17 12:20:34 +01:00
Jane Tournois 874645b017 duplicate the test to run it on Polyhedron_3 and Surface_mesh
also use a non-oriented data set : elephant-shuffled.off
2015-02-17 11:42:21 +01:00
Jane Tournois 687b1207d0 fix compilation 2015-02-17 11:41:14 +01:00
Jane Tournois ab0ac6d558 use Euler operations that are available in BGL package 2015-02-17 11:06:56 +01:00
Sébastien Loriot 6bbba1cd81 move function 2015-02-16 15:36:35 +01:00
Sébastien Loriot 24c47ae95d add missing typenames 2015-02-16 14:55:14 +01:00
Sébastien Loriot a0bf0a309b only try to retriangulation non-triangular faces 2015-02-16 14:46:43 +01:00
Sébastien Loriot 39710bb885 fix compilation issues 2015-02-16 14:45:57 +01:00
Sébastien Loriot 86453fc867 fix compilation issues 2015-02-16 14:26:57 +01:00
Sébastien Loriot 9ded7bd43a reorder functions 2015-02-16 14:26:57 +01:00
Andreas Fabri e155ff9a75 first version of keep_largest_connected_component 2015-02-16 12:49:40 +01:00
Sébastien Loriot c581f94224 fix typo 2015-02-16 12:10:45 +01:00
Sébastien Loriot 0c3421c7bf add todos 2015-02-16 12:03:45 +01:00
Andreas Fabri 733336e5ce harmonize indendation 2015-02-13 20:36:14 +01:00
Andreas Fabri 72159550da I had to rename FaceIndexMap to FaceComponentIndexMap 2015-02-13 18:14:10 +01:00
Andreas Fabri 8277f73a2c Add connected_components without EdgeConstraintMap 2015-02-13 18:08:52 +01:00
Andreas Fabri 444793142b Add documentation 2015-02-13 17:07:34 +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 13c5f49e67 fix compilation 2015-02-12 15:27:22 +01:00
Jane Tournois 0f469859ff triangulate_faces now has 3 versions, for different parameters
- PolygonMesh, VertexPointMap, and Kernel
- PolygonMesh and VertexPointMap (Kernel deduced automatically)
- PolygonMesh only (VertexPointMap and Kernel deduced automatically)

only the first one is documented, and appears as if the 2 last
parameters had default values
2015-02-12 14:59:40 +01:00
Andreas Fabri c040d8453a rename property maps 2015-02-11 11:29:17 +01:00
Andreas Fabri f25d87ed9c Add compute_normals; facet -> face 2015-02-11 10:18:00 +01:00
Andreas Fabri b8ebddf6b7 document compute_vertex/facet_normals 2015-02-11 09:42:56 +01:00
Andreas Fabri 1d33cb9735 add compute_vertex_normals() 2015-02-10 21:05:08 +01:00
Andreas Fabri 20744d629a Add compute_facet_normals 2015-02-10 18:27:16 +01:00
Andreas Fabri ea1a819466 Add compute_facet_normals 2015-02-10 18:27:16 +01:00
Jane Tournois 6f27c5a75b BGL-ization triangulate_faces(PolygonMesh) function 2015-02-10 17:49:22 +01:00
Jane Tournois 5a2de88e73 fix warning 2015-02-10 17:44:12 +01:00
Andreas Fabri 1df27e57ac Add point property maps to normal computation 2015-02-10 15:36:12 +01:00
Jane Tournois a2c45b78f0 Merge branch 'Polygon_mesh_processing-GF' of ssh://scm.cgal.org/var/git/cgal into Polygon_mesh_processing-GF 2015-02-10 14:30:46 +01:00
Jane Tournois c58943c509 fix compilation for msvc2013 2015-02-10 14:30:19 +01:00
Andreas Fabri 1f869d269a Add overloads with a default for Kernel 2015-02-10 13:08:07 +01:00
Andreas Fabri 5d3b151286 Merge branch 'Polygon_mesh_processing-GF' of ssh://scm.cgal.org/var/git/cgal into Polygon_mesh_processing-GF 2015-02-09 15:30:57 +01:00
Sébastien Loriot 6d8b60b7d7 remove warning 2015-02-05 14:05:28 +01:00
Sébastien Loriot 39f9813070 add discover_connected_component 2015-02-05 14:04:43 +01:00
Sébastien Loriot 1ca862bcd2 EIGEN_VERSION_AT_LEAST is not defined if CGAL_EIGEN3_ENABLED is not 2015-02-03 15:33:50 +01:00
Sébastien Loriot 85c0ff4402 add keep_largest_connected_components 2015-02-03 12:02:40 +01:00
Sébastien Loriot 69d21b213e rename directory 2015-02-03 11:09:21 +01:00
Sébastien Loriot 717cc88d93 add vertex point pmap as template parameter 2015-02-03 10:36:57 +01:00
Sébastien Loriot c5737d0fa4 rename header 2015-02-03 10:15:42 +01:00
Sébastien Loriot 022666fe09 Polygon_mesh_slicer_3 -> Polygon_mesh_slicer 2015-02-03 10:12:42 +01:00
Sébastien Loriot 416db703c7 Merge branch 'local/Polygon_mesh_processing-extract_cc' into Polygon_mesh_processing-GF 2015-02-03 09:23:37 +01:00
Sébastien Loriot a3a48134f1 add package overview 2015-02-03 09:02:00 +01:00
Sébastien Loriot a686d2ae2d change namespace 2015-02-02 19:38:38 +01:00
Sébastien Loriot 35cbfea432 copy code added in branch Polyhedra_corefinement-enhancements-sloriot
|
  |commit fea785072d
  |Author: Sébastien Loriot <sebastien.loriot@cgal.org>
  |Date:   Wed Mar 26 10:48:25 2014 +0100
  |
  |    add an alternative way to compute the patches bounded by marked edges
  |
2015-02-02 17:09:32 +01:00
Sébastien Loriot c9efa943d2 move file to Polygon_mesh_processing 2015-02-02 17:05:53 +01:00
Sébastien Loriot a6ea5c0b22 update orient_polygon_soup testsuite 2015-01-30 18:02:36 +01:00
Sébastien Loriot 1a79edd840 fix compilation issues (nothing to do with the merge) 2015-01-30 17:57:04 +01:00
Sébastien Loriot dab5e16524 accomodate changes of the merge 2015-01-30 17:56:27 +01:00
Sébastien Loriot 137805d091 Merge branch 'old/Polygon_mesh_processing-GF'
Conflicts:
	Operations_on_polyhedra/include/CGAL/orient_polyhedron_3.h
	Polygon_mesh_processing/include/CGAL/orient_polygon_soup.h
	Polyhedron/demo/Polyhedron/Scene_polygon_soup_item.cpp
	Polyhedron/demo/Polyhedron/Scene_polyhedron_selection_item.h
2015-01-30 17:55:22 +01:00
Andreas Fabri dc1416f0fa more slices 2015-01-27 08:51:14 +01:00
Andreas Fabri 3d2acacdb9 Add a benchmark for the slicer 2015-01-26 16:12:26 +01:00
Jane Tournois f9b8938596 stitching BGLized
works for Polyhedron_3
todo : check it still works for Surface_mesh
2015-01-23 17:48:46 +01:00
Jane Tournois 594a17eefd progress on BGLization of stitching
until now it only works for Polyhedron_3
2015-01-23 16:39:16 +01:00
Jane Tournois 5f785f7e44 add validity precondition to check valid orientation 2015-01-23 16:37:18 +01:00
Jane Tournois 79fa2df1f7 remove useless include 2015-01-23 15:49:22 +01:00
Jane Tournois 7a4428e43d start conversion to BGL API, and improve test 2015-01-23 15:48:53 +01:00
Jane Tournois 58b3e09350 make the use of namespaces consistent with other operators 2015-01-23 15:34:19 +01:00