DGtal 2.1.0
Loading...
Searching...
No Matches
DGtal::Shortcuts< TKSpace >::CellReader Struct Reference

#include <DGtal/helpers/Shortcuts.h>

Public Member Functions

Cell operator() (std::istream &input, const KSpace &K)
 

Detailed Description

template<typename TKSpace>
struct DGtal::Shortcuts< TKSpace >::CellReader

Definition at line 3365 of file Shortcuts.h.

Member Function Documentation

◆ operator()()

template<typename TKSpace >
Cell DGtal::Shortcuts< TKSpace >::CellReader::operator() ( std::istream &  input,
const KSpace K 
)
inline

Definition at line 3366 of file Shortcuts.h.

3367 {
3368 Point kp;
3369 for ( Dimension d = 0; d < KSpace::dimension; ++d )
3370 input >> kp[ d ];
3371 return K.uCell( kp );
3372 }
static const constexpr Dimension dimension
DGtal::uint32_t Dimension
Definition Common.h:119
KSpace K

References DGtal::KhalimskySpaceND< dim, TInteger >::dimension, and K.


The documentation for this struct was generated from the following file: