| 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 ) |