Commit Graph

221 Commits

Author SHA1 Message Date
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 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
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 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 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 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
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 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
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 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 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 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
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
Jane Tournois fa5fa003fd remove todo (already done) 2015-01-23 15:03:16 +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
Jane Tournois da972f0df8 TriangleMesh made a model of FaceListGraph
test added to use Point_inside_polygon_mesh with Surface_mesh
test code factorized in a helper file
2015-01-22 14:43:56 +01:00
Jane Tournois 52e4126d04 remove useless include 2015-01-22 14:00:07 +01:00
Jane Tournois 6a36d221ba some cleaning
rename variables and types, indentation,
reduce number of useless arguments, etc
2015-01-22 13:06:03 +01:00
Jane Tournois 3de1485921 add missing coma 2015-01-22 12:56:30 +01:00
Sébastien Loriot 818833db5d add flag to disable axis aligned plane optimisation and todos 2015-01-21 17:23:11 +01:00
Sébastien Loriot 098ffebd8a use a specific traits when the plane is parallel to two axis 2015-01-21 16:06:02 +01:00
Sébastien Loriot c5b65190ae do not use the default constructed traits 2015-01-21 11:48:34 +01:00
Sébastien Loriot 28f8774eaf use a traversal traits to avoid doing twice the orientation tests 2015-01-21 11:42:53 +01:00