Wildmeshing Toolkit
Loading...
Searching...
No Matches
grid_utils.hpp
Go to the documentation of this file.
1#pragma once
2#include <array>
3#include <cstdint>
4
6
7
8int64_t grid_index(const std::array<int64_t, 3>& dimensions, const std::array<int64_t, 3>& i);
9int64_t grid_index(const std::array<int64_t, 2>& dimensions, const std::array<int64_t, 2>& i);
10} // namespace wmtk::components::procedural
int64_t grid_index(const std::array< int64_t, 3 > &d, const std::array< int64_t, 3 > &i)