DGtal 1.4.0
|
Represents an unsigned cell in an unbounded cellular grid space by its Khalimsky coordinates. More...
#include <DGtal/topology/KhalimskyPreSpaceND.h>
Public Types | |
using | Integer = TInteger |
using | UnsignedInteger = typename NumberTraits<Integer>::UnsignedVersion |
using | Point = PointVector< dim, Integer > |
using | Self = KhalimskyPreCell< dim, Integer > |
using | PreCell = Self |
using | PreCellularGridSpace = KhalimskyPreSpaceND< dim, TInteger > |
using | CellularGridSpace = PreCellularGridSpace |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CInteger< TInteger >)) | |
Integer must be a model of the concept CInteger. | |
PreCell const & | preCell () const |
Returns the underlying constant pre-cell, itself in fact. | |
KhalimskyPreCell (Integer dummy=0) | |
Default constructor. | |
KhalimskyPreCell (Point const &aPoint) | |
Implicit constructor from its Khalimsky coordinates. | |
KhalimskyPreCell (KhalimskyPreCell const &aCell)=default | |
Copy constructor. | |
KhalimskyPreCell & | operator= (KhalimskyPreCell const &aCell)=default |
Copy operator. | |
KhalimskyPreCell (KhalimskyPreCell &&aCell)=default | |
Move constructor. | |
KhalimskyPreCell & | operator= (KhalimskyPreCell &&aCell)=default |
Move operator. | |
bool | operator== (const KhalimskyPreCell &other) const |
Equality operator. | |
bool | operator!= (const KhalimskyPreCell &other) const |
Difference operator. | |
bool | operator< (const KhalimskyPreCell &other) const |
Inferior operator. (lexicographic order). | |
std::string | className () const |
Return the style name used for drawing this object. | |
Data Fields | |
Point | coordinates |
Khalimsky coordinates of the cell. Public to allow easy coordinate manipulations. | |
Represents an unsigned cell in an unbounded cellular grid space by its Khalimsky coordinates.
dim | the dimension of the digital space. |
TInteger | the Integer class used to specify the arithmetic computations (default type = int32). |
Definition at line 71 of file KhalimskyPreSpaceND.h.
using DGtal::KhalimskyPreCell< dim, TInteger >::CellularGridSpace = PreCellularGridSpace |
Definition at line 85 of file KhalimskyPreSpaceND.h.
using DGtal::KhalimskyPreCell< dim, TInteger >::Integer = TInteger |
Definition at line 79 of file KhalimskyPreSpaceND.h.
using DGtal::KhalimskyPreCell< dim, TInteger >::Point = PointVector< dim, Integer > |
Definition at line 81 of file KhalimskyPreSpaceND.h.
using DGtal::KhalimskyPreCell< dim, TInteger >::PreCell = Self |
Definition at line 83 of file KhalimskyPreSpaceND.h.
using DGtal::KhalimskyPreCell< dim, TInteger >::PreCellularGridSpace = KhalimskyPreSpaceND< dim, TInteger > |
Definition at line 84 of file KhalimskyPreSpaceND.h.
using DGtal::KhalimskyPreCell< dim, TInteger >::Self = KhalimskyPreCell< dim, Integer > |
Definition at line 82 of file KhalimskyPreSpaceND.h.
using DGtal::KhalimskyPreCell< dim, TInteger >::UnsignedInteger = typename NumberTraits<Integer>::UnsignedVersion |
Definition at line 80 of file KhalimskyPreSpaceND.h.
|
explicit |
Default constructor.
DGtal::KhalimskyPreCell< dim, TInteger >::KhalimskyPreCell | ( | Point const & | aPoint | ) |
Implicit constructor from its Khalimsky coordinates.
aPoint | Its Khalimsky coordinates as a point. |
|
default |
Copy constructor.
aCell | any other pre-cell. |
|
default |
Move constructor.
aCell | any other pre-cell. |
DGtal::KhalimskyPreCell< dim, TInteger >::BOOST_CONCEPT_ASSERT | ( | (concepts::CInteger< TInteger >) | ) |
Integer must be a model of the concept CInteger.
std::string DGtal::KhalimskyPreCell< dim, TInteger >::className | ( | ) | const |
Return the style name used for drawing this object.
bool DGtal::KhalimskyPreCell< dim, TInteger >::operator!= | ( | const KhalimskyPreCell< dim, TInteger > & | other | ) | const |
Difference operator.
other | any other pre-cell. |
bool DGtal::KhalimskyPreCell< dim, TInteger >::operator< | ( | const KhalimskyPreCell< dim, TInteger > & | other | ) | const |
Inferior operator. (lexicographic order).
other | any other pre-cell. |
|
default |
Move operator.
aCell | any other pre-cell. |
|
default |
Copy operator.
aCell | any other pre-cell. |
bool DGtal::KhalimskyPreCell< dim, TInteger >::operator== | ( | const KhalimskyPreCell< dim, TInteger > & | other | ) | const |
Equality operator.
other | any other pre-cell. |
PreCell const & DGtal::KhalimskyPreCell< dim, TInteger >::preCell | ( | ) | const |
Returns the underlying constant pre-cell, itself in fact.
Point DGtal::KhalimskyPreCell< dim, TInteger >::coordinates |
Khalimsky coordinates of the cell. Public to allow easy coordinate manipulations.
Definition at line 89 of file KhalimskyPreSpaceND.h.