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

Method delete_elements

src/geode/basic/attribute_manager.cpp:490–501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488 }
489
490 void AttributeManager::delete_elements(
491 const std::vector< bool > &to_delete )
492 {
493 if( absl::c_find( to_delete, true ) != to_delete.end() )
494 {
495 OpenGeodeBasicException::check_assertion(
496 to_delete.size() == nb_elements(),
497 "[AttributeManager::delete_elements] Vector to_delete should "
498 "have the same size as the number of elements" );
499 impl_->delete_elements( to_delete, {} );
500 }
501 }
502
503 void AttributeManager::permute_elements(
504 absl::Span< const index_t > permutation )

Callers 7

delete_edgesMethod · 0.45
delete_polyhedraMethod · 0.45
delete_polygonsMethod · 0.45
delete_verticesMethod · 0.45
delete_elementsMethod · 0.45

Calls 2

endMethod · 0.45
sizeMethod · 0.45

Tested by 2