Documentation, tutorial, and instructions at https://libigl.github.io.
๐ Doxygen Documentation |
---|
The latest version of libigl (v2.5.0) introduces doxygen generated detailed documentation |
Unit tests for libigl
License: Mozilla Public License 2.0
Documentation, tutorial, and instructions at https://libigl.github.io.
๐ Doxygen Documentation |
---|
The latest version of libigl (v2.5.0) introduces doxygen generated detailed documentation |
@qnzhou maybe you could take a look?
I would like to use libigl but get memory errors ("^tetrahedralize: TETGEN CRASHED... KABOOOM!!!
malloc_consolidate(): invalid chunk size").
For debugging I try to run the unit tests but they stop with a failed assertion:
$ GTEST_COLOR=1 ctest --verbose
[...]
1: [ RUN ] all_meshes/upsample.V_comes_first_F_ordering/truck_obj
1: igl_tests: /mnt/ascadian/geomtools/libigl-unit-tests/libigl/external/eigen/Eigen/src/Core/DenseCoeffsBase.h:337: Eigen::DenseCoeffsBase<Derived, 1>::Scalar& Eigen::DenseCoeffsBase<Derived, 1>::operator()(Eigen::DenseCoeffsBase<Derived, 1>::Index, Eigen::DenseCoeffsBase<Derived, 1>::Index) [with Derived = Eigen::Matrix<int, -1, -1>; Eigen::DenseCoeffsBase<Derived, 1>::Scalar = int; Eigen::DenseCoeffsBase<Derived, 1>::Index = long int]: Assertion `row >= 0 && row < rows() && col >= 0 && col < cols()' failed.
1/1 Test #1: run_igl_tests ....................***Exception: Other 17.16 sec0% tests passed, 1 tests failed out of 1
Total Test time (real) = 17.17 sec
The following tests FAILED:
1 - run_igl_tests (OTHER_FAULT)
Errors while running CTest
I tried to run them on Arch Linux with different compilers and Ubuntu 17.10 with gcc 7.2.
Do you have any idea what could cause the problem or how to debug it better?
Just to make a note here, I noticed igl::point_simplex_squared_distance(...)
uses Eigen::MatrixBase<Derived>
for some of its output arguments, which is causing qslim unit test to fail because Eigen::MatrixBase<Derived>::resize(...)
is actually just an assertion check, and the actual resizing is implemented in Eigen::PlainObjectBase<Derived>::resize()
.
My eigen is 3.2.9 from macport.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.