DGtal 2.0.0
Loading...
Searching...
No Matches
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 3358 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 3359 of file Shortcuts.h.

3360 {
3361 for ( Dimension d = 0; d < KSpace::dimension; ++d )
3362 output << " " << K.sKCoord( cell, d );
3363 }
Aim: This class is used to simplify shape and surface creation. With it, you can create new shapes an...
Definition Shortcuts.h:102

References DGtal::KhalimskySpaceND< 3, Integer >::dimension, and K.

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


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