Wildmeshing Toolkit
Loading...
Searching...
No Matches
AttributeCacheData.hxx
Go to the documentation of this file.
1#pragma once
5template <typename T>
6template <int D>
8{
9 return typename VectorD<D>::MapType(data.data(), data.size());
10}
11template <typename T>
12template <int D>
13inline auto AttributeCacheData<T>::data_as_const_map() const -> typename VectorD<D>::ConstMapType
14{
15 return typename VectorD<D>::ConstMapType(data.data(), data.size());
16}
17
18} // namespace wmtk::attribute
typename internal::VectorResult< T, D > VectorD
VectorD< D >::ConstMapType data_as_const_map() const