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

#include <DGtal/helpers/Shortcuts.h>

Public Member Functions

void operator() (std::ostream &output, const KSpace &K, const SCell &scell)

Detailed Description

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

Definition at line 3031 of file Shortcuts.h.

Member Function Documentation

◆ operator()()

template<typename TKSpace >
void DGtal::Shortcuts< TKSpace >::SCellWriter::operator() ( std::ostream &  output,
const KSpace K,
const SCell scell 

Definition at line 3032 of file Shortcuts.h.

3033  {
3034  CellWriter::operator()( output, K, K.unsigns( scell ) );
3035  output << " " << K.sSign( scell );
3036  }

References K, DGtal::Shortcuts< TKSpace >::CellWriter::operator()(), DGtal::KhalimskySpaceND< dim, TInteger >::sSign(), and DGtal::KhalimskySpaceND< dim, TInteger >::unsigns().

The documentation for this struct was generated from the following file:
KSpace K
Definition: testCubicalComplex.cpp:62
Sign sSign(const SCell &c) const
Return its sign.
void operator()(std::ostream &output, const KSpace &K, const Cell &cell)
Definition: Shortcuts.h:3016
Cell unsigns(const SCell &p) const
Creates an unsigned cell from a signed one.