DGtal 2.0.0
|
#include <DGtal/kernel/IntegerConverter.h>
Public Types | |
typedef DGtal::BigInteger | Integer |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CInteger< DGtal::BigInteger >)) |
Static Public Member Functions | |
static DGtal::BigInteger | cast (DGtal::int32_t i) |
static PointVector< dim, DGtal::BigInteger > | cast (PointVector< dim, DGtal::int32_t > p) |
static DGtal::BigInteger | cast (DGtal::int64_t i) |
static PointVector< dim, DGtal::BigInteger > | cast (PointVector< dim, DGtal::int64_t > p) |
static DGtal::BigInteger | cast (DGtal::BigInteger i) |
static PointVector< dim, DGtal::BigInteger > | cast (PointVector< dim, DGtal::BigInteger > p) |
Allows seamless conversion of integral types and lattice points, while checking for errors when going from a more precise to a less precise type.
Specialized version for BigInteger
dim | static constant of type DGtal::Dimension that specifies the static dimension of the space and thus the number of elements of the Point or Vector. |
Definition at line 264 of file IntegerConverter.h.
typedef DGtal::BigInteger DGtal::IntegerConverter< dim, DGtal::BigInteger >::Integer |
Definition at line 265 of file IntegerConverter.h.
DGtal::IntegerConverter< dim, DGtal::BigInteger >::BOOST_CONCEPT_ASSERT | ( | (concepts::CInteger< DGtal::BigInteger >) | ) |
|
inlinestatic |
i | any integer |
Definition at line 312 of file IntegerConverter.h.
|
inlinestatic |
i | any integer |
Definition at line 269 of file IntegerConverter.h.
|
inlinestatic |
|
inlinestatic |
Conversion of a lattice point.
p | any point |
Definition at line 323 of file IntegerConverter.h.
|
inlinestatic |
Conversion of a lattice point.
p | any point |
Definition at line 280 of file IntegerConverter.h.
References DGtal::IntegerConverter< dim, TInteger >::cast(), and dim.
|
inlinestatic |
Conversion of a lattice point.
p | any point |
Definition at line 302 of file IntegerConverter.h.
References DGtal::IntegerConverter< dim, TInteger >::cast(), and dim.