33#if defined(SpaceND_RECURSES)
34#error Recursive header files inclusion detected in SpaceND.h
37#define SpaceND_RECURSES
46#include "DGtal/base/Common.h"
47#include "DGtal/kernel/CInteger.h"
48#include "DGtal/kernel/PointVector.h"
135 template <Dimension codimension>
142 template <Dimension subdimension>
161 out <<
"[SpaceND dim=" <<
dimension <<
" size of Integers=" <<
sizeof(
Integer ) <<
" ]";
205#undef SpaceND_RECURSES
Aim: Implements basic operations that will be used in Point and Vector classes.
SpaceND< dim, Integer > Space
Type to denote the space itself.
PointVector< dim, double > RealVector
NumberTraits< Integer >::UnsignedVersion UnsignedInteger
Unsigned version of the Integers.
size_t Size
Type used to represent sizes in the digital space.
PointVector< dim, Integer > Vector
Vectors in DGtal::SpaceND.
SpaceND & operator=(const SpaceND &other)
static const Dimension dimension
static constants to store the dimension.
DGtal::Dimension Dimension
Copy of the type used for the dimension.
PointVector< dim, Integer > Point
Points in DGtal::SpaceND.
Space Self
Defined for convenience (same as Space).
static void selfDisplay(std::ostream &out)
PointVector< dim, double > RealPoint
BOOST_CONCEPT_ASSERT((concepts::CInteger< TInteger >))
TInteger Integer
Arithmetic ring induced by (+,-,*) and Integer numbers.
DGtal is the top-level namespace which contains all DGtal functions and types.
DGtal::uint32_t Dimension
boost::int32_t int32_t
signed 32-bit integer.
Define the type of a sub co-Space.
SpaceND< dim - codimension, Integer > Type
Define the type of a subspace.
SpaceND< subdimension, Integer > Type
Aim: Concept checking for Integer Numbers. More precisely, this concept is a refinement of both CEucl...