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

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

Inheritance diagram for DGtal::detail::toCoordinateImpl< DGtal::BigInteger, TOutput >:
[legend]

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>
TOutput DGtal::detail::toCoordinateImpl< DGtal::BigInteger, TOutput >::cast ( const DGtal::BigInteger & aInput)
inlinestatic

Definition at line 857 of file ArithmeticalDSL.h.

858 {
861 return static_cast<TOutput>(aInput);
862 }
Aim: Define a simple functor that can cast a signed integer (possibly a DGtal::BigInteger) into anoth...

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