|
DGtal 2.0.0
|
Aim: A trivial embedder for digital points, which corresponds to the canonic injection of Zn into Rn. More...
#include <DGtal/kernel/CanonicEmbedder.h>
Public Types | |
| typedef CanonicEmbedder< TSpace > | Self |
| typedef TSpace | Space |
| typedef Space::Integer | Integer |
| typedef Space::Point | Point |
| typedef Space::Vector | Vector |
| typedef Space::RealPoint | RealPoint |
| typedef Point | Argument |
| typedef RealPoint | Value |
Public Member Functions | |
| BOOST_CONCEPT_ASSERT ((concepts::CSpace< TSpace >)) | |
| virtual | ~CanonicEmbedder () |
| Point | floor (const RealPoint &p) const |
| Point | ceil (const RealPoint &p) const |
| Point | round (const RealPoint &p) const |
| virtual RealPoint | embed (const Point &dp) const |
| virtual RealPoint | operator() (const Point &dp) const |
| void | selfDisplay (std::ostream &out) const |
| bool | isValid () const |
Aim: A trivial embedder for digital points, which corresponds to the canonic injection of Zn into Rn.
Description of class 'CanonicEmbedder'
Model of CPointEmbedder.
| TSpace | the type of digital Space where the embedder works. |
Definition at line 64 of file CanonicEmbedder.h.
| typedef Point DGtal::CanonicEmbedder< TSpace >::Argument |
Definition at line 75 of file CanonicEmbedder.h.
| typedef Space::Integer DGtal::CanonicEmbedder< TSpace >::Integer |
Definition at line 71 of file CanonicEmbedder.h.
| typedef Space::Point DGtal::CanonicEmbedder< TSpace >::Point |
Definition at line 72 of file CanonicEmbedder.h.
| typedef Space::RealPoint DGtal::CanonicEmbedder< TSpace >::RealPoint |
Definition at line 74 of file CanonicEmbedder.h.
| typedef CanonicEmbedder<TSpace> DGtal::CanonicEmbedder< TSpace >::Self |
Definition at line 67 of file CanonicEmbedder.h.
| typedef TSpace DGtal::CanonicEmbedder< TSpace >::Space |
Definition at line 70 of file CanonicEmbedder.h.
| typedef RealPoint DGtal::CanonicEmbedder< TSpace >::Value |
Definition at line 76 of file CanonicEmbedder.h.
| typedef Space::Vector DGtal::CanonicEmbedder< TSpace >::Vector |
Definition at line 73 of file CanonicEmbedder.h.
|
inlinevirtual |
| DGtal::CanonicEmbedder< TSpace >::BOOST_CONCEPT_ASSERT | ( | (concepts::CSpace< TSpace >) | ) |
| Point DGtal::CanonicEmbedder< TSpace >::ceil | ( | const RealPoint & | p | ) | const |
| p | any point in the Euclidean space. |
|
virtual |
Map a digital point to its corresponding point in the Euclidean space.
| dp | any digital point in the digital space. |
| Point DGtal::CanonicEmbedder< TSpace >::floor | ( | const RealPoint & | p | ) | const |
| p | any point in the Euclidean space. |
| bool DGtal::CanonicEmbedder< TSpace >::isValid | ( | ) | const |
Checks the validity/consistency of the object.
|
virtual |
Map a digital point to its corresponding point in the Euclidean space.
| dp | any digital point in the digital space. |
| Point DGtal::CanonicEmbedder< TSpace >::round | ( | const RealPoint & | p | ) | const |
| p | any point in the Euclidean space. |
| void DGtal::CanonicEmbedder< TSpace >::selfDisplay | ( | std::ostream & | out | ) | const |
Writes/Displays the object on an output stream.
| out | the output stream where the object is written. |