|
PolyFEM
|
Contiguous view of one row of a JaggedArray (like std::span). More...
#include <Mesh3DStorage.hpp>
Public Member Functions | |
| ArrayRow (T *begin, T *end) | |
| T * | begin () const |
| T * | end () const |
| size_t | size () const |
| bool | empty () const |
| T & | operator[] (const size_t i) const |
| T & | front () const |
| T & | back () const |
| std::vector< std::remove_const_t< T > > | to_vector () const |
| Copy of the row. | |
Private Attributes | |
| T * | begin_ |
| T * | end_ |
Contiguous view of one row of a JaggedArray (like std::span).
Definition at line 21 of file Mesh3DStorage.hpp.
|
inline |
Definition at line 24 of file Mesh3DStorage.hpp.
|
inline |
Definition at line 36 of file Mesh3DStorage.hpp.
References polyfem::mesh::ArrayRow< T >::end_.
|
inline |
Definition at line 26 of file Mesh3DStorage.hpp.
References polyfem::mesh::ArrayRow< T >::begin_.
|
inline |
Definition at line 29 of file Mesh3DStorage.hpp.
References polyfem::mesh::ArrayRow< T >::begin_, and polyfem::mesh::ArrayRow< T >::end_.
|
inline |
Definition at line 27 of file Mesh3DStorage.hpp.
References polyfem::mesh::ArrayRow< T >::end_.
|
inline |
Definition at line 35 of file Mesh3DStorage.hpp.
References polyfem::mesh::ArrayRow< T >::begin_.
|
inline |
Definition at line 30 of file Mesh3DStorage.hpp.
References polyfem::mesh::ArrayRow< T >::begin_, and polyfem::mesh::ArrayRow< T >::size().
|
inline |
Definition at line 28 of file Mesh3DStorage.hpp.
References polyfem::mesh::ArrayRow< T >::begin_, and polyfem::mesh::ArrayRow< T >::end_.
Referenced by polyfem::mesh::ArrayRow< T >::operator[]().
|
inline |
Copy of the row.
Definition at line 39 of file Mesh3DStorage.hpp.
References polyfem::mesh::ArrayRow< T >::begin_, and polyfem::mesh::ArrayRow< T >::end_.
|
private |
Definition at line 42 of file Mesh3DStorage.hpp.
Referenced by polyfem::mesh::ArrayRow< T >::begin(), polyfem::mesh::ArrayRow< T >::empty(), polyfem::mesh::ArrayRow< T >::front(), polyfem::mesh::ArrayRow< T >::operator[](), polyfem::mesh::ArrayRow< T >::size(), and polyfem::mesh::ArrayRow< T >::to_vector().
|
private |
Definition at line 43 of file Mesh3DStorage.hpp.
Referenced by polyfem::mesh::ArrayRow< T >::back(), polyfem::mesh::ArrayRow< T >::empty(), polyfem::mesh::ArrayRow< T >::end(), polyfem::mesh::ArrayRow< T >::size(), and polyfem::mesh::ArrayRow< T >::to_vector().