DGtal  1.2.0
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 2989 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 2990 of file Shortcuts.h.

2991  {
2992  Point kp;
2993  typename KSpace::Sign s;
2994  for ( Dimension d = 0; d < KSpace::dimension; ++d )
2995  input >> kp[ d ];
2996  input >> s;
2997  return K.sCell( kp, s );
2998  }
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: