DGtal  1.1.0
Public Member Functions | Data Fields | Friends
DGtal::BoundedLatticePolytope< TSpace >::RightStrictUnitCell Struct Reference

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

Collaboration diagram for DGtal::BoundedLatticePolytope< TSpace >::RightStrictUnitCell:
[legend]

Public Member Functions

 RightStrictUnitCell (std::initializer_list< Dimension > l)
 

Data Fields

std::vector< Dimensiondims
 

Friends

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

Detailed Description

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

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 154 of file BoundedLatticePolytope.h.

Constructor & Destructor Documentation

◆ RightStrictUnitCell()

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

Definition at line 156 of file BoundedLatticePolytope.h.

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

Friends And Related Function Documentation

◆ operator<<

template<typename TSpace >
std::ostream& operator<< ( std::ostream &  out,
const RightStrictUnitCell 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 165 of file BoundedLatticePolytope.h.

168  {
169  out << "{";
170  for ( Dimension i = 0; i < object.dims.size(); ++i ) out << object.dims[ i ];
171  out << "}";
172  return out;
173  }

Field Documentation

◆ dims

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

Definition at line 155 of file BoundedLatticePolytope.h.


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