DGtal  1.0.0
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 2648 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 

Definition at line 2649 of file Shortcuts.h.

2650  {
2651  for ( Dimension d = 0; d < KSpace::dimension; ++d )
2652  output << " " << K.sKCoord( cell, d );
2653  }
Integer sKCoord(const SCell &c, Dimension k) const
Return its Khalimsky coordinate along [k].
DGtal::uint32_t Dimension
Definition: Common.h:127
KSpace K
static const constexpr Dimension dimension

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

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