Skip to content

Commit 52a4b08

Browse files
committed
fix(PolyhedronFacetVertices): Set InlinedVector size to 3.
1 parent 1e33139 commit 52a4b08

File tree

3 files changed

+9
-16
lines changed

3 files changed

+9
-16
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@
2424
#pragma once
2525

2626
#include <absl/container/flat_hash_map.h>
27-
#include <absl/container/inlined_vector.h>
2827

2928
#include <geode/basic/pimpl.h>
3029

30+
#include <geode/mesh/core/solid_mesh.h>
31+
3132
#include <geode/inspector/common.h>
3233

3334
namespace geode
@@ -70,8 +71,7 @@ namespace geode
7071
absl::flat_hash_map< uuid, std::vector< std::array< index_t, 2 > > >
7172
component_meshes_non_manifold_edges() const;
7273

73-
absl::flat_hash_map< uuid,
74-
std::vector< absl::InlinedVector< index_t, 4 > > >
74+
absl::flat_hash_map< uuid, std::vector< PolyhedronFacetVertices > >
7575
component_meshes_non_manifold_facets() const;
7676

7777
private:

include/geode/inspector/criterion/manifold/solid_facet_manifold.h

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,9 @@
2727

2828
#include <geode/basic/pimpl.h>
2929

30-
#include <geode/inspector/common.h>
30+
#include <geode/mesh/core/solid_mesh.h>
3131

32-
namespace geode
33-
{
34-
FORWARD_DECLARATION_DIMENSION_CLASS( SolidMesh );
35-
} // namespace geode
32+
#include <geode/inspector/common.h>
3633

3734
namespace geode
3835
{
@@ -57,8 +54,7 @@ namespace geode
5754

5855
index_t nb_non_manifold_facets() const;
5956

60-
std::vector< absl::InlinedVector< index_t, 4 > >
61-
non_manifold_facets() const;
57+
std::vector< PolyhedronFacetVertices > non_manifold_facets() const;
6258

6359
private:
6460
IMPLEMENTATION_MEMBER( impl_ );

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,10 @@ namespace geode
175175
return components_non_manifold_edges;
176176
}
177177

178-
absl::flat_hash_map< uuid,
179-
std::vector< absl::InlinedVector< index_t, 4 > > >
178+
absl::flat_hash_map< uuid, std::vector< PolyhedronFacetVertices > >
180179
component_meshes_non_manifold_facets() const
181180
{
182-
absl::flat_hash_map< uuid,
183-
std::vector< absl::InlinedVector< index_t, 4 > > >
181+
absl::flat_hash_map< uuid, std::vector< PolyhedronFacetVertices > >
184182
components_non_manifold_facets;
185183
for( const auto& block : model().blocks() )
186184
{
@@ -251,8 +249,7 @@ namespace geode
251249
return impl_->component_meshes_non_manifold_edges();
252250
}
253251

254-
absl::flat_hash_map< uuid,
255-
std::vector< absl::InlinedVector< index_t, 4 > > >
252+
absl::flat_hash_map< uuid, std::vector< PolyhedronFacetVertices > >
256253
BRepComponentMeshesManifold::component_meshes_non_manifold_facets()
257254
const
258255
{

0 commit comments

Comments
 (0)