#include <DGtal/kernel/SpaceND.h>
template<
Dimension dim, typename TInteger = DGtal::int32_t>
class DGtal::SpaceND< dim, TInteger >
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:
#include <DGtal/kernel/SpaceND.h>
typedef Space4::Point Point4Int;
Point4Int a= {2, 3 , -5 , 6};
- Examples
- dec/exampleHeatLaplace.cpp, doc-examples/demo-kernel-1.cpp, doc-examples/range.cpp, examples/io/external-viewers/polyscope/exampleGenericLatticeConvexHull3D.cpp, examples/io/external-viewers/polyscope/exampleGenericLatticeConvexHull4D.cpp, geometry/surfaces/dvcm-3d.cpp, geometry/tools/determinant/exampleInHalfPlane.cpp, geometry/tools/exampleGenericLatticeConvexHull.cpp, geometry/tools/exampleLatticeBallDelaunay2D.cpp, geometry/volumes/checkFullConvexityTheorems.cpp, geometry/volumes/digitalPolyhedronBuilder3D.cpp, geometry/volumes/fullConvexityShortestPaths3D.cpp, geometry/volumes/fullConvexitySphereGeodesics.cpp, geometry/volumes/standardDigitalPolyhedronBuilder3D.cpp, io/viewers/demo-kernel-2.cpp, and topology/3dBorderExtraction.cpp.
Definition at line 95 of file SpaceND.h.
◆ Dimension
template<
Dimension dim, typename TInteger = DGtal::int32_t>
Copy of the type used for the dimension.
Definition at line 129 of file SpaceND.h.
◆ Integer
template<
Dimension dim, typename TInteger = DGtal::int32_t>
Arithmetic ring induced by (+,-,*) and Integer numbers.
Definition at line 102 of file SpaceND.h.
◆ Point
template<
Dimension dim, typename TInteger = DGtal::int32_t>
◆ RealPoint
template<
Dimension dim, typename TInteger = DGtal::int32_t>
Point with "double" as coordinate type with the same dimension as SpaceND.
Definition at line 117 of file SpaceND.h.
◆ RealVector
template<
Dimension dim, typename TInteger = DGtal::int32_t>
Point with "double" as coordinate type with the same dimension as SpaceND.
Definition at line 121 of file SpaceND.h.
◆ Self
template<
Dimension dim, typename TInteger = DGtal::int32_t>
Defined for convenience (same as Space).
Definition at line 126 of file SpaceND.h.
◆ Size
template<
Dimension dim, typename TInteger = DGtal::int32_t>
Type used to represent sizes in the digital space.
Definition at line 107 of file SpaceND.h.
◆ Space
template<
Dimension dim, typename TInteger = DGtal::int32_t>
Type to denote the space itself.
Definition at line 124 of file SpaceND.h.
◆ UnsignedInteger
template<
Dimension dim, typename TInteger = DGtal::int32_t>
Unsigned version of the Integers.
Definition at line 104 of file SpaceND.h.
◆ Vector
template<
Dimension dim, typename TInteger = DGtal::int32_t>
◆ SpaceND()
template<
Dimension dim, typename TInteger = DGtal::int32_t>
◆ ~SpaceND()
template<
Dimension dim, typename TInteger = DGtal::int32_t>
◆ BOOST_CONCEPT_ASSERT()
template<
Dimension dim, typename TInteger = DGtal::int32_t>
◆ operator=()
template<
Dimension dim, typename TInteger = DGtal::int32_t>
Assignment.
- Parameters
-
- Returns
- a reference on 'this'. Forbidden by default.
◆ selfDisplay()
template<
Dimension dim, typename TInteger = DGtal::int32_t>
Writes/Displays the object on an output stream.
- Parameters
-
| out | the output stream where the object is written. |
Definition at line 159 of file SpaceND.h.
160 {
161 out <<
"[SpaceND dim=" <<
dimension <<
" size of Integers=" <<
sizeof(
Integer ) <<
" ]";
162 }
TInteger Integer
Arithmetic ring induced by (+,-,*) and Integer numbers.
static const Dimension dimension
static constants to store the dimension.
References DGtal::SpaceND< dim, TInteger >::dimension.
◆ dimension
template<
Dimension dim, typename TInteger = DGtal::int32_t>
The documentation for this class was generated from the following file: