Commit Graph
4471 Commits
Author SHA1 Message Date
Michael Tao 9bdb6a4554 made list_to_matrix support empty inputs on matrices with static sizes 2019-10-09 11:17:48 -04:00
Alec Jacobson c645aac0c5 Update adjacency_matrix.h 2019-09-19 16:49:52 -04:00
Alec Jacobson f6b4064274 Merge pull request #1206 from libigl/dev
Version 2.1.0
v2.1.0
2019-06-10 08:57:39 -04:00
Alec Jacobson 16b8ab326c Merge pull request #1205 from rodyo/dev
 Enable OpenMP for MSVC users (#1147)
2019-06-10 08:47:25 -04:00
Alec Jacobson c27e57e85e Merge pull request #1217 from libigl/sort-triangles
Fix templating in sort_triangles
2019-06-10 08:44:58 -04:00
Alec Jacobson 67e99976f1 Merge pull request #1216 from libigl/marching-cubes-redux
Bug fix and feature improvement for marching cubes
2019-06-10 08:43:51 -04:00
Jérémie Dumas 241187bbe3 Merge pull request #1213 from lawsonfulton/origin/dev
Fixing missing symbol error for python
2019-06-08 14:18:55 -04:00
Alec Jacobson 36eb913385 fix brackets 2019-06-07 18:29:52 -04:00
Alec Jacobson de74c292ee merge 2019-06-07 18:20:01 -04:00
Alec Jacobson da7a3eb70b fix templating 2019-06-07 18:14:03 -04:00
Alec Jacobson 33cea64ae8 Better doc 2019-06-07 18:13:08 -04:00
Alec Jacobson bbfc88926e rm lingering test code 2019-06-07 18:09:28 -04:00
Alec Jacobson 19bfe1a203 clean up and add root finding interface 2019-06-07 18:03:23 -04:00
Alec Jacobson 7e0e6a87e0 Update libigl.cmake
fix matlab options
2019-06-07 17:23:46 -04:00
Lawson Fulton ab6bfb7e9f Fixing missing symbol error for python 2019-06-07 13:19:11 -04:00
Rody Oldenhuis b407970ecd Changed size_tstd::ptrdiff_t for OpenMP2.0 compatibility 2019-05-31 14:00:28 +12:00
Alec Jacobson e33f534ffd Merge pull request #1138 from libigl/jdumas-patch-1
Update issue_template.md
2019-05-08 11:33:11 -05:00
Jérémie Dumas 10e04cbef5 Update GLFW to 3.3 (#1153)
* Update GLFW and Embree + use git urls (fixes #1019).

* Simplify Embree build.

* More robust top-level project detection.
2019-05-07 07:48:25 -04:00
Jérémie Dumas aea868bd1f Merge pull request #1172 from jdumas/tmp/viewer-fixes
Viewer const accessors + use viewport size (fixes #1166, fixes #1167).
2019-05-03 14:56:10 -04:00
Jérémie Dumas 8d89982555 Update issue_template.md 2019-04-28 13:02:29 -04:00
Lawson Fulton 450935874f Extending igl::cat to work with std::vectors AND Allowing N-gons in writeOBJ (#1108)
* templates

* Extending igl::cat to work with a std::vector of matrices

* Small fix

* Fixing std::vector version of adjacency_list

* Change MatrixBase -> PlainObjectBase to fix compile error in boundary_loop

* Fixing function definition for adjacency_list

* Added test for cat

* Extending writeOBJ to work with mixed tri/quad meshes

* Code review feedback

* Writing lines instead of faces

* Adding template for test compile

* Fixing brace style and switching to trigraph

* Fixing braces

* another brace

* PlainObjectBase -> MatrixBase

* Sneaking in a few more template instantiations

* PlainObjectBase for outputs

* adding template to fix appveyor windows link error
2019-04-27 09:03:47 -04:00
X.ZhaoMa fbcb933c5b fix issue for octree. (#1171)
For translating centre, the distance should be the half of width of the sub cell instead of the width h.
2019-04-27 09:01:25 -04:00
Qingnan Zhou e38ee99766 Fix https://github.com/libigl/libigl/issues/1168 (#1173)
* Replicate linking error described in https://github.com/libigl/libigl/issues/1168

* Fix https://github.com/libigl/libigl/issues/1168.

* Ensure header-only mode works.

* Disambiguate exactinit call in unit test.
2019-04-22 22:24:03 -04:00
Jérémie Dumas b15bafaed2 Viewer const accessors + use viewport size (fixes #1166, fixes #1167). 2019-04-21 09:50:47 -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
Jérémie Dumas 21b9ce5eff Update issue_template.md 2019-04-15 10:27:09 -04:00
Alec Jacobson 43e043e0b6 fix *bug* when isovalue != 0 2019-04-11 23:01:19 -04:00
Alec Jacobson 72bad999b0 factor out duplicate code 2019-04-11 21:47:05 -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 1d02b140d2 Update issue_template.md 2019-04-03 18:02:01 -04:00
Jérémie Dumas 3b84f100b5 Update issue_template.md 2019-04-03 17:26:40 -04: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