Commit Graph
4392 Commits
Author SHA1 Message Date
Francis Williams 5e2d8ddebe Merge pull request #1096 from jdumas/fix-randperm
Fix logic error for URNG in igl::randperm
2019-03-19 18:34:05 -04:00
Francis Williams 8641870916 Merge pull request #1110 from libigl/jdumas-patch-2
Enable Eigen 3.3 in Travis for macOS
2019-03-19 18:32:46 -04:00
Jérémie Dumas 3c79ad18e7 Merge pull request #1112 from ThomasAuzinger/dev
Corrected omission of return argument.
2019-03-18 09:15:04 -04:00
Thomas AUZINGER 07d68473d9 Corrected omission of return argument. 2019-03-18 11:58:30 +01:00
Jérémie Dumas 8b794aa9a6 Update .travis.yml 2019-03-15 10:51:56 -04:00
Jérémie Dumas c7c06e3735 Merge pull request #1107 from ThomasAuzinger/dev
Ensured use of internally defined constants.
2019-03-06 22:12:40 -05:00
Jérémie Dumas f530a2a645 Merge pull request #1106 from NSchertler/master
[knn] Fixed comparison functor in priority queue
2019-03-06 08:53:57 -05:00
Thomas AUZINGER c85ee4ef79 Ensured use of internally defined constants. 2019-03-06 14:33:17 +01:00
Nico Schertler 9621a87edd comparison functor of priority queue is required to represent a strict ordering 2019-03-05 15:49:17 -08:00
Jérémie Dumas eafa7266d4 Merge pull request #1105 from jdumas/fix-labels
Fix label rendering in tutorial 105
2019-03-04 10:25:34 -05:00
Jérémie Dumas a5590c6389 Render text labels in tutorial 105 (fixes #1104 and #1089). 2019-03-04 08:49:51 -05:00
Stefan Reinhold 7a1e0435a8 Fix: Wrong Eigen3 dependency when using find_package(libigl) #1100 (#1101)
* Fix #1100

When the target Eigen3::Eigen is not present but could be found using
find_package() igl::core and igl::common link against the wrong TARGET
PkgConfig::Eigen3. Fixed this and also did some code cleanup.

* Drop support for PkgConfig

* Simplify configuration code

- Removed redundant call to find_package
- Removed LIBIGL_Eigen3_Target variable
- Echo status message
2019-03-01 10:28:47 -05:00
Stefan Reinhold c65e487996 Fix igl common cmake config (#1097)
* Set libigl_common_FOUND if arget is OK

In libigl-config.cmake.in only libigl_core_FOUND was set, resulting in
an error if the user requested the igl::common feature, see #1077

* Replace target_link_libraries with set_target_properties

Otherwise cmake complains that the targets igl::core and igl::common are
not built by the current project.

* Also install .c files
2019-02-27 13:42:40 -05:00
Jérémie Dumas 843438eab9 Fix logic error for URNG in igl::randperm 2019-02-26 19:37:42 -05:00
Jérémie Dumas 4052eef33c Merge pull request #1093 from ShuangLiu1992/dev
Explicit template instantiation of std::vector<std::vector<int>> for boundary_loop
2019-02-25 14:25:53 -05:00
ShuangLiu b2938a41d9 change PlainObjectBase to MatrixBase to fix compile error 2019-02-25 17:01:15 +00:00
ShuangLiu 96bdfb64ba Explicit template instantiation of std::vector<std::vector<int>> for boundary_loop 2019-02-25 16:12:32 +00:00
Alec Jacobson 77eb3f88fd Merge pull request #1067 from libigl/boundary-faces-extend
Extend boundary_facets with outputs revealing which element facet comes from
2019-02-24 13:41:51 -04:00
Alec Jacobson 01729b533d Update reorder.cpp
missing windows template?
2019-02-24 12:24:56 -04:00
Jérémie Dumas 52d6df75c8 Merge pull request #984 from evouga/patch-1
Update cut_to_disk.cpp
2019-02-23 17:46:42 -05:00
Jérémie Dumas 4575cbd670 Merge pull request #1062 from ycjungSubhuman/master
Use std::shuffle instead of std::random_shuffle in igl/randperm
2019-02-23 15:55:45 -05:00
Jérémie Dumas 8b8a3f7def Merge branch 'dev' into patch-1 2019-02-23 14:55:03 -05:00
Jérémie Dumas a022f3fcb8 Merge pull request #1072 from w-m/dev
Bump stb_image version
2019-02-22 16:53:20 -05:00
Jérémie Dumas ae5af1be35 Merge pull request #1088 from breannansmith/undef_fix_flip_avoiding_line_search
Fixed undefined behavior in the SolveP3 function of flip_avoiding_lin…
2019-02-18 17:06:38 -05:00
Breannan Smith 3a72136c4d Fixed undefined behavior in the SolveP3 function of flip_avoiding_line_search. 2019-02-18 15:03:40 -05:00
Kacper Pluta b1058a4eb7 Code clean-ups of nrosy() (#1027)
* code clean ups

* remove useless includes

* remove prints

* the last changes

* avoid using full namespaces and avoid some loops

* make acos call nan resistant

* throw an exception when zero norm vector calculations happened

* overlooked lines

* make sure to use CPP versions

* remove unneeded variable

* overlooked lines

* revert

* comments from J

* overlooked lines

* avoid variable overwriting and set size when declaring.

* This should be aliasing free.

* It seems like some of the variables were not necessary
2019-02-12 15:13:00 -05:00
Kacper Pluta 48ac6aa0b5 Some further cleanups for MIQ (#998)
* Cleanups: unified arguments' names, variable types, unused variables removed, initialization of fileds. Many Clang-tidy hints have been applied, etc.

* ints should be unsigned

* changes overlooked duing refactorization

* changes overlooked duing refactorization

* changes overlooked duing refactorization

* changes overlooked duing refactorization

* changes overlooked duing refactorization and suggestions from @jdumas

* remove unneeded var.

* indents

* extract a constant

* a name changed
2019-02-12 11:45:50 -05:00
Jérémie Dumas 6b1870aea4 Merge pull request #1085 from djkeyes/fix-template-type-min_quad_with_fixed
fix min_quad_with_fixed to work for non-double template types
2019-02-12 11:26:29 -05:00
Daniel Keyes e7d4ec2599 fix min_quad_with_fixed to work for non-double template types 2019-02-11 20:23:27 -08:00
Wieland Morgenstern f102334b7a Bump stb_image version 2019-01-15 22:27:06 +01:00
Jérémie Dumas 0294540603 Merge pull request #1073 from jdumas/travis
Fix Travis build + minor CMake improvements.
2019-01-15 16:00:49 -05:00
Jérémie Dumas ad43734d8d Switch gcc build to Release on Travis. 2019-01-10 15:37:01 -05:00
Jérémie Dumas b62b908d1d Fix paths. 2019-01-10 14:51:37 -05:00
Jérémie Dumas 0920459a45 Fix Travis build + minor CMake improvements.
* Add option to skip cmake external download (#1068);
* Add option 'TLS_VERIFY OFF' directly in libigl's CMake script instead
  of 'DownloadProject.CMakeLists.cmake.in' (#1021).
2019-01-10 14:17:46 -05:00
Alec Jacobson 7895811be4 Merge pull request #1066 from libigl/fix-cotmatrix-test
Fix cot matrix unit test to avoid Eigen bug (only outstanding CGAL test is failing)
2018-12-28 15:04:21 -06:00
Alec Jacobson 1deb471727 extra boundary_facets outputs; better sort prototypes; templates; cleanup 2018-12-28 14:16:20 -06:00
Alec Jacobson 67257e8ed0 fix test 2018-12-28 14:12:20 -06:00
Alec Jacobson a87d62a78f Merge pull request #1064 from libigl/dev-fix-cgal
Dev fix cgal
2018-12-28 10:19:09 -06:00
Jérémie Dumas a5cd601cb5 Fix default cmake variables. 2018-12-28 15:19:11 +01:00
Jérémie Dumas 607148cf72 Misc compilation fixes for Eigen 3.3 compatibility. 2018-12-28 15:02:21 +01:00
Jérémie Dumas b9d547b2bd Try different switches. 2018-12-28 13:51:38 +01:00
Jérémie Dumas e8d0ffa43f Maybe AppVeyor was not building in parallel? 2018-12-28 13:40:39 +01:00
Jérémie Dumas 44fc595bcb Run python tutorial in Travis. 2018-12-28 10:14:20 +01:00
Jérémie Dumas 28d72d3b81 Use dynamic version of Boost with Python bindings. 2018-12-28 09:49:59 +01:00
Jérémie Dumas 5ceedbff82 Do not disable python bindings on Travis. 2018-12-28 01:48:53 +01:00
Jérémie Dumas 917158c851 Stop trying to be smart. 2018-12-28 01:40:04 +01:00
Jérémie Dumas 652b4db6d3 Make Travis happy. 2018-12-28 01:35:12 +01:00
Jérémie Dumas 2eef4a9b30 Fix compilation issues. 2018-12-28 01:28:11 +01:00
ycjungSubhuman 429745301a Remove unnecesary comment in randperm 2018-12-27 20:44:36 +08:00
ycjungSubhuman 217b838df2 Make randperm take URBG using func overloading 2018-12-27 20:34:58 +08:00