DGtal 2.1.1
Loading...
Searching...
No Matches
DGtal::detail::toCoordinateImpl< DGtal::BigInteger, TOutput > Struct Template Reference

#include <DGtal/geometry/curves/ArithmeticalDSL.h>

Public Member Functions

 BOOST_CONCEPT_ASSERT ((concepts::CSignedNumber< TOutput >))
 
 BOOST_CONCEPT_ASSERT ((concepts::CInteger< TOutput >))
 

Static Public Member Functions

static TOutput cast (const DGtal::BigInteger &aInput)
 

Detailed Description

template<typename TOutput>
struct DGtal::detail::toCoordinateImpl< DGtal::BigInteger, TOutput >

Definition at line 851 of file ArithmeticalDSL.h.

Member Function Documentation

◆ BOOST_CONCEPT_ASSERT() [1/2]

template<typename TOutput >
DGtal::detail::toCoordinateImpl< DGtal::BigInteger, TOutput >::BOOST_CONCEPT_ASSERT ( (concepts::CInteger< TOutput >)  )

◆ BOOST_CONCEPT_ASSERT() [2/2]

template<typename TOutput >
DGtal::detail::toCoordinateImpl< DGtal::BigInteger, TOutput >::BOOST_CONCEPT_ASSERT ( (concepts::CSignedNumber< TOutput >)  )

◆ cast()

template<typename TOutput >
static TOutput DGtal::detail::toCoordinateImpl< DGtal::BigInteger, TOutput >::cast ( const DGtal::BigInteger aInput)
inlinestatic

Definition at line 857 of file ArithmeticalDSL.h.

858 {
859 ASSERT( (aInput <= static_cast<DGtal::BigInteger>(std::numeric_limits<TOutput>::max())) &&
860 (aInput >= static_cast<DGtal::BigInteger>(std::numeric_limits<TOutput>::min())) );
861 return static_cast<TOutput>(aInput);
862 }
boost::multiprecision::number< boost::multiprecision::cpp_int_backend<>, boost::multiprecision::et_off > BigInteger
Definition BasicTypes.h:75

The documentation for this struct was generated from the following file: