DGtal  1.4.beta
Public Member Functions | Data Fields | Friends
DGtal::BoundedLatticePolytope< TSpace >::LeftStrictUnitCell Struct Reference

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

Public Member Functions

 LeftStrictUnitCell (std::initializer_list< Dimension > l)

Data Fields

std::vector< Dimensiondims


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

Detailed Description

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

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

Definition at line 180 of file BoundedLatticePolytope.h.

Constructor & Destructor Documentation

◆ LeftStrictUnitCell()

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

Definition at line 182 of file BoundedLatticePolytope.h.

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

Friends And Related Function Documentation

◆ operator<<

template<typename TSpace >
std::ostream& operator<< ( std::ostream &  out,
const LeftStrictUnitCell object 

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

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

Definition at line 192 of file BoundedLatticePolytope.h.

194  {
195  out << "{";
196  for ( Dimension i = 0; i < object.dims.size(); ++i ) out << object.dims[ i ];
197  out << "}";
198  return out;
199  }

Field Documentation

◆ dims

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

Definition at line 181 of file BoundedLatticePolytope.h.

The documentation for this struct was generated from the following file:
DGtal::uint32_t Dimension
Definition: Common.h:137
std::vector< Dimension > dims
Definition: BoundedLatticePolytope.h:181