Sébastien Loriot
13296e6887
Merge branch 'old/Polygon_mesh_processing-GF' into Polygon_mesh_processing-GF
2015-02-16 11:48:29 +01:00
Sébastien Loriot
68d15e165a
Merge branch 'local/Polyhedron_demo-better_selection_offset'
...
Improve the facet selection process in the demo plugin
by using the vertex incidence instead of the edge incidence.
First step toward simpler the code
Tested in CGAL-4.6-Ic-126
Approved by the release manager
2015-02-16 10:23:31 +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
Sébastien Loriot
373b93d4a2
fix warnings on windows
2015-02-12 14:18:51 +01:00
Jane Tournois
4316ea250b
fix compilation
2015-02-12 13:01:54 +01:00
Sébastien Loriot
743821f76a
use the new erode and dilate section functions
2015-02-11 10:05:05 +01:00
Jane Tournois
6f27c5a75b
BGL-ization triangulate_faces(PolygonMesh) function
2015-02-10 17:49:22 +01:00
Jane Tournois
873da255c8
fix Scene_polyhedron_item according to last commit
2015-02-10 17:27:46 +01:00
Sébastien Loriot
eeae2f392a
Merge branch 'local/Remove_condition_on_CGAL_version' into Polygon_mesh_processing-GF
2015-02-05 14:47:56 +01:00
Sébastien Loriot
bb3264c563
remove conditions that are outdated
2015-02-05 14:46:36 +01:00
Sébastien Loriot
d4746febff
Merge branch 'Polyhedron_3-IO4Scene_edge_item-GF'
...
Tested in CGAL-4.6-Ic-120
Approved by the interim release manager
2015-02-03 17:20:27 +01:00
Sébastien Loriot
2537374f56
fix io plugin
2015-02-03 17:18:48 +01:00
Sébastien Loriot
698189f2d4
only consider io-plugin for loading that can load
2015-02-03 17:05:04 +01:00
Sébastien Loriot
f7dac442d9
add the nb of points to respect cgal file format
2015-02-03 16:35:43 +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
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
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
Sébastien Loriot
e56a845b96
Merge branch 'local/Polyhedron_demo-export_STL_builder'
...
Brings enhancement to the polyhedron demo:
* better handling of triangle soups -> always orientable as polyhedron
* better handling of triangulated stl files in the loader
Tested in CGAL-4.6-Ic-117
Approved by the release manager
2015-01-30 16:09:00 +01:00
Sébastien Loriot
24fcc4a2fe
update orient_polygon_soup to always produce a polyhedron
...
with self-intersection at singular vertices/edges
2015-01-29 14:02:56 +01:00
Sébastien Loriot
b4bd141980
move OFF reading function to a header file
2015-01-29 14:02:47 +01:00
Sébastien Loriot
7c09fdb490
add missing include
2015-01-29 14:02:35 +01:00
Sébastien Loriot
4cf96051c5
stl plugin can now also load polygon soups
2015-01-27 11:38:59 +01:00
Sébastien Loriot
613915c07f
add the possibility to load a polygon soup from vector of points and indices
...
I needed to move the Polygon_soup class inside the header as the function
added is a template function and the definition must be available in the
header
2015-01-27 11:38:45 +01:00
Sébastien Loriot
d6a8fcaf4f
the orientation plugin is only applicable on polygon soup items
2015-01-27 10:39:41 +01:00
Laurent Rineau
bd43545717
Disable the normal estimation plugin with Boost-1.57 and C++11
2015-01-26 11:22:09 +01:00
Sébastien Loriot
58b99a51f2
hide the modifier in internal namespace and advertise the function
2015-01-23 15:55:45 +01:00
Sébastien Loriot
135568bb0d
abstract the point and polygon type
2015-01-23 15:30:04 +01:00
Sébastien Loriot
4fbf80df46
move Polygon_soup_to_polyhedron_3 to its own header
2015-01-23 15:03:13 +01:00
Sébastien Loriot
00a57be25a
remove the STL reading part outside of the builder
2015-01-23 15:01: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
Sébastien Loriot
b551c0fa55
move Polyhedron builder from STL files from demo plugin to header
2015-01-23 10:40:15 +01:00
Sébastien Loriot
6402251615
remove the projection step since we know do the projection in the traits
2015-01-21 16:13:20 +01:00
Sébastien Loriot
bb26d0f049
add a call to the visitor when ending a polyline
2015-01-20 19:51:21 +01:00
Jane Tournois
51d01df1c9
rename file because it only contains a predicate
2015-01-20 11:43:04 +01:00
Jane Tournois
f7ff3b2548
move file to subfolder Polygon_mesh_processing
2015-01-20 11:40:07 +01:00
Jane Tournois
fcfe30d114
rename is_oriented to is_outward_oriented
...
'is_oriented' was misleading because it was suggesting
"is consistently oriented" insted of "normals are oriented outwards
on this already consistently oriented mesh"
2015-01-20 10:36:34 +01:00
Jane Tournois
e028035776
rename orient_polyhedron_3 to orient_polygon_mesh
...
also add namespace Polygon_mesh_processing
2015-01-20 10:08:09 +01:00
Jane Tournois
45ebea96f9
Point_inside_polyhedron renamed to Point_inside_polygon_mesh
...
also remove TriangleAccessor_3 and start migrating to FaceGraph
2015-01-19 14:34:59 +01:00
Jane Tournois
59c0e2f108
fix compilation for hole filling
2015-01-19 14:14:04 +01:00
Jane Tournois
af7265f541
rename Polygon_mesh_slicer_3 to Polygon_mesh_slicer_3
2015-01-16 14:38:40 +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
Jane Tournois
27d329b1e9
move fair() and refine() to their own files
...
- move fairing and refinement internal code to
the subfolder Meshing_functions (they were in Hole_filling)
- and fix namespaces
2015-01-15 17:11:00 +01:00
Jane Tournois
2ec9b7eff9
add namespace Polygon_mesh_processing to hole filling functions
2015-01-15 15:49:38 +01:00
Jane Tournois
473e5e8bee
rename triangulate_polyhedron to triangulate_faces
2015-01-15 15:29:01 +01:00
Jane Tournois
93107e9c88
move hole_filling functions to non-internal header triangulate_hole.h
2015-01-15 15:17:15 +01:00
Jane Tournois
246811669e
fix compilation
2015-01-15 11:18:58 +01:00