| 595 | |
| 596 | template<typename GridType, typename std::enable_if_t<!std::is_scalar<typename GridType::ValueType>::value>* = nullptr> |
| 597 | inline std::tuple<nb::ndarray<nb::numpy, float>, nb::ndarray<nb::numpy, Index32>, nb::ndarray<nb::numpy, Index32> > |
| 598 | volumeToMesh(const GridType&, double, double) |
| 599 | { |
| 600 | OPENVDB_THROW(TypeError, "volume to mesh conversion is supported only for scalar grids"); |
| 601 | } |
| 602 | |
| 603 | template<typename GridType, typename std::enable_if_t<std::is_scalar<typename GridType::ValueType>::value>* = nullptr> |
| 604 | inline std::tuple<nb::ndarray<nb::numpy, float>, nb::ndarray<nb::numpy, Index32>, nb::ndarray<nb::numpy, Index32> > |