DGtal 2.1.0
Loading...
Searching...
No Matches
DGtal::BoundedLatticePolytope< TSpace >::StrictUnitCell Struct Reference

#include <DGtal/geometry/volumes/BoundedLatticePolytope.h>

Public Member Functions

 StrictUnitCell (std::initializer_list< Dimension > l)
 

Data Fields

std::vector< Dimensiondims
 

Friends

std::ostream & operator<< (std::ostream &out, const StrictUnitCell &object)
 

Detailed Description

template<typename TSpace>
struct DGtal::BoundedLatticePolytope< TSpace >::StrictUnitCell

Represents the unit cell obtained by successive Minkowski sum of StrictUnitSegment whose dimensions are stored in dims. When dims is empty, it is only the point (0,...,0).

Definition at line 212 of file BoundedLatticePolytope.h.

Constructor & Destructor Documentation

◆ StrictUnitCell()

template<typename TSpace >
DGtal::BoundedLatticePolytope< TSpace >::StrictUnitCell::StrictUnitCell ( std::initializer_list< Dimension l)
inline

Definition at line 214 of file BoundedLatticePolytope.h.

215 : dims( l.begin(), l.end() ) {}

Friends And Related Symbol Documentation

◆ operator<<

template<typename TSpace >
std::ostream & operator<< ( std::ostream &  out,
const StrictUnitCell object 
)
friend

Overloads 'operator<<' for displaying objects of class 'BoundedLatticePolytope::UnitCell'.

Parameters
outthe output stream where the object is written.
objectthe object of class 'BoundedLatticePolytope::UnitCell' to write.
Returns
the output stream after the writing.

Definition at line 223 of file BoundedLatticePolytope.h.

226 {
227 out << "{";
228 for ( Dimension i = 0; i < object.dims.size(); ++i ) out << object.dims[ i ];
229 out << "}";
230 return out;
231 }
DGtal::uint32_t Dimension
Definition Common.h:119

Field Documentation

◆ dims

template<typename TSpace >
std::vector<Dimension> DGtal::BoundedLatticePolytope< TSpace >::StrictUnitCell::dims

Definition at line 213 of file BoundedLatticePolytope.h.


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