Loading [MathJax]/extensions/MathMenu.js
DGtal 2.0.0
DGtal::Shortcuts< TKSpace >::CellReader Struct Reference

#include <DGtal/helpers/Shortcuts.h>

Public Member Functions

Cell operator() (std::istream &input, const KSpace &K)

Detailed Description

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

Definition at line 3105 of file Shortcuts.h.

Member Function Documentation

◆ operator()()

template<typename TKSpace>
Cell DGtal::Shortcuts< TKSpace >::CellReader::operator() ( std::istream & input,
const KSpace & K )
inline

Definition at line 3106 of file Shortcuts.h.

3107 {
3108 Point kp;
3109 for ( Dimension d = 0; d < KSpace::dimension; ++d )
3110 input >> kp[ d ];
3111 return K.uCell( kp );
3112 }
Aim: This class is used to simplify shape and surface creation. With it, you can create new shapes an...
Definition Shortcuts.h:106

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


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