DGtal 1.3.0
|
#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::functors::BasicDomainSubSampler< TDomain, TInteger, TValue >::BasicDomainSubSampler(), checkCvxHPlusHypercubeFullConvexity(), checkFullConvexityCharacterization(), checkProjectionFullConvexity(), checkSkelStarCvxHFullConvexity(), DGtal::EhrhartPolynomial< TSpace, TInteger >::init(), DGtal::DigitalShapesCSG< ShapeA, ShapeB >::intersection(), DGtal::EuclideanShapesCSG< ShapeA, ShapeB >::intersection(), DGtal::functors::IINormalDirectionFunctor< TSpace, TMatrix >::operator()(), DGtal::functors::IITangentDirectionFunctor< TSpace, TMatrix >::operator()(), DGtal::functors::IIFirstPrincipalDirectionFunctor< TSpace, TMatrix >::operator()(), DGtal::functors::IISecondPrincipalDirectionFunctor< TSpace, TMatrix >::operator()(), DGtal::functors::IIPrincipalDirectionsFunctor< TSpace, TMatrix >::operator()(), DGtal::functors::BasicDomainSubSampler< TDomain, TInteger, TValue >::operator()(), DGtal::functors::FlipDomainAxis< TDomain >::operator()(), DGtal::DigitalShapesCSG< ShapeA, ShapeB >::plus(), DGtal::EuclideanShapesCSG< ShapeA, ShapeB >::plus(), DGtal::SpaceND< dim, TInteger >::selfDisplay(), DGtal::HyperRectDomain< TSpace >::size(), testCompareExactBruteForce(), testCompareExactInexact(), and testCompareInexactBruteForce().