DGtal  1.3.beta
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 3022 of file Shortcuts.h.

Member Function Documentation

◆ operator()()

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

Definition at line 3023 of file Shortcuts.h.

3024  {
3025  Point kp;
3026  for ( Dimension d = 0; d < KSpace::dimension; ++d )
3027  input >> kp[ d ];
3028  return K.uCell( kp );
3029  }

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

The documentation for this struct was generated from the following file:
Cell uCell(const PreCell &c) const
From an unsigned cell, returns an unsigned cell lying into this Khalismky space.
KSpace K
Definition: testCubicalComplex.cpp:62
DGtal::uint32_t Dimension
Definition: Common.h:137
static const constexpr Dimension dimension
Definition: KhalimskySpaceND.h:430
MyPointD Point
Definition: testClone2.cpp:383