Skip to content

Commit 9fd1b06

Browse files
committed
tol to threshold
1 parent a1f26e9 commit 9fd1b06

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

include/geode/inspector/criterion/internal/component_meshes_degeneration.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ namespace geode
5353

5454
void add_small_height_polygons(
5555
InspectionIssuesMap< index_t >& issues_map,
56-
double tolerance ) const;
56+
double threshold ) const;
5757

5858
void add_degenerated_edges(
5959
InspectionIssuesMap< index_t >& issues_map ) const;

include/geode/inspector/criterion/internal/degeneration_impl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ namespace geode
4848

4949
private:
5050
[[nodiscard]] bool is_edge_smaller_than_threshold(
51-
index_t edge_index, double tolerance ) const;
51+
index_t edge_index, double threshold ) const;
5252

5353
[[nodiscard]] bool edge_is_degenerated( index_t edge_index ) const;
5454

src/geode/inspector/criterion/degeneration/surface_degeneration.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ namespace geode
6464
}
6565

6666
InspectionIssues< index_t > small_height_polygons(
67-
double tolerance ) const
67+
double threshold ) const
6868
{
6969
InspectionIssues< index_t > wrong_polygons{
7070
"Degenerated Polygons."
7171
};
7272
for( const auto polygon_id : Range{ this->mesh().nb_polygons() } )
7373
{
7474
if( this->mesh().polygon_minimum_height( polygon_id )
75-
<= tolerance )
75+
<= threshold )
7676
{
7777
wrong_polygons.add_issue( polygon_id,
7878
absl::StrCat( "Polygon ", polygon_id, " of Surface ",

0 commit comments

Comments
 (0)