Commit Graph

57 Commits

Author SHA1 Message Date
Sébastien Loriot b352f28627 deprecate Surface_mesher package 2024-06-03 18:08:47 +02:00
albert-github c32b1f4127 spelling corrections
Some spelling corrections (Directories starting with `S` rest - `W`),
2022-11-16 13:22:39 +01:00
Sébastien Loriot 0779373835 extra run of the script to remove tabs and trailing whitespaces
right after the  merge of 4.14 release branch

+ manual fix on one line in:
    * Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
    * .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot 254d60f642 First pass on removing license notice in header for GPL files 2019-10-19 15:23:19 +02:00
Sébastien Loriot 7356421d80 introduce Commercial license SPDX tag 2019-10-19 12:15:19 +02:00
Sébastien Loriot 9bd9c68b83 update LGPL[23]+ and GPL[23]+ SPDX tags
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Andreas Fabri 799260f604 Poisson surface reconstruction 2018-01-18 10:05:01 +00:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Laurent Rineau 0d3c455ef0 Remove unused Boost MPL headers 2017-07-11 13:30:19 +02:00
Sébastien Loriot 50510c05ea add include directive for license of all GPL header files
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
          grep -v Operations_on_polyhedra | \
          grep -v Algebraic_kernel_for_circles | \
          grep -v Algebraic_kernel_for_spheres | \
          grep -v Polyhedron_IO`;
do
  echo $i
  python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Andreas Fabri 0f09c30b9b Cleanup: remove unused buggy code 2013-02-27 14:24:43 +01:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Sébastien Loriot b429f3c539 add default constructor and a const for swig wrapping 2010-09-02 06:27:17 +00:00
Sébastien Loriot a40ad96c88 add documented but missing function 2010-09-01 12:24:55 +00:00
Sébastien Loriot e2a3098bb4 add documented but missing functions 2010-09-01 11:30:21 +00:00
Andreas Fabri 6e5a6f74b6 static_cast 2010-06-23 14:20:14 +00:00
Laurent Rineau 1183905c3d Add the following function, which is documented:
Face_status face_status (const Cell_handle c, const int i, const int j) const
2009-02-07 13:30:04 +00:00
Sylvain Pion a76ed463b1 Bool -> bool in comment 2008-08-26 13:25:42 +00:00
Laurent Rineau abf246366d - add constness to facets_begin()/facets_end() in c2t3,
- add more VTK support: output a c2t3 to a vtkPolyData
- add a demo that shows the ability to display a c2t3 in a VTK viewer.
2008-05-20 11:51:10 +00:00
Laurent Rineau 7002346ca2 Minor change: add a missing const&. 2008-05-12 20:45:09 +00:00
Laurent Rineau cab2554766 Minor commit: add a few "const" or "const&". 2008-04-29 13:51:29 +00:00
Laurent Rineau 00ced538b1 Modifications of C2T3:
- add a lot of comments arround the face status.
- use explicit variable names in union find, instead of 'i' and 'j'
- add a is_valid() function, that checks that the facets markers are the
  same from both sides, and that the real number of marked facets is
  conform to the cached number (used in the Slivers_exuder),
2008-03-13 22:13:30 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Laurent Rineau 5a9bafcee6 typos 2007-08-08 14:29:57 +00:00
Laurent Rineau 1f471177ce push current version 2007-06-06 12:54:28 +00:00
Laurent Rineau d381828fa7 I do not know what to say... That version just work!!
I can remesh piecewise smooth surface...
2007-05-30 16:52:43 +00:00
Laurent Rineau 37c7266f76 Merge the branch "temporary_branch_during_trunk_freeze" back to the trunk.
Details below (thank to svnmerge).

Merged revisions 38016,38018-38083,38085-38637 via svnmerge from 
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/temporary_branch_during_trunk_freeze/Surface_mesher

........
  r38022 | lrineau | 2007-04-10 15:11:14 +0200 (Tue, 10 Apr 2007) | 1 line
  
  no-op modifications
........
  r38023 | lrineau | 2007-04-10 15:13:06 +0200 (Tue, 10 Apr 2007) | 1 line
  
  add an intersection computation method to the polyhedral oracle: Triangle-curve
........
  r38026 | lrineau | 2007-04-10 16:14:12 +0200 (Tue, 10 Apr 2007) | 1 line
  
  use vectors instead of lists, and use the correct type Facet_circulator from C2t3
........
  r38028 | lrineau | 2007-04-10 16:18:48 +0200 (Tue, 10 Apr 2007) | 5 lines
  
  
  - Use sets or vectors instead of lists
  - Add marked edges
  - Marked edges are not removed when incident facets are removed.
    They are counted isolated, instead
........
  r38029 | lrineau | 2007-04-10 16:33:09 +0200 (Tue, 10 Apr 2007) | 2 lines
  
  typos
........
  r38306 | lrineau | 2007-04-18 17:58:24 +0200 (Wed, 18 Apr 2007) | 1 line
  
  new version, that should work, now. :-S
........
  r38327 | lrineau | 2007-04-19 03:13:46 +0200 (Thu, 19 Apr 2007) | 1 line
  
  add Edge_info into C2t3, and make the surfacic centers be cached into those edge infos
........
  r38328 | lrineau | 2007-04-19 03:36:21 +0200 (Thu, 19 Apr 2007) | 1 line
  
  forgot that part
........
  r38413 | lrineau | 2007-04-23 02:22:23 +0200 (Mon, 23 Apr 2007) | 1 line
  
  new version o Surface_mesher, with documentation.
........
  r38635 | lrineau | 2007-05-11 15:49:29 +0200 (Fri, 11 May 2007) | 1 line
  
  fix compilation
........
  r38636 | lrineau | 2007-05-11 15:49:52 +0200 (Fri, 11 May 2007) | 1 line
  
  updated documentation
........
  r38637 | lrineau | 2007-05-11 15:50:12 +0200 (Fri, 11 May 2007) | 1 line
  
  update for piecewise-smooth surfaces
........
2007-05-11 14:09:56 +00:00
Laurent Rineau 7d31a00e9f Copyright year range. 2007-04-04 10:19:50 +00:00
Laurent Rineau 61e2a2ebfd - New codebase for <CGAL/Polyhedral_surface_3.h>, that uses
Polyhedron_3.
- Added "Facet neighbor(Facet f, int j) const;" in
  <CGAL/Complex_2_in_triangulation_3.h>.
- New code for output_surface_facets_to_off() in
  <CGAL/IO/Complex_2_in_triangulation_3_file_writer.h>. Now uses
  Polyhedron_3 I/O operators (maybe temporarily), and *orients the output*,
  as mush as possible, without any call to any surface oracle.
  The ordering code is adapted from reorient_faces() in TDS_2.
- Updated demo/Surface_mesher/polyhedron_remesher.cpp, so that it works.

Notes for the CGAL-3.3 release manager: 
  - Surface_mesher/demo/Surface_mesher is "dont_submitted".
  - The changes in Surface_mesher/include/CGAL/ only impact undocumented
  features of the package. Actually, maybe output_surface_facets_to_off()
  should be documented (with an adapted API) now that it orients the facets.
2007-04-04 09:52:34 +00:00
Laurent Rineau 5b79951cce - fix last patch: the vertex iterator class needs a little more sugar
(thanks to Mariette how spotted this out).
- extend the testsuite to check that
2006-07-28 14:02:07 +00:00
Laurent Rineau 7967427be6 - fix a bug: c2t3::Vertex_iterator should be convertible to Vertex_handle,
as usuall vertex iterators of CGAL triangulations.
2006-07-26 12:46:44 +00:00
Laurent Rineau b275743f60 - fixed i/o operators, in binary mode, for C2t3_cell_base_3,
- fixed input operator of c2t3. It know deals correctly (I hope), with the
  edge_facets_counter member.
- added a new class Surface_mesh_default_triangulation_3
- use Surface_mesh_default_triangulation_3 in test_c2t3_iterators.cpp, as a
  test.
2006-07-12 00:10:41 +00:00
Laurent Rineau ed1f7bcdfd fix operator>> for c2t3, so that number_of_facets is computed correctly 2006-06-28 17:05:41 +00:00
Laurent Rineau 00e588aed7 modified a comment, to be more explicit 2006-06-26 12:29:39 +00:00
Laurent Rineau 9eaa9ee75b - fix all iterators of C2t3!!
- added a test to test that these iterators works...
2006-06-23 15:35:33 +00:00
Laurent Rineau 65519abd31 prefix filter_iterator with CGAL::, to prevent ADL 2006-06-17 05:42:30 +00:00
Laurent Rineau 171707f114 - sliver exuder fixed,
- Combining_oracle fixed too.
2006-06-07 12:55:01 +00:00
Laurent Rineau 8d43b786ae Copy Mesh_2, Mesh_3 and Surface_mesher, from the branch
"cannot_wait_for_CGAL-3.2" to the trunk.

My idea: the branch is the real working version, and I want it to be joined
back to the trunk:

          __________________________         cannot_wait_for_CGAL-3.2 branch
         /                          \
        /                            \ 
-------------------------------------------- trunk
        S                             M

The modification of the trunk between the splitting point S and the merging
point M has already been merged into "cannot_wait_for_CGAL-3.2".

The trunk versions of these three packages have been removed already.
2006-06-06 13:38:17 +00:00
Laurent Rineau 24535549b2 Remove trunk of Mesh_2, Mesh_3 and Surface_mesher.
Do not worry: I will "svn cp" the branch "cannot_wait_for_CGAL-3.2" into the
trunk, and the trunk will inherit from the logs of the branch.

My idea: the branch is the real working version, and I want it to be joined
back to the trunk:

          __________________________         cannot_wait_for_CGAL-3.2 branch
         /                          \
        /                            \ 
-------------------------------------------- trunk
        S                             M

The modification of the trunk between the splitting point S and the merging
point M has already been merged into "cannot_wait_for_CGAL-3.2".
2006-06-06 13:36:22 +00:00
Laurent Rineau ba53fc3365 - demo now output an off file, probably non oriented.
- Mesh_3/application/off_to_medit.C helps to convert it to a medit file.
2006-04-05 08:57:15 +00:00
Laurent Rineau f1cfb6bf15 oups! missed a coma.
C++ is really a strange language, carring of comas! :-)
2006-03-10 18:15:45 +00:00
Laurent Rineau 9739b9b85a remove unused Tr::* typedefs 2006-03-10 17:23:19 +00:00
Mariette Yvinec 3a3e9b9a36 modified before_insertion of Surface_mesher_manifold:
added in_complex test of facets and remove in_comples test of vertices
after_insertion of Surface_mesher_manifold :
use is_regular_or_boundary_for_vertices
2006-03-09 09:54:29 +00:00
Laurent Rineau 8ea975e588 - modification of Complex_2_in_triangulation_vertex_base_3 and
Complex_2_in_triangulation_3: the result of
  union_find_of_incident_facets() is cached in the vertex.
- remove unwanted verbose output. It is now activable by defining
  the preprocessor macro SURFACE_MESHER_VERBOSE.
2006-03-09 08:31:02 +00:00
Laurent Rineau 6fadb288a3 - change some hard-coded "double" to "FT"
- change face_type() to face_status() in users of C2t3
- first testsuite
- renamed nested typedef Triangulation_3 to Triangulation, in C2t3
- added specializations for Manifold_tag and Manifold_with_boundaries_tag, 
  in include/CGAL/make_surface_mesh.h
- heavy changes of template parameters and constructors of:
     - Surface_mesher_regular_edges_without_boundary_base
     - Surface_mesher_regular_edges_base
     - Surface_mesher_manifold_base
- new classes Surface_mesher_manifold, urface_mesher_regular_edges and
  Surface_mesher_regular_edges_without_boundary, that are no longer
  copy-pasted from Surface_mesher.
- rename all triangulation objects to "tr", and all geom_traits objects to
  "gt". No longer "tri3", or "ker".
- updated the target "depends" of GNUmakefile files.
- testsuite compiles, but runtime problem in manifold version. Non manifold
  runs correctly.
- fix layout of this changes.txt file
2006-03-08 23:00:44 +00:00
Laurent Rineau e66e9ec948 - change some hard-coded "double" to "FT"
- fix syntax errors in include/CGAL/Complex_2_in_triangulation_3.h
- change face_type() to face_status() in users of C2t3
- updated test suite
2006-03-08 16:00:25 +00:00
Mariette Yvinec 8f3310e242 changes in Complex_2_in_triangulation_3 :
remove set_in_complex and remove_from_complex for vertices
    change  set_in_complex and remove_from_complex for facets
    add iterators on complex faces
2006-03-08 14:47:38 +00:00
Laurent Rineau 09e658a77a rename tri3 to tr, and minor syntax fixes 2006-03-08 14:44:48 +00:00
Mariette Yvinec 52d9682c58 changes in Complex_2_in_triangulatio_3 :
remove set_in_complex and remove_from_complex for vertices
    change  set_in_complex and remove_from_complex for facets
2006-03-08 13:28:51 +00:00
Mariette Yvinec 00db7952f9 changes in Complex_2_in_triangulatio_3 :
fixed operator Not_in_complex
    changed face_type into face_status
    changed is_in_complex 
    added is_regular_or_boundary_for_vertices
2006-03-08 10:45:51 +00:00