-
Notifications
You must be signed in to change notification settings - Fork 1
fix(ErrorMessage): add component name in log message #158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: next
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments about forms and homogeneity of messages. I leave @MelchiorSchuh giving its opinion on changes
src/geode/inspector/criterion/adjacency/brep_meshes_adjacency.cpp
Outdated
Show resolved
Hide resolved
src/geode/inspector/criterion/adjacency/brep_meshes_adjacency.cpp
Outdated
Show resolved
Hide resolved
src/geode/inspector/criterion/colocation/component_meshes_colocation.cpp
Outdated
Show resolved
Hide resolved
src/geode/inspector/criterion/internal/component_meshes_degeneration.cpp
Outdated
Show resolved
Hide resolved
| absl::StrCat( "Polygons ", polygon_pair.first.element_id, | ||
| " of surface ", | ||
| absl::StrCat( surface1.name(), " and ", surface2.name(), | ||
| " intersect each other on polygons ", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
respective?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pas sure de comprendre
| { | ||
| InspectionIssues< index_t > wrong_polyhedra{ | ||
| "Negative Polyhedra." | ||
| "Negative Volume Polyhedra" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why "volume" (capital letter?) is added here and not on line 47 of file src/geode/inspector/criterion/negative_elements/brep_meshes_negative_elements.cpp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
je penssais qu on ne testeatait pas que le volume sur la brep si?
| { | ||
| InspectionIssues< index_t > wrong_polygons{ "Negative Polygons." }; | ||
| InspectionIssues< index_t > wrong_polygons{ | ||
| "Negative Area Polygons" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General comments:
- I prefer uuids of components given directly after name rather than at line end
- each line should be informative on its own, if there are 200 lines of polygon adjacency issues, having to go up the stack to know what the issue is about is a problem
- Fix a convention for upper cases at the beginning of issue strings and apply it everywhere. I would upper-case Corner, Line, Surface, Block and lower case the rest.
| { | ||
| InspectionIssues< PolygonEdge > polygon_edges_with_wrong_adjacency{ | ||
| "Adjacencies between polygon edges not tested" | ||
| "Adjacencies between polygon and edges not tested" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert change, the test is on polygon edges (PolygonEdge)
No description provided.