DGtal  1.3.beta
Public Member Functions
DGtal::Shortcuts< TKSpace >::SCellReader Struct Reference

#include <DGtal/helpers/Shortcuts.h>

Public Member Functions

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

Detailed Description

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

Definition at line 3038 of file Shortcuts.h.

Member Function Documentation

◆ operator()()

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

Definition at line 3039 of file Shortcuts.h.

3040  {
3041  Point kp;
3042  typename KSpace::Sign s;
3043  for ( Dimension d = 0; d < KSpace::dimension; ++d )
3044  input >> kp[ d ];
3045  input >> s;
3046  return K.sCell( kp, s );
3047  }

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


The documentation for this struct was generated from the following file:
DGtal::KhalimskySpaceND::sCell
SCell sCell(const SPreCell &c) const
From a signed cell, returns a signed cell lying into this Khalismky space.
K
KSpace K
Definition: testCubicalComplex.cpp:62
DGtal::Dimension
DGtal::uint32_t Dimension
Definition: Common.h:137
DGtal::KhalimskySpaceND::dimension
static const constexpr Dimension dimension
Definition: KhalimskySpaceND.h:430
Point
MyPointD Point
Definition: testClone2.cpp:383
DGtal::KhalimskySpaceND::Sign
bool Sign
Definition: KhalimskySpaceND.h:421