Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ option(LIBIGL_RESTRICTED_TRIANGLE "Build target igl_restricted::triangle" ON)
FetchContent_Declare(
libigl
GIT_REPOSITORY https://github.com/libigl/libigl.git
GIT_TAG 788871103938ce92112714d11ea491e8e6b4d972
GIT_TAG v2.6.0
)
FetchContent_MakeAvailable(libigl)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ build-backend = "scikit_build_core.build"

[project]
name = "libigl"
version = "2.5.4dev"
version = "2.6.0"
description = "libigl: A simple C++ geometry processing library"
readme = "README.md"
requires-python = ">=3.8"
Expand Down
2 changes: 1 addition & 1 deletion src/internal_angles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void bind_internal_angles(nb::module_ &m)
"F"_a,
R"(Compute internal angles for all tets of a given tet mesh (V,T).
@param[in] V #V by dim eigen Matrix of mesh vertex nD positions
@param[in] T #F by poly-size eigen Matrix of face (triangle) indices
@param[in] F #F by poly-size eigen Matrix of face (triangle) indices
@param[out] K #F by poly-size eigen Matrix of internal angles
for triangles, columns correspond to edges [1,2],[2,0],[0,1])");
}
36 changes: 0 additions & 36 deletions test_sparse.py

This file was deleted.

5 changes: 5 additions & 0 deletions tests/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ def test_boundary_loop():
F = F[1:-1,:]
L_all = igl.boundary_loop_all(F)
L = igl.boundary_loop(F)
UV = igl.map_vertices_to_circle(V,L)

def test_voxel():
V,_,_ = single_tet()
Expand Down Expand Up @@ -538,6 +539,7 @@ def test_misc():
BV,BF = igl.bounding_box(V,pad=1.0)
R,C,B = igl.circumradius(V,F)
R = igl.inradius(V,F)
K = igl.internal_angles(V,F)
_,E,EMAP,_,_ = igl.unique_edge_map(F)
L = igl.crouzeix_raviart_cotmatrix(V,F,E,EMAP)
M = igl.crouzeix_raviart_massmatrix(V,F,E,EMAP)
Expand All @@ -549,5 +551,8 @@ def test_misc():
L = igl.edge_lengths(V,T)
A = igl.face_areas(V,T)
theta, cos_theta = igl.dihedral_angles_intrinsic(L,A)
D = igl.all_pairs_distances(V,V,squared=False)
D = igl.all_pairs_distances(V,V,squared=True)



Loading