18 #ifndef itkDivideFloorFunctor_h
19 #define itkDivideFloorFunctor_h
31 template<
class TInput1,
class TInput2,
class TOutput >
45 return !( *
this != other );
48 inline TOutput
operator()(
const TInput1 & A,
const TInput2 & B)
const
50 if ( B != (TInput2)0 )
52 return static_cast<TOutput
>( std::floor(
double(A) /
double(B) ) );
63 #endif // itkDivisionFloorImageFilter_h
bool operator==(const DivFloor &other) const
TOutput operator()(const TInput1 &A, const TInput2 &B) const
static constexpr T max(const T &)
bool operator!=(const DivFloor &) const