Commit Graph

53 Commits

Author SHA1 Message Date
Sébastien Loriot bdc9377e20 fix reading of ASCII STL with a name broken by a previous fix 2018-02-26 15:15:59 +01:00
Andreas Fabri 22bd2815a3 Polyhedron 2018-01-17 17:13:53 +00:00
Andreas Fabri cd7f1af9c4 bug fix 2017-12-11 16:39:53 +00:00
Andreas Fabri 49128e332a Also parse headers of binary STL files starting with the keyword 'solid' 2017-12-07 14:57:39 +01:00
Sébastien Loriot ff26773f7b remove include directive for checking GPL compliance in LGPL headers 2017-11-12 10:21:35 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Laurent Rineau fd9be189d8 Merge pull request #2536 from sloriot/Demo-add_STL_writer
Add STL writer
2017-10-17 15:20:34 +02:00
Sébastien Loriot 7c3cf02bb2 use unit_normal 2017-10-13 07:48:58 +02:00
Sébastien Loriot 8f50be14c0 add function to write triangle mesh as STL file (binary+ascii)
update IO plugin in the demo
2017-10-12 19:23:11 +02:00
Simon Giraudot d30a044018 Handle case where PLY faces property uses "vertex_index" instead of "vertex_indices" 2017-10-04 09:10:31 +02:00
Simon Giraudot 7f7bcf1511 Check if stream is not bad instead of checking if it's good (yes...) 2017-10-02 11:14:25 +02:00
Simon Giraudot 8e6e35cebd Handle both uint and int for list of indices in PLY input 2017-08-09 09:48:36 +02:00
Simon Giraudot 41f0203222 Read PLY mesh with colors 2017-08-02 14:10:44 +02:00
Simon Giraudot a0bc442741 PLY writer for FaceListGraph 2017-08-02 14:10:43 +02:00
Simon Giraudot db36c0d92c Fix constness and tag name 2017-08-02 14:10:42 +02:00
Simon Giraudot 583a700d96 First version of PLY writer for polygon soups 2017-08-02 14:10:42 +02:00
Simon Giraudot 8311c681e2 First version of PLY reader for polygon soups 2017-08-02 14:10:41 +02:00
Andreas Fabri d94d386f59 fix the testsuite 2017-06-30 18:12:14 +02:00
Andreas Fabri f9827278a2 Document read_off(), and write_off() for Polyhedron_3 and Surface_mesh 2017-06-30 18:12:14 +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
Sebastien Loriot 162bdc67b4 Merge pull request #1151 from afabri/Polyhedron_IO-stl_reader-GF
ignore triangles with 2 or 3 identical vertices
2016-06-13 09:15:53 +02:00
Andreas Fabri ab3292caa0 ignore triangles with 2 or 3 identical vertices 2016-06-10 14:43:59 +02:00
Maxime Gimeno c2f02afee5 Enhancement
- Moved the code to read an .obj file to OBJ_reader.h
- Made it compatible with not triangle objects.
2016-06-09 16:16:18 +02:00
Sébastien Loriot 11b8eb428b Merge pull request #558 from maxGimeno/Polyhedron_demo-display_indices_of_primitives-GF
Display indices of Polyhedron_item primitives in Polyhedron_demo
2016-05-26 17:09:23 +02:00
Maxime Gimeno b8ecd34eb5 Fix facet color reading 2016-05-12 17:11:28 +02:00
Maxime Gimeno 31b9e81e6d Fix for the polyhedron readOFF with colors 2016-05-12 17:11:28 +02:00
Maxime Gimeno 6761dcae8e Fix tellg/seekg errors 2016-05-12 17:11:28 +02:00
Maxime Gimeno 30a12a8dca Fix for the smooth normals 2016-05-12 17:11:26 +02:00
Maxime Gimeno 128adc4c32 Addition of a color management of the not oriented OFF with colors 2016-05-12 17:11:26 +02:00
Maxime Gimeno 92abf686b3 WIP : add color to IO_OFF 2016-05-12 17:09:14 +02:00
Maxime Gimeno dbb5c07709 Draw text done. WIP Blending 2016-04-27 14:02:27 +02:00
Andreas Fabri 20c1b1a1f6 Merge branch 'Polygon_mesh_processing-GF-old' into Polygon_mesh_processing-GF
Conflicts:
	BGL/include/CGAL/boost/graph/Euler_operations.h
	BGL/include/CGAL/boost/graph/iterator.h
	Documentation/doc/Documentation/Doxyfile.in
	Documentation/doc/Documentation/dependencies
	Polyhedron/demo/Polyhedron/Polyhedron_demo_point_inside_polyhedron_plugin.cpp
	Polyhedron/demo/Polyhedron/Scene_polygon_soup_item.cpp
	Polyhedron/demo/Polyhedron/Selection_widget.ui
2015-07-01 13:52:44 +02:00
Andreas Fabri 087f4acb0e fix warnings 2015-06-05 16:07:04 +02:00
Sébastien Loriot 166e5e03ea more generic reader 2015-02-09 16:51:32 +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 ccbcb8b23f remove typename 2015-01-26 08:59:47 +01:00
Sébastien Loriot 00a57be25a remove the STL reading part outside of the builder 2015-01-23 15:01:16 +01:00
Sébastien Loriot fcd2e56742 cleanup 2015-01-23 14:09:40 +01:00
Sébastien Loriot 1ee29eb3e1 int[] -> array 2015-01-23 12:17:31 +01:00
Sébastien Loriot 5c956f1ccd replace tuple by array 2015-01-23 11:47:23 +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
Marc Glisse a758751485 Remove / comment out unused local typedefs. Fix one place where FT was used instead of RT (homogeneous coordinates, probably never compiled). 2012-07-28 06:21:06 +00:00
Philipp Möller 8f1ce2412c Removed all places where the CGAL_CFG_NO_TMPL_IN_TMPL work-around was
used. Those were mostly in Polyhedron and HalfedgeDS but some places
in Arrangement_2 used it, too. Neither of the parts of Arrangement_2
have been documented.
2012-04-13 13:13:30 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Sébastien Loriot 5471e90cd1 s/succesful/successful 2010-08-12 08:30:26 +00:00
Laurent Rineau ae34a83cf1 int -> size_t 2010-06-28 10:55:25 +00:00
Laurent Rineau 5d77f6a49f Fix the calls to OFF_scanner.scan_facet and
.scan_facet_vertex_index. std::size_t shoud be used, now, instead of
Integer32.
2010-06-23 09:21:43 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Sylvain Pion 85dc12f2a7 Remove empty lines at beginning and end of files
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00