* Get the N-dimensional rectangle associated with the current domain object, * error if the current domain is empty or a different representation is set. * * @return The N-dimensional rectangle of the current domain */
| 138 | * @return The N-dimensional rectangle of the current domain |
| 139 | */ |
| 140 | NDRectangle ndrectangle() const { |
| 141 | tiledb_ndrectangle_t* nd; |
| 142 | auto& ctx = ctx_.get(); |
| 143 | ctx.handle_error(tiledb_current_domain_get_ndrectangle( |
| 144 | ctx.ptr().get(), current_domain_.get(), &nd)); |
| 145 | return NDRectangle(ctx, nd); |
| 146 | } |
| 147 | |
| 148 | /** |
| 149 | * Check if the current_domain is empty |
nothing calls this directly
no test coverage detected