31#if defined(CanonicEmbedder_RECURSES)
32#error Recursive header files inclusion detected in CanonicEmbedder.h
35#define CanonicEmbedder_RECURSES
37#if !defined CanonicEmbedder_h
39#define CanonicEmbedder_h
44#include "DGtal/base/Common.h"
45#include "DGtal/kernel/CSpace.h"
63 template <
typename TSpace>
163 template <
typename TSpace>
173#include "DGtal/kernel/CanonicEmbedder.ih"
181#undef CanonicEmbedder_RECURSES
TInteger Integer
Arithmetic ring induced by (+,-,*) and Integer numbers.
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
Aim: A trivial embedder for digital points, which corresponds to the canonic injection of Zn into Rn.
Point round(const RealPoint &p) const
void selfDisplay(std::ostream &out) const
virtual RealPoint embed(const Point &dp) const
virtual ~CanonicEmbedder()
virtual RealPoint operator()(const Point &dp) const
Point ceil(const RealPoint &p) const
BOOST_CONCEPT_ASSERT((concepts::CSpace< TSpace >))
Space::RealPoint RealPoint
CanonicEmbedder< TSpace > Self
Point floor(const RealPoint &p) const
Aim: Defines the concept describing a digital space, ie a cartesian product of integer lines.