MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / add_cells

Function add_cells

tests/mesh/test-rasterize.cpp:162–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void add_cells( absl::flat_hash_set< geode::Grid3D::CellIndices >& set,
163 const geode::RegularGrid3D& grid,
164 const geode::Triangle3D& triangle )
165{
166 for( const auto& cell :
167 geode::conservative_rasterize_triangle( grid, triangle ) )
168 {
169 set.insert( cell );
170 }
171}
172
173void test_limit()
174{

Callers 1

test_limitFunction · 0.70

Calls 2

insertMethod · 0.80

Tested by

no test coverage detected