DGtal  1.0.0
Public Member Functions | Static Public Member Functions
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 850 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::CSignedNumber< TOutput >)  )

◆ BOOST_CONCEPT_ASSERT() [2/2]

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

◆ cast()

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

Definition at line 856 of file ArithmeticalDSL.h.

857  {
858  ASSERT( (aInput <= static_cast<DGtal::BigInteger>(std::numeric_limits<TOutput>::max())) &&
859  (aInput >= static_cast<DGtal::BigInteger>(std::numeric_limits<TOutput>::min())) );
860  return static_cast<TOutput>(aInput.get_si());
861  }
int max(int a, int b)

References max().


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