DGtal  1.5.beta
DGtal::ArithmeticConversionTraits< LeftEuclideanRing, PointVector< dim, RightEuclideanRing, RightContainer >, typename std::enable_if< IsArithmeticConversionValid< LeftEuclideanRing, RightEuclideanRing >::value &&! IsAPointVector< LeftEuclideanRing >::value >::type > Struct Template Reference

Specialization of ArithmeticConversionTraits when right operand is a PointVector. More...

#include <DGtal/kernel/PointVector.h>

Public Types

using type = typename std::conditional< std::is_same< LeftEuclideanRing, ArithmeticConversionType< LeftEuclideanRing, RightEuclideanRing > >::value, PointVector< dim, LeftEuclideanRing >, PointVector< dim, RightEuclideanRing, RightContainer > >::type
 

Detailed Description

template<DGtal::Dimension dim, typename LeftEuclideanRing, typename RightEuclideanRing, typename RightContainer>
struct DGtal::ArithmeticConversionTraits< LeftEuclideanRing, PointVector< dim, RightEuclideanRing, RightContainer >, typename std::enable_if< IsArithmeticConversionValid< LeftEuclideanRing, RightEuclideanRing >::value &&! IsAPointVector< LeftEuclideanRing >::value >::type >

Specialization of ArithmeticConversionTraits when right operand is a PointVector.

See also
ArithmeticConversionTraits

Definition at line 225 of file PointVector.h.

Member Typedef Documentation

◆ type

template<DGtal::Dimension dim, typename LeftEuclideanRing , typename RightEuclideanRing , typename RightContainer >
using DGtal::ArithmeticConversionTraits< LeftEuclideanRing, PointVector< dim, RightEuclideanRing, RightContainer >, typename std::enable_if< IsArithmeticConversionValid< LeftEuclideanRing, RightEuclideanRing >::value &&! IsAPointVector< LeftEuclideanRing >::value >::type >::type = typename std::conditional< std::is_same< LeftEuclideanRing, ArithmeticConversionType<LeftEuclideanRing, RightEuclideanRing> >::value, PointVector<dim, LeftEuclideanRing>, PointVector<dim, RightEuclideanRing, RightContainer> >::type

Definition at line 230 of file PointVector.h.


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