* dont use floating point values to index eigen types
* only cast doubles not the whole expression
* add remaining casts
* Update cast.
Co-authored-by: Jérémie Dumas <jeremie.dumas@ens-lyon.org>
* 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
* Dot not build tutorials in Debug mode.
Fix script.
Limit num of parallel jobs on Windows Nighlty.
Update job matrix.
Update job matrix.
Update job matrix.
Rename jobs.
* Limit branches that triggers a CI build.
* Restore original name.
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.
* Make use of IGL_DEPRECATED() macro in igl::all_edges, igl::internal_angles and igl::is_border_vertex.
CTRL+F for "deprecated" find functions where the comment says that the functioin is deprecated.
* Removed #include deprecated.h for igl::nchoosek and igl::readOBJ because it looks like the functions which have been marked as deprecated are already gone.
* update IGL_DEPRECATED to make use of C++14 feature [[deprecated]].
* replace deprecated igl:is_border_vertex(V,F) with igl::is_border_vertex(F).
* fixed IGL_DEPRECATED: added prama message if the compiler is unknonw and fixed macro for MSVC.
* Add IGL_DEPRECATED to igl::remove_duplicates() to mark it as deprecated.
* Add cmap option to set_data + fix jet colormap.
* Switch from jet to turbo.
* Add explicit turbo colormap.
* Add option for number of intervals in colormap.
* Switch to Viridis as default.