33 #if defined(RegularPointEmbedder_RECURSES)
34 #error Recursive header files inclusion detected in RegularPointEmbedder.h
37 #define RegularPointEmbedder_RECURSES
39 #if !defined RegularPointEmbedder_h
41 #define RegularPointEmbedder_h
46 #include "DGtal/base/Common.h"
47 #include "DGtal/kernel/CSpace.h"
67 template <
typename TSpace>
200 template <
typename TSpace>
210 #include "DGtal/kernel/RegularPointEmbedder.ih"
217 #undef RegularPointEmbedder_RECURSES
TEuclideanRing Component
Type for Vector elements.
Aim: A simple point embedder where grid steps are given for each axis. Note that the real point (0,...
RealPoint embed(const Point &p) const
void init(const RealVector &gridSteps)
Space::RealPoint RealPoint
Point floor(const RealPoint &p) const
Point ceil(const RealPoint &p) const
Space::RealVector RealVector
RealVector myGridSteps
The grid steps.
Point round(const RealPoint &p) const
void selfDisplay(std::ostream &out) const
RealPoint operator()(const Point &p) const
BOOST_CONCEPT_ASSERT((concepts::CSpace< TSpace >))
void init(typename RealVector::Component gridStep)
RealVector gridSteps() const
RegularPointEmbedder & operator=(const RegularPointEmbedder &other)
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 ATu0v1< TKSpace, TLinearAlgebra > &object)
Aim: Defines the concept describing a digital space, ie a cartesian product of integer lines.