Commit Graph

58 Commits

Author SHA1 Message Date
Sébastien Loriot 93d62b969c add forward declaration
File_medit.h is included by Mesh_complex_3_in_triangulation_3_base.h
2020-08-18 14:09:06 +02:00
Jane Tournois 1e42f4c9d4 rename IO functions for MEDIT format and a Triangulation_3 2020-08-18 11:16:58 +02:00
Jane Tournois 0a7d8cfd25 add an example with IO for a .mesh file 2020-08-18 10:42:20 +02:00
Sébastien Loriot 4dda7b6c80 update license of c3t3 related files
a proper package must be created in a later release
2020-05-27 15:53:05 +02:00
Sébastien Loriot acd6d9d8de removing tabs and trailing whitespaces 2020-04-10 11:26:31 +02:00
Jane Tournois 3940dd69eb Revert "replace Point type to make it valid for non-weighted triangulations"
This reverts commit 74b12712faae74bf25fdec749049ecb13c517529.
2020-01-28 15:50:50 +00:00
Jane Tournois da5febfac7 replace Point type to make it valid for non-weighted triangulations 2020-01-28 15:50:50 +00: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
goran-w b820b11625 More work on consistent facet orientation in medit output 2019-03-05 09:52:27 +01:00
goran-w 509594f21d
Added missing typename qualifier.
My bad. Visual Studio 2017 compiler did not complain about this.
2018-12-21 11:46:04 +01:00
goran-w 3bf248f04c
Update File_medit.h 2018-12-21 08:59:13 +01:00
Mael Rouxel-Labbé cdda597e4e Renamed the medit output function 2018-06-06 11:58:36 +02:00
Mael Rouxel-Labbé 7ea3a8044e Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-06-05 14:39:18 +02:00
Mael Rouxel-Labbé d2ece33849 Documented Mesh_3's and P3M3's medit IO function 2017-12-19 15:44:26 +01:00
Mael Rouxel-Labbé 14d8540c82 Enhanced medit output for periodic meshes
(looks exactly like Mesh_3's now)
2017-12-04 16:09:18 +01:00
Mael Rouxel-Labbé ba3a59ed5a Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2017-11-30 15:54:00 +01:00
Mael Rouxel-Labbé 9b8c5cd824 Another batch of v->point() --> tr.point(v) 2017-11-29 17:48:55 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Andreas Fabri e2abe11309 Consistently use Bare_point and Weighted_point 2017-06-28 10:14:35 +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
Laurent Rineau 0eb09e96ba Merge pull request #1611 from MaelRL/Mesh_3-fix_medit_io_redundant_find_calls-GF
Avoid some unnecessary set/map's find() calls in Mesh_3's medit output
2016-10-26 14:39:24 +02:00
Andreas Fabri 6caea9384f Fix package Mesh_3: include headers 2016-09-30 15:22:30 +02:00
Andreas Fabri db02d60d6f make output_to_medit() faster 2016-04-15 20:52:13 +02:00
Sébastien Loriot dd955cef30 Merge pull-request #483 from 'janetournois/Mesh_3-gray_level_image_oracle-lrineau'
Mesh 3 : add gray level image oracle
2015-12-18 16:46:46 +01:00
Andreas Fabri d26903170c Do not use std::endl in output_to_medit 2015-12-06 12:34:25 +01:00
Andreas Fabri 0e26773f5d insert \n in the stream instead of \endl 2015-10-13 09:15:21 +02:00
Mael Rouxel-Labbé 8a291245b7 Avoid some unnecessary set/map's find() calls in Mesh_3's medit output 2015-10-07 17:02:10 +02:00
Simon 067647eebf Replacing the use of operator!= by !( operator== ) when comparing domain or surface indexes.
This is link to issue #37.
2015-04-16 10:12:50 +02:00
Laurent Rineau f06d2057d6 Uniformize my uses of std::setprecision 2013-09-27 17:58:00 +02:00
Laurent Rineau 7552d76c1b Revert the following commit for that file
| commit 01ee3e94b6
  | Author: Laurent Rineau <laurent.rineau@cgal.org>
  | Date:   Tue Jun 25 12:53:24 2013 +0200
  |
  |     Use 'std::istream::operator!()' twice to replace 'operator bool()' (C++11 only)
  |
  |     Fixes a compilation error from clang:
  |
  |     include/CGAL/IO/File_binary_mesh_3.h:39:10: error: no viable conversion from 'std::ostream' (aka 'basic_ostream<char>') to 'bool'
  |       return os << c3t3;
  |              ^~~~~~~~~~

The return type of operator<< os std::ostream&, and not bool!
2013-08-07 14:16:39 +02:00
Laurent Rineau 01ee3e94b6 Use 'std::istream::operator!()' twice to replace 'operator bool()' (C++11 only)
Fixes a compilation error from clang:

include/CGAL/IO/File_binary_mesh_3.h:39:10: error: no viable conversion from 'std::ostream' (aka 'basic_ostream<char>') to 'bool'
  return os << c3t3;
         ^~~~~~~~~~
2013-06-25 12:53:24 +02:00
Laurent Rineau 45016ef87a merge changes from next 2012-08-16 13:03:53 +00:00
Philipp Möller 79b30908d5 WARNFIX: Silence a good part of unused variable/parameter warnings.
Wextra results in a dreadful wall of yellow in the test-suite and is
scary when using CGAL. Reduce some of the noise by silencing the
obvious cases with CGAL_USE or comments.
2012-08-07 11:04:32 +00:00
Jane Tournois 357f3d3ab8 r66846 from Mesh_3-experimental-GF
Add <CGAL/Mesh_3/config.h> where config macros are used.
2012-07-24 13:52:22 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Laurent Rineau 95cde53b17 Merge "Mesh_3 with features" in trunk, so that it is in CGAL-3.8, at last!
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Mesh_3_with_features
2011-01-10 15:43:22 +00:00
Stéphane Tayeb 2ec1dd5eb9 Fix warnings: fix r57304: use std::size_t instead of strange casts to unsigned int. 2010-07-02 15:37:13 +00:00
Stéphane Tayeb f2973b7ff0 Fix warnings on MSVS2010. 2010-07-02 14:51:18 +00:00
Stéphane Tayeb 1f3332bf63 Move Mesh_3 from candidate-packages to trunk (2/2) 2010-01-06 13:46:02 +00:00
Stéphane Tayeb 313a28d9a2 Move Mesh_3 from candidate-packages to trunk (1/2) 2010-01-06 13:44:50 +00:00
Stéphane Tayeb a9e9d368b4 Attempt to fix warning in File_medit.h on g++-4.3.2_F10GLIBCXXDEBUG-cmake 2009-10-06 07:25:54 +00:00
Stéphane Tayeb 7057ddc2d1 Merge [r51556-r51996]
From branches/CGAL-3.5-branch/Mesh_3 To trunk/Mesh_3.

r51758 | lrineau
* Fix all \ccPkgHowToCiteCgal at once to turn 08 into 09

r51937 | stayeb
* Fix polyhedral oracle issue: switch to exact intersection computation.

r51957 | stayeb
* cleanup example folder.

r51960 | stayeb
* Remove wrong using namespace statement.
2009-09-21 14:36:31 +00:00
Stéphane Tayeb 00035e1bc9 * add customization parameters to output_to_medit. 2009-09-21 13:39:27 +00:00
Stéphane Tayeb 7fb9b2d26c Labels are now ordered according to their natural order (instead of randomly). 2009-08-06 09:30:37 +00:00
Stéphane Tayeb 55a4124bb5 Fix warning on MSVS2008 compiler: fix typo introduced in r50488. 2009-07-09 09:40:16 +00:00
Stéphane Tayeb 7717a8d142 Fix warning on MSVS2008 compiler. 2009-07-09 07:34:25 +00:00
Stéphane Tayeb fe60ae5f4e Move Mesh_3 from branches/experimental-packages to trunk. 2009-06-26 15:29:26 +00:00
Laurent Rineau 3c6e2102f0 Move Mesh_3 into "experimental-packages" until accepted in CGAL.
(Request from Sylvain Pion.)
2007-03-19 07:32:03 +00:00