-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix boundary_tri_index As far as I can tell this was actually broken because it didn't properly account for repeated but "swapped" edges meaning that all edges were counted as unique. From manual testing it appears to be that now this is actually correct. It also meant changing the ordering of the returned edges to make iterating easier. * Fix trimesh unit tests due to edge reordering The ground truth values are permuted based on the change in ordering. Also use np.testing.assert_allclose * Add test for boundary_tri_index() Shows that this method works as expected
- Loading branch information
1 parent
df4ef6f
commit 130e24d
Showing
3 changed files
with
122 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters