* Added improved .msh reader/writer + tests + example,
with fixes proposed by @qnzhou
put append_mat_to_vec into igl::internal
* Update tutorial number.
* Changed tutorial code to use example from https://github.com/libigl/libigl-tutorial-data/pull/1 and flat shading
* Remove commented code.
* Rename tutorial number + update tutorial data.
Co-authored-by: Jérémie Dumas <jdumas@users.noreply.github.com>
Co-authored-by: Jérémie Dumas <jeremie.dumas@ens-lyon.org>
* Added vector Dirichlet and curved Hessian functionality, as well as tutorials.
* Applied jdumas changes
* added github actions for this branch
* more jdumas changes
* Changed int to appropriate scalar
* moved around Int definition
* forgot braces somewhere
* forgot braces
* Applied changes suggested by jdumas
* forgot braces
* remove custom github workflow
* Use ::max vs ::infinity in dijkstra
* Add test case for discrete dijkstra distances
* Update dijkstra.cpp
* Explicit template instantiation for dijkstra test
Co-authored-by: Jérémie Dumas <jdumas@users.noreply.github.com>
* This PR allows for extra exceptions in the debug mode (GCC/LLVM) on Linux based OSes - it does not work on the other operating systems.
Relevant documentation: https://linux.die.net/man/3/feenableexcept
Updated SHA for libigl-tests-data
removed obsolete ply.h
updated tinyply to compile with and without LIBIGL_USE_STATIC_LIBRARY
fixed template instantiation signatures to work with gcc
fixed integer classes for visual studio
fixed igl::tynyply_type redefinition
added command to install ccache in .travis.yml
added test for writePLY
changed asserts inside writePLY code
fixed some bugs in writePLY code
made PLY reader/writer work with quad meshes
made PLY reader/writer work with tristrips
* Added unit test for issue #521
Unit test adapted from https://github.com/qnzhou/libigl-unit-tests/blob/master/include/igl/delaunay_triangulation.cpp
* Fix iterator out of range error in lexicographic_triangulation (closes#521)
The iterator is now always decreased, so it points to the current left
side of the triangulation again after erasing the current item.
When the iterator is at the beginning of the boundary, it needs to point
to the last element (boundary.end()-1) after decreasing, so we have to
decrease the iterator in all cases.
In addition, the line
if (itr == left_itr || itr == right_itr) continue;
is simplified to
if (itr == left_itr) continue;
because the condition itr == right_itr will never be hit, because the
line before breaks the loop, when itr == right_itr:
if (itr == right_itr) break;
- Fixes#1229 by defaulting to static MSVC runtime on Windows.
- CMake will now fail if LIBIGL_WITH_CGAL is ON but CGAL is not found
(e.g. missing Boost or gmp/mpfr).
- Removed some duplicated template instantiations on Windows.
- Added IGL_DEBUG_OFF to disable slow unit test in Debug configuration
by default.
- Do not FORCE options given to third-party libraries.