33 #if defined(SpaceND_RECURSES) 34 #error Recursive header files inclusion detected in SpaceND.h 35 #else // defined(SpaceND_RECURSES) 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 ) <<
" ]";
203 #endif // !defined SpaceND_h 205 #undef SpaceND_RECURSES 206 #endif // else defined(SpaceND_RECURSES) static const Dimension dimension
static constants to store the dimension.
SpaceND & operator=(const SpaceND &other)
Aim: SpaceND is a utility class that defines the fundamental structure of a Digital Space in ND...
SpaceND< subdimension, Integer > Type
NumberTraits< Integer >::UnsignedVersion UnsignedInteger
Unsigned version of the Integers.
DGtal::uint32_t Dimension
BOOST_CONCEPT_ASSERT((concepts::CInteger< TInteger >))
SpaceND< dim, Integer > Space
Type to denote the space itself.
PointVector< dim, double > RealPoint
PointVector< dim, Integer > Vector
Vectors in DGtal::SpaceND.
Aim: Concept checking for Integer Numbers. More precisely, this concept is a refinement of both CEucl...
DGtal::Dimension Dimension
Copy of the type used for the dimension.
Define the type of a subspace.
Aim: The traits class for all models of Cinteger.
Space Self
Defined for convenience (same as Space).
TInteger Integer
Arithmetic ring induced by (+,-,*) and Integer numbers.
Define the type of a sub co-Space.
SpaceND< dim - codimension, Integer > Type
DGtal is the top-level namespace which contains all DGtal functions and types.
UnsignedInteger Size
Type used to represent sizes in the digital space.
unsigned int dim(const Vector &z)
PointVector< dim, double > RealVector
PointVector< dim, Integer > Point
Points in DGtal::SpaceND.
boost::int32_t int32_t
signed 32-bit integer.
static void selfDisplay(std::ostream &out)