Commit Graph
4446 Commits
Author SHA1 Message Date
hanxiao d7aaf39710 add missing newline char 2019-04-28 15:31:25 -04:00
hanxiao ce07eb79f4 use correct deducd types and rename function 2019-04-28 15:26:44 -04:00
hanxiao c4813053b2 update stype and add doc 2019-04-21 11:15:34 -04:00
hank 56bbda7827 ear clipping triangulation and robust 2d segment intersection detect 2019-04-20 18:09:11 -04:00
Alec Jacobson bc657bc94b Merge pull request #1163 from PyMesh/dev
Shewchuk's predicates support
2019-04-20 15:34:22 -04:00
Robert Gützkow 7677e66587 Fixed two memory leaks (#1120)
* Fixed two memory leaks

One pointer to allocated memory wasn't freed and realloc didn't have proper error handling. Additionally UB has been identified, because a pointer to a local variable is returned.

* Memory leak removed, cause be setting reference to NULL instead of deleting the object
2019-04-20 14:27:08 -04:00
Jérémie Dumas be2e69a35c Merge pull request #1140 from amrollah/heat_geodesics_python
exposed heat_geodesics in python binding
2019-04-20 14:23:24 -04:00
Kazutaka Nakashima 05666a7e72 Bugfix in remesh_along_isoline.h (#1164)
* fix typo

* fix typo for solving compile error
2019-04-20 09:42:53 -04:00
Qingnan Zhou a7cf3ddc1f Address Hanxiao's comment. 2019-04-19 14:45:17 -04:00
Jérémie Dumas 749b9c1c27 Update predicates.cpp 2019-04-19 14:28:34 -04:00
Jérémie Dumas cefb0fa35f Update static check macro + fit style. 2019-04-19 14:21:39 -04:00
Jérémie Dumas 4959bc5f22 Update predicates.cpp 2019-04-19 14:05:37 -04:00
Qingnan Zhou 6ad790f846 Update predicates and avoid heap allocations. 2019-04-19 13:10:31 -04:00
Qingnan Zhou 832fdc2abb Add doc. 2019-04-18 23:24:20 -04:00
Qingnan Zhou 01a18ac2ed Add unit tests for predicates. 2019-04-18 23:09:18 -04:00
Qingnan Zhou ccfe8b6843 Add support for Shewchuk's predicates. 2019-04-18 22:11:07 -04:00
Jérémie Dumas 86a4a8cb31 Merge pull request #1159 from MeshGeometry/marching_cubes_bug
Fixing bug preventing compilation of sparse marching cubes
2019-04-18 10:51:40 -04:00
Lawson Fulton e2d80105ed Fixing bug preventing compilation in marching cubes 2019-04-17 12:33:42 -04:00
Robert Gützkow c9d0b35b6a Memory leak fixes (#1125)
* Memory leak caused by setting reference NULL instead of deallocating

* Memory leak fix for #1122

* Memory leak fix for #1124

* Memory leak fix for #1123

Instead of deleting, using a unique pointer like the other function that allocates Wraw.

* Memory leak fix for #1121

* Function call fixed

* Use get() Wraw's unique pointer to access pointer for fread()

* Removed unnecessary allocations

* Revert change to boolean array, size is only known at runtime

* Removed callocs for bool arrays, use vector instead

* Init vector with constructor to set default value
2019-04-05 18:31:02 -04:00
amri 60c375f84e exposed heat_geodesics in python binding 2019-04-05 14:19:16 +02:00
Jérémie Dumas 2e04483a46 Merge pull request #1139 from BruegelN/dev
[travis-ci] added build configs to ensure both, static as well as hea…
2019-04-04 21:27:26 -04:00
Alec Jacobson a1fc8f0cb4 Merge pull request #1134 from libigl/fix-include
Fix include
2019-04-04 10:12:03 -04:00
Nico Brügel 1ab05f99e9 [travis-ci] added build configs to ensure both, static as well as header-only mode is build for gcc-7 (ubunutu) and clang(osx). 2019-04-04 15:05:11 +02:00
Jérémie Dumas 2842637d4c Fix #1133. 2019-03-29 18:48:36 -04:00
Alec Jacobson 9230cc8b83 Merge pull request #1132 from libigl/viewer-label-colors
expose label color
2019-03-28 23:35:17 -04:00
Alec Jacobson 9478106d6a fix core issue 2019-03-28 22:03:06 -04:00
Alec Jacobson 289148c069 merge 2019-03-28 20:30:48 -04:00
Alec Jacobson deac455ab9 Merge pull request #1131 from libigl/templates-and-overloads
Templates and overloads
2019-03-28 17:55:58 -04:00
Alec Jacobson c1d4e3a728 fix matlab templates for Eigen 3.3 2019-03-28 11:53:50 -04:00
Alec Jacobson 42cbff3c64 expose label color 2019-03-28 10:40:53 -04:00
Alec Jacobson 16ce83c381 rename test 2019-03-28 10:38:25 -04:00
Alec Jacobson e3cfbc1541 templates, overloads, rm extra includes, etc. 2019-03-28 10:29:25 -04:00
Jérémie Dumas daf7d0707c Merge pull request #978 from jdumas/multiple-views
Multiple viewports
2019-03-22 15:54:33 -04:00
Francis Williams 146a37b892 Merge pull request #1094 from libigl/jdumas-patch-1
Prevent Travis from failing due to #1086
2019-03-20 13:46:13 -04:00
Alec Jacobson 5a51832959 better doc 2019-03-20 12:47:16 -04:00
Jérémie Dumas 4c611d88f9 Merge branch 'dev' into jdumas-patch-1 2019-03-19 18:37:44 -04:00
Francis Williams bb2d2188ef Merge pull request #1039 from jdumas/imgui
Updates ImGui dependency to 1.69
2019-03-19 18:35:01 -04:00
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 412f8c5def Update LibiglDownloadExternal.cmake 2019-03-18 21:48:24 -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