Skip to content

Commit 462b045

Browse files
MSS review
1 parent 94337b4 commit 462b045

File tree

11 files changed

+23
-24
lines changed

11 files changed

+23
-24
lines changed

include/geode/inspector/criterion/colocation/component_meshes_colocation.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ namespace geode
4141
struct opengeode_inspector_inspector_api MeshesColocationInspectionResult
4242
{
4343
InspectionIssuesMap< std::vector< index_t > > colocated_points_groups{
44-
"colocated point"
44+
"colocated points"
4545
};
4646

4747
[[nodiscard]] index_t nb_issues() const;

include/geode/inspector/criterion/colocation/unique_vertices_colocation.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ namespace geode
3939
struct opengeode_inspector_inspector_api UniqueVerticesInspectionResult
4040
{
4141
InspectionIssues< std::vector< index_t > >
42-
colocated_unique_vertices_groups{ "colocated unique vertex" };
42+
colocated_unique_vertices_groups{ "colocated unique vertices" };
4343
InspectionIssues< index_t > unique_vertices_linked_to_different_points{
44-
"unique vertex refering multiple position"
44+
"unique vertex refering multiple positions"
4545
};
4646

4747
[[nodiscard]] index_t nb_issues() const;

include/geode/inspector/criterion/degeneration/brep_meshes_degeneration.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ namespace geode
4141
struct
4242
opengeode_inspector_inspector_api BRepMeshesDegenerationInspectionResult
4343
{
44-
InspectionIssuesMap< index_t > degenerated_edges{ "degenerated edge" };
44+
InspectionIssuesMap< index_t > degenerated_edges{ "degenerated edges" };
4545
InspectionIssuesMap< index_t > degenerated_polygons{
46-
"degenerated polygon"
46+
"degenerated polygons"
4747
};
4848
InspectionIssuesMap< index_t > degenerated_polyhedra{
49-
"degenerated polyhedron"
49+
"degenerated polyhedra"
5050
};
5151

5252
[[nodiscard]] index_t nb_issues() const;

include/geode/inspector/criterion/manifold/brep_meshes_manifold.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ namespace geode
5858
struct opengeode_inspector_inspector_api BRepMeshesManifoldInspectionResult
5959
{
6060
InspectionIssuesMap< index_t > meshes_non_manifold_vertices{
61-
"non manifold mesh vertex"
61+
"non manifold mesh vertices"
6262
};
6363

6464
InspectionIssuesMap< std::array< index_t, 2 > >

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ namespace geode
5454
InspectionIssues< index_t > small_edges( double threshold ) const
5555
{
5656
InspectionIssues< index_t > degenerated_edges_index{
57-
"Degenerated Edges."
57+
"degenerated Edges."
5858
};
5959
for( const auto edge_id : Range{ mesh_.nb_edges() } )
6060
{

src/geode/inspector/criterion/internal/degeneration_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ namespace geode
7272
{
7373
enable_edges_on_mesh();
7474
InspectionIssues< index_t > degenerated_edges_index{
75-
"Degenerated edges"
75+
"degenerated edges"
7676
};
7777
for( const auto edge_index : Range{ mesh_.edges().nb_edges() } )
7878
{

src/geode/inspector/criterion/intersections/model_intersections.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ namespace geode
521521
const auto& surface2 =
522522
model_.surface( polygon_pair.second.component_id.id() );
523523
intersection_issues.add_issue( polygon_pair,
524-
absl::StrCat( surface1.name(), " (",
524+
absl::StrCat( "Surfaces ", surface1.name(), " (",
525525
polygon_pair.first.component_id.id().string(), ") and ",
526526
surface2.name(), " (",
527527
polygon_pair.second.component_id.id().string(),
@@ -544,7 +544,7 @@ namespace geode
544544
intersection_issues.add_issue( polygon_pair,
545545
absl::StrCat( "Surface ", surface.name(), " (",
546546
polygon_pair.first.component_id.id().string(),
547-
") have a self intersection on polygons ",
547+
") has a self intersection on polygons ",
548548
polygon_pair.first.element_id, "and ",
549549
polygon_pair.second.element_id ) );
550550
}

src/geode/inspector/criterion/manifold/solid_edge_manifold.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ namespace
6868
{
6969
const Edge polyhedron_edge{ polyhedron_edge_vertices };
7070
if( !polyhedra_around_edges
71-
.try_emplace( polyhedron_edge, 1, polyhedron_id )
72-
.second )
71+
.try_emplace( polyhedron_edge, 1, polyhedron_id )
72+
.second )
7373
{
7474
polyhedra_around_edges[polyhedron_edge].push_back(
7575
polyhedron_id );
@@ -145,9 +145,9 @@ namespace geode
145145
{
146146
non_manifold_edges.add_issue(
147147
polyhedron_edge_vertices,
148-
absl::StrCat( "Non manifold edge between "
149-
"vertices with index ",
150-
polyhedron_edge_vertices[0], " and index ",
148+
absl::StrCat(
149+
"Non manifold edge between vertices ",
150+
polyhedron_edge_vertices[0], " and ",
151151
polyhedron_edge_vertices[1] ) );
152152
}
153153
}

src/geode/inspector/criterion/manifold/solid_vertex_manifold.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@ namespace geode
110110
mesh_.polyhedra_around_vertex( vertex_id ) ) )
111111
{
112112
non_manifold_vertices.add_issue( vertex_id,
113-
absl::StrCat( "vertex with index ", vertex_id,
114-
", at position [",
113+
absl::StrCat( "vertex ", vertex_id, ", at position [",
115114
mesh_.point( vertex_id ).string(), "]" ) );
116115
}
117116
}

src/geode/inspector/criterion/manifold/surface_edge_manifold.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ namespace
5151
{ polygon_id, polygon_edge_id } )
5252
};
5353
if( !polygons_around_edges
54-
.try_emplace( polygon_edge_vertex_cycle,
55-
std::make_pair( 1, false ) )
56-
.second )
54+
.try_emplace( polygon_edge_vertex_cycle,
55+
std::make_pair( 1, false ) )
56+
.second )
5757
{
5858
polygons_around_edges[polygon_edge_vertex_cycle].first += 1;
5959
}
@@ -106,8 +106,8 @@ namespace geode
106106
if( on_border && nb_incident_polygons != 1 )
107107
{
108108
non_manifold_edges.add_issue( edge.first.vertices(),
109-
absl::StrCat( "edge between vertices with index ",
110-
edge.first.vertices()[0], " and index ",
109+
absl::StrCat( "edge between vertices ",
110+
edge.first.vertices()[0], " and ",
111111
edge.first.vertices()[1],
112112
" is not manifold (detected as on border)." ) );
113113
}

0 commit comments

Comments
 (0)