33 #if defined(SpaceND_RECURSES)
34 #error Recursive header files inclusion detected in SpaceND.h
37 #define SpaceND_RECURSES
39 #if !defined SpaceND_h
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
Space Self
Defined for convenience (same as Space).
TInteger Integer
Arithmetic ring induced by (+,-,*) and Integer numbers.
PointVector< dim, Integer > Point
Points in DGtal::SpaceND.
NumberTraits< Integer >::UnsignedVersion UnsignedInteger
Unsigned version of the Integers.
size_t Size
Type used to represent sizes in the digital space.
PointVector< dim, double > RealPoint
SpaceND< dim, Integer > Space
Type to denote the space itself.
static const Dimension dimension
static constants to store the dimension.
PointVector< dim, double > RealVector
PointVector< dim, Integer > Vector
Vectors in DGtal::SpaceND.
DGtal::Dimension Dimension
Copy of the type used for the dimension.
static void selfDisplay(std::ostream &out)
BOOST_CONCEPT_ASSERT((concepts::CInteger< TInteger >))
SpaceND & operator=(const SpaceND &other)
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.
std::decay< T >::type UnsignedVersion
Alias to the unsigned version of the number type.
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...
unsigned int dim(const Vector &z)