Maxime Gimeno
37cc9b03c7
Fix output_to_vtu
2019-02-05 16:42:00 +01:00
Laurent Rineau
dc275ec013
Fix a warning about unused local type
2019-02-04 15:48:29 +01:00
Maxime Gimeno
b812f333a0
Dont export far points when converting to vtkUnstructuredGrid
2019-01-25 15:04:37 +01:00
Maxime Gimeno
06b42de055
Fixes
2019-01-25 14:43:58 +01:00
Maxime Gimeno
1ce8c87b64
Add a function that writes a vtu from a c3t3 and a list of attributes
2019-01-25 14:39:44 +01:00
Laurent Rineau
a57db0bac4
Fix the filling of 'mids'
2019-01-22 12:20:53 +01:00
Laurent Rineau
c9164a0660
Merge branch 'master' into Stream_support-Dont_use_vtk_for_vtu-GF
2019-01-22 12:06:08 +01:00
Laurent Rineau
b74753680b
Fix "<CellData Scalars="
2019-01-22 12:03:05 +01:00
Laurent Rineau
4d3df85cb3
Remove far points
2019-01-22 10:38:48 +01:00
Laurent Rineau
ae108c5d96
Improve comments and fix indentation
2019-01-21 17:14:14 +01:00
Laurent Rineau
c7b95e25c5
Rename two write_points functions as well
2019-01-21 16:32:37 +01:00
Laurent Rineau
8f658695f8
Rename internal methods to avoid a namespace class
...
There was two methods named `CGAL::write_points_tag`. I renamed then
to:
- `write_c3t3_points_tag`, and
- `write_cdt_points_tag`.
2019-01-21 16:17:28 +01:00
Laurent Rineau
8dd54fbeb0
Merge branch 'releases/CGAL-4.13-branch'
2019-01-18 16:38:04 +01:00
Laurent Rineau
dbd569d51c
Fix the result of check_headers
2019-01-17 18:29:27 +01:00
Laurent Rineau
c1d4608665
My changes to output_to_vtu
2019-01-17 16:03:43 +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
Maxime Gimeno
7b13f4a969
Add misisng license header, rename vtu functions and update change.md
2018-11-23 10:11:23 +01:00
Maxime Gimeno
33482dc532
Fix conflicts
2018-11-21 10:55:09 +01:00
Maxime Gimeno
5180876290
Fix ambiguity between 2D and 3D write_VTU and restore gone bool binary in write_VTU 3D
2018-11-21 10:48:16 +01:00
Maxime Gimeno
6e4ab58edc
Put write_vtk in Polyhedron_IO
2018-11-20 15:15:53 +01:00
Sébastien Loriot
d940632471
Merge pull request #3258 from MaelRL/PMP-Filter_degenerate_polygon_soup_input-GF
...
PMP: repair polygon soup
2018-11-02 10:37:58 +01:00
Maxime Gimeno
33a3996fa1
Rename write_VTU and write_VTP
2018-10-29 15:02:20 +01:00
Maxime Gimeno
63488d81d1
Update Changes and doc
2018-10-29 12:59:44 +01:00
Maxime Gimeno
14c526a378
Add constrained edges to vtu output for cdt
2018-10-09 14:42:42 +02:00
Sébastien Loriot
3dd0aa112d
rename macro not following the convention
2018-10-08 10:28:55 +02:00
Maxime Gimeno
e8cf3f3192
add license includes
2018-10-05 17:09:43 +02:00
Maxime Gimeno
0c800d5830
Add SPDX stuff
2018-10-05 11:48:46 +02:00
Maxime Gimeno
99832879ed
Add missing files
2018-10-04 14:08:52 +02:00
Mael Rouxel-Labbé
ef6a6af122
Made STL reader compatible with SequenceContainers
...
It's useful to not be constrained to cpp11::arrays when the polygon soup
is to be processed through reparation functions (for example)
2018-08-03 14:21:17 +02:00
Mael Rouxel-Labbé
f1175d30ed
Fixed useless variable not being initialized
2018-07-20 10:48:00 +02:00
Mael Rouxel-Labbé
efd971c4bc
Reworked with/without subdomain index handling
2018-07-19 10:42:13 +02:00
Mael Rouxel-Labbé
7ac1417623
Use a resize function to allow to use arrays
2018-07-19 10:32:33 +02:00
Mael Rouxel-Labbé
97cb7bb151
Removed orientation.h dependency
2018-07-19 10:32:03 +02:00
Mael Rouxel-Labbé
7fcb3d6da6
Reworked facets in complex extractor
...
Some optimizations, orient properly, create an internal function
to extract a specific subdomain index
2018-07-18 17:17:15 +02: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é
c28e05be0c
Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
2018-02-23 12:50:06 +01:00
Maxime Gimeno
81800eb937
Add a feature to the Mesh_3_plugin that allows to create a Facegraph_item when performing a surface_meshing.
2018-01-15 11:17:37 +01: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é
27fce35ca1
Fixed warning
2017-12-16 12:52:10 +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é
5e810e3c09
Replaced std::map with unordered map + timestamp hash function
2017-12-01 19:07:55 +01:00
Mael Rouxel-Labbé
8a9750709b
Moved the timestamp hash function to STL_extension (and rewrote it)
2017-12-01 08:44:12 +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
Mael Rouxel-Labbé
b25a4f1151
Added an assertion to detect bad inputs earlier
2017-11-22 14:11:51 +01:00
Mael Rouxel-Labbé
582742b105
Moved timestamp_hash_fct from internal::mesh_3 to mesh_3::internal
2017-11-22 09:58:55 +01:00
Mael Rouxel-Labbé
d1a6d1c4c6
Rewrote 'facets_in_complex_3_to_triangle_mesh'
...
-- There is no need for two loops
-- Use unordered containers
-- There is no need to check for degeneracies because the same vertex handle
cannot appear twice
-- Cleaned file and related test file
-- Properly reserve space for containers
-- Made it compatible with periodic_3_mesh_3
2017-11-21 18:17:27 +01:00
Sébastien Loriot
ee57fc2d6c
add SPDX identifier for files under the GPL-3+ license
2017-11-12 10:17:51 +01:00
Mael Rouxel-Labbé
e2b33c4948
Progress on periodic optimizers
...
- Replaced a lot of v->point() with tr.point(v) & similar
- Fixed taking references to temporary:
we can't do "F(construct_point_3_object()(tr.point(c, i)))" for periodic
triangulations because tr.point(c,i) is _not_ a reference
- Added some sanity checks to debug Lloyd optimization
- Fixed some indentation
2017-10-29 21:31:59 +01:00
Maxime Gimeno
7d5226bba3
Another review pass.
2017-08-10 11:22:21 +02:00
Maxime Gimeno
ffd95ac3a0
Add a line in the TriangleMesh definition of facets_in_complex_3_to_triangle_mesh()
2017-08-09 10:31:04 +02:00
Maxime Gimeno
56cb0a66a3
Changes after review
2017-08-09 10:31:04 +02:00
Maxime Gimeno
088934730b
changes in the doc.
2017-08-09 10:31:04 +02:00
Maxime Gimeno
603ae0d9c6
Rename file to match doc
2017-08-09 10:31:04 +02:00
Maxime Gimeno
593d7f6691
Use PMP::polygon_soup_to_polygon_mesh() in output_c3t3_to_facegraph() and adapt doc.
2017-08-09 10:31:04 +02:00
Maxime Gimeno
d57be1d856
Add documentation and update changes.html
2017-08-09 10:31:04 +02:00
Maxime Gimeno
fa598b70ab
Add a file and a test to export a c3t3 to a facegraph.
2017-08-09 10:30:19 +02:00
Laurent Rineau
2ef17adaf0
Extend the test to compare with reference files
...
That way, if the format changes, the test will detect the change.
2017-07-18 15:53:21 +02: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
Laurent Rineau
216b298652
Fix issues in I/O of Mesh_complex_3_in_triangulation_3
...
And restore the possibility for the Polyhedron demo to load two types of
C3t3 (with `Patch_id` being `int` or `std::pair<int, int>`).
2016-03-25 15:45:28 +01:00
Sébastien Loriot
aa36d50923
remove unused variable
2016-01-11 20:18:54 +01:00
Andreas Fabri
7cc1543c84
remove unused typedefs
2016-01-11 15:40:36 +01:00
Andreas Fabri
7fa7db80d4
Add output to Avizo file format
2016-01-08 16:30:07 +01: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
Clement Jamin
ec8e949d21
Merge branch 'Mesh_3-parallel-cjamin-old' into Mesh_3-parallel-cjamin
2013-11-21 10:50:55 +01:00
Laurent Rineau
f06d2057d6
Uniformize my uses of std::setprecision
2013-09-27 17:58:00 +02:00
Clement Jamin
41929ed520
Merge branch 'Mesh_3-parallel-cjamin-old' into Mesh_3-parallel-cjamin
...
Conflicts:
Mesh_3/doc/Mesh_3/Concepts/MeshCellBase_3.h
Mesh_3/dont_submit
Triangulation_3/doc/TDS_3/CGAL/Triangulation_data_structure_3.h
Triangulation_3/doc/TDS_3/Concepts/TriangulationDataStructure_3.h
Triangulation_3/doc/Triangulation_3/CGAL/Delaunay_triangulation_3.h
Triangulation_3/doc/Triangulation_3/CGAL/Regular_triangulation_3.h
Triangulation_3/doc/Triangulation_3/CGAL/Triangulation_3.h
Triangulation_3/doc/Triangulation_3/PackageDescription.txt
2013-09-25 11:47:43 +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
Clement Jamin
206b20bc15
Merge branch 'Mesh_3-parallel-cjamin-old' into Mesh_3-parallel-cjamin
2013-07-02 17:37:50 +02:00
Laurent Rineau
c6a57e79f1
Fix a warning about unused parameters
2013-06-25 17:43:17 +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
Clement Jamin
3eae2927e7
Merge branch 'Mesh_3-parallel-cjamin-old' into Mesh_3-parallel-cjamin
2013-03-04 15:50:57 +01:00
Laurent Rineau
bc7e2a1d71
Merge remote-tracking branch 'origin/Mesh_3-improvements-GF' into Mesh_3-improvements-GF-new
...
Mesh_3-improvements-GF-new is fresh fork of master
Conflicts:
.gitattributes
AABB_tree/include/CGAL/AABB_tree.h
GraphicsView/src/CGAL_Qt4/DemosMainWindow.cpp
Mesh_3/include/CGAL/Mesh_3/C3T3_helpers.h
Mesh_3/include/CGAL/Mesh_3/Refine_facets_3.h
Mesh_3/include/CGAL/Polyhedral_mesh_domain_3.h
2013-02-28 17:10:16 +01:00
Andreas Fabri
2740aa9c05
use size_type instead of int
2013-02-07 15:16:03 +01:00
Sébastien Loriot
14c8641377
Convert all CRLF files to LF
2012-12-04 16:44:49 +01:00
Clément Jamin
1ca7174e01
Merge from Mesh_3-improvements-GF
...
+ some bugfixes (most of them are related to the parallel version)
This version works (sequential and parallel) as long as the following macros are NOT defined:
* CGAL_COMPACT_MESH_VERTEX_CELL
* CGAL_INTRUSIVE_LIST
* FORCE_STRUCTURAL_FILTERING
2012-10-16 14:02:16 +00:00
Clément Jamin
2366fee1e1
Merge from next
2012-09-28 14:51:02 +00:00
Laurent Rineau
139b8ce637
Add and test functions to save/load a c3t3 in binary format
2012-09-21 13:12:58 +00:00
Laurent Rineau
787d19d6c3
Merge changes from next
2012-09-21 12:29:27 +00:00
Laurent Rineau
5db6778d2c
Add export from c3t3 to tetgen
...
+ test output_to_medit and output_to_tetgen in test/Mesh_3/test_c3t3.cpp
2012-09-20 14:24:20 +00:00
Clément Jamin
4ce1337ba8
Bugfix (it didn't work with sharp creases)
2012-09-18 15:47:12 +00: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
Clément Jamin
1160927132
Added the ability to export two kinds of Maya file:
...
- surface only
- all cells (one cell = 4 triangles)
2012-07-18 13:36:59 +00:00
Clément Jamin
3a5b9134c6
Maya exporter - save triangles with correct orientation
2012-07-18 09:14:10 +00:00
Clément Jamin
853a6ee854
Added the ability to save mesh as a Maya file (ASCII Maya file format)
2012-07-17 17:02:17 +00:00
Laurent Rineau
8f59fd9592
Turn QPL into LGPLv3+
2012-01-13 16:33:35 +00:00
Sébastien Loriot
f9ea578db9
Insert cells in container of cells (not container of facets)
2011-01-26 07:40:10 +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