DGtal
1.5.beta
|
#include <DGtal/kernel/SpaceND.h>
Data Structures | |
struct | Subcospace |
Define the type of a sub co-Space. More... | |
struct | Subspace |
Define the type of a subspace. More... | |
Public Types | |
typedef TInteger | Integer |
Arithmetic ring induced by (+,-,*) and Integer numbers. More... | |
typedef NumberTraits< Integer >::UnsignedVersion | UnsignedInteger |
Unsigned version of the Integers. More... | |
typedef size_t | Size |
Type used to represent sizes in the digital space. More... | |
typedef PointVector< dim, Integer > | Point |
Points in DGtal::SpaceND. More... | |
typedef PointVector< dim, Integer > | Vector |
Vectors in DGtal::SpaceND. More... | |
typedef PointVector< dim, double > | RealPoint |
typedef PointVector< dim, double > | RealVector |
typedef SpaceND< dim, Integer > | Space |
Type to denote the space itself. More... | |
typedef Space | Self |
Defined for convenience (same as Space). More... | |
typedef DGtal::Dimension | Dimension |
Copy of the type used for the dimension. More... | |
Static Public Member Functions | |
static void | selfDisplay (std::ostream &out) |
Static Public Attributes | |
static const Dimension | dimension =dim |
static constants to store the dimension. More... | |
Private Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CInteger< TInteger >)) | |
SpaceND & | operator= (const SpaceND &other) |
SpaceND () | |
~SpaceND () | |
Description of class 'SpaceND' <p> \brief Aim: SpaceND is a utility class that defines the fundamental structure of a Digital Space in ND. This class just defines fundamental types associated to a digital space in dimension n. For instance, it specifies the type of a Point lying in this space, the type of a Vector or the type of subspace. @tparam dim static constant of type DGtal::Dimension that specifies the static dimension of the space. @tparam TInteger specifies the integer number type to use as a ring for the computations or as coordinates type. Integer must be a model of concepts::CInteger and concepts::CSignedInteger concepts. Example of use:
typedef DGtal::Dimension DGtal::SpaceND< dim, TInteger >::Dimension |
typedef TInteger DGtal::SpaceND< dim, TInteger >::Integer |
typedef PointVector<dim,Integer> DGtal::SpaceND< dim, TInteger >::Point |
Points in DGtal::SpaceND.
typedef PointVector<dim, double> DGtal::SpaceND< dim, TInteger >::RealPoint |
typedef PointVector<dim, double> DGtal::SpaceND< dim, TInteger >::RealVector |
typedef Space DGtal::SpaceND< dim, TInteger >::Self |
typedef size_t DGtal::SpaceND< dim, TInteger >::Size |
typedef NumberTraits<Integer>::UnsignedVersion DGtal::SpaceND< dim, TInteger >::UnsignedInteger |
typedef PointVector<dim,Integer> DGtal::SpaceND< dim, TInteger >::Vector |
Vectors in DGtal::SpaceND.
|
private |
Constructor
|
private |
Destructor.
|
private |
|
private |
Assignment.
other | the object to copy. |
|
inlinestatic |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
Definition at line 159 of file SpaceND.h.
References DGtal::SpaceND< dim, TInteger >::dimension.
|
static |
static constants to store the dimension.
Definition at line 132 of file SpaceND.h.
Referenced by DGtal::SpaceND< dim, TInteger >::selfDisplay().