Skip to content

Commit 8e7974c

Browse files
committed
wip
1 parent 74c13d2 commit 8e7974c

File tree

6 files changed

+321
-417
lines changed

6 files changed

+321
-417
lines changed

include/geode/inspector/topology/brep_blocks_topology.hpp

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ namespace geode
4545
{
4646
struct opengeode_inspector_inspector_api BRepBlocksTopologyInspectionResult
4747
{
48-
InspectionIssues< uuid > blocks_not_meshed{
48+
InspectionIssues< uuid > some_blocks_not_meshed{
4949
"uuids of Blocks without mesh."
5050
};
5151
InspectionIssues< uuid > wrong_block_boundary_surface{
@@ -64,6 +64,37 @@ namespace geode
6464
"Indices of unique vertices part of a Block but with incorrect "
6565
"ComponentMeshVertices count"
6666
};
67+
InspectionIssues< index_t >
68+
unique_vertices_linked_to_a_single_and_invalid_line{
69+
"Indices of unique vertices linked to only one Line and this "
70+
"single Line is invalid."
71+
};
72+
InspectionIssues< index_t >
73+
unique_vertices_linked_to_not_internal_nor_boundary_line{
74+
"Indices of unique vertices linked to a Line without boundary "
75+
"nor internal status."
76+
};
77+
InspectionIssues< index_t >
78+
unique_vertices_linked_to_surface_with_wrong_relationship_with_blocks{
79+
"Indices of unique vertices linked to Surface without boundary "
80+
"nor internal status."
81+
};
82+
InspectionIssues< index_t >
83+
unique_vertices_linked_to_a_single_and_invalid_surface{
84+
"Indices of unique vertices linked to only one Surface and "
85+
"this single surface is invalid."
86+
};
87+
InspectionIssues< uuid > blocks_with_not_closed_boundary_surfaces{
88+
"uuids of blocks with not closed boundary surfaces."
89+
};
90+
InspectionIssues< index_t > model_boundaries_dont_form_a_closed_surface{
91+
" Model boundaries don't form a closed surface."
92+
};
93+
InspectionIssues< index_t >
94+
unique_vertex_linked_to_multiple_invalid_surfaces{
95+
"Indices of unique vertices linked to several Surfaces in an "
96+
"invalid way."
97+
};
6798

6899
[[nodiscard]] index_t nb_issues() const;
69100

@@ -97,6 +128,28 @@ namespace geode
97128
unique_vertex_block_cmvs_count_is_incorrect(
98129
index_t unique_vertex_index ) const;
99130

131+
[[nodiscard]] std::optional< std::string >
132+
vertex_is_part_of_invalid_single_line(
133+
index_t unique_vertex_index ) const;
134+
135+
[[nodiscard]] std::optional< std::string >
136+
vertex_is_part_of_line_with_wrong_relationships_to_surface(
137+
index_t unique_vertex_index ) const;
138+
139+
[[nodiscard]] std::optional< std::string >
140+
vertex_is_part_of_surface_with_wrong_relationships_to_block(
141+
index_t unique_vertex_index,
142+
absl::Span< const uuid > not_boundaries_surfaces ) const;
143+
144+
[[nodiscard]] std::optional< std::string >
145+
vertex_is_part_of_invalid_single_surface(
146+
index_t unique_vertex_index,
147+
absl::Span< const uuid > not_boundaries_surfaces ) const;
148+
149+
[[nodiscard]] std::optional< std::string >
150+
vertex_is_part_of_invalid_multiple_surfaces(
151+
index_t unique_vertex_index ) const;
152+
100153
[[nodiscard]] BRepBlocksTopologyInspectionResult inspect_blocks() const;
101154

102155
private:

include/geode/inspector/topology/brep_corners_topology.hpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@ namespace geode
5151
InspectionIssues< index_t > unique_vertices_linked_to_multiple_corners{
5252
"Indices of unique vertices that are part of several Corners."
5353
};
54-
InspectionIssues< index_t >
55-
unique_vertices_linked_to_multiple_internals_corner{
56-
"Indices of unique vertices linked to a Corner with several "
57-
"embeddings"
58-
};
5954
InspectionIssues< index_t >
6055
unique_vertices_linked_to_not_internal_nor_boundary_corner{
6156
"Indices of unique vertices linked to a Corner without "
@@ -99,9 +94,6 @@ namespace geode
9994
unique_vertex_has_multiple_corners(
10095
index_t unique_vertex_index ) const;
10196

102-
[[nodiscard]] std::optional< std::string >
103-
corner_has_multiple_embeddings( index_t unique_vertex_index ) const;
104-
10597
[[nodiscard]] std::optional< std::string >
10698
corner_is_not_internal_nor_boundary(
10799
index_t unique_vertex_index ) const;

0 commit comments

Comments
 (0)