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