DGtal  1.2.0
Public Member Functions
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 2973 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 2974 of file Shortcuts.h.

2975  {
2976  Point kp;
2977  for ( Dimension d = 0; d < KSpace::dimension; ++d )
2978  input >> kp[ d ];
2979  return K.uCell( kp );
2980  }
DGtal::uint32_t Dimension
Definition: Common.h:137
MyPointD Point
Definition: testClone2.cpp:383
KSpace K

References K.


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