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

#include <DGtal/helpers/Shortcuts.h>

Public Member Functions

void operator() (std::ostream &output, const KSpace &K, const Cell &cell)
 

Detailed Description

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

Definition at line 3015 of file Shortcuts.h.

Member Function Documentation

◆ operator()()

template<typename TKSpace >
void DGtal::Shortcuts< TKSpace >::CellWriter::operator() ( std::ostream &  output,
const KSpace K,
const Cell cell 
)
inline

Definition at line 3016 of file Shortcuts.h.

3017  {
3018  for ( Dimension d = 0; d < KSpace::dimension; ++d )
3019  output << " " << K.sKCoord( cell, d );
3020  }

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

Referenced by DGtal::Shortcuts< TKSpace >::SCellWriter::operator()().


The documentation for this struct was generated from the following file:
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
DGtal::KhalimskySpaceND::sKCoord
Integer sKCoord(const SCell &c, Dimension k) const
Return its Khalimsky coordinate along [k].