DGtal  1.0.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 2671 of file Shortcuts.h.

Member Function Documentation

◆ operator()()

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

Definition at line 2672 of file Shortcuts.h.

2673  {
2674  Point kp;
2675  typename KSpace::Sign s;
2676  for ( Dimension d = 0; d < KSpace::dimension; ++d )
2677  input >> kp[ d ];
2678  input >> s;
2679  return K.sCell( kp, s );
2680  }
DGtal::uint32_t Dimension
Definition: Common.h:127
MyPointD Point
Definition: testClone2.cpp:383
KSpace K
static const constexpr Dimension dimension
SCell sCell(const SPreCell &c) const
From a signed cell, returns a signed cell lying into this Khalismky space.

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

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