Namespace that provides various utility functions. More...
Functions | |
| template<class T > | |
| bool | empty (const array3< T > &array) |
| Get if a grid is empty. More... | |
| template<class T > | |
| bool | has_different_values (const array3< T > &array) |
| Get if a grid constain different values. More... | |
| template<class T > | |
| bool | has_value_not (const array3< T > &array, const T &v) |
| Get if a grid constain a value that is different from an input value. More... | |
| template<class T > | |
| bool | value_exist (const array3< T > &array) |
| Get if a grid constain a value that is different from the background value. More... | |
| template<class T > | |
| bool | levelset_exist (const array3< T > &levelset) |
| Get if a level set grid constain both negative and positive values. More... | |
Namespace that provides various utility functions.
| bool array_utility3::empty | ( | const array3< T > & | array | ) |
Get if a grid is empty.
| [in] | array | Array to examine. |
false otherwise. | bool array_utility3::has_different_values | ( | const array3< T > & | array | ) |
Get if a grid constain different values.
| [in] | array | Array to examine. |
false otherwise. | bool array_utility3::has_value_not | ( | const array3< T > & | array, |
| const T & | v | ||
| ) |
Get if a grid constain a value that is different from an input value.
| [in] | array | Array to examine. |
| [in] | v | Input value. |
false otherwise. | bool array_utility3::levelset_exist | ( | const array3< T > & | levelset | ) |
Get if a level set grid constain both negative and positive values.
| [in] | array | Level set grid to examine. |
false otherwise. | bool array_utility3::value_exist | ( | const array3< T > & | array | ) |
Get if a grid constain a value that is different from the background value.
| [in] | array | Array to examine. |
false otherwise.