|
DGtal
0.6.devel
|
#include <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 ((CSpace< TSpace >)) | |
| Point | floor (const RealPoint &p) const |
| Point | ceil (const RealPoint &p) const |
| Point | round (const RealPoint &p) const |
| RealPoint | embed (const Point &dp) const |
| 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.
| DGtal::CanonicEmbedder< TSpace >::BOOST_CONCEPT_ASSERT | ( | (CSpace< TSpace >) | ) |
|
inline |
|
inline |
Map a digital point to its corresponding point in the Euclidean space.
| dp | any digital point in the digital space. |
Definition at line 80 of file CanonicEmbedder.ih.
|
inline |
|
inline |
Checks the validity/consistency of the object.
Definition at line 99 of file CanonicEmbedder.ih.
|
inline |
Map a digital point to its corresponding point in the Euclidean space.
| dp | any digital point in the digital space. |
Definition at line 88 of file CanonicEmbedder.ih.
|
inline |
| 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. |
1.8.1.1