VTK-m  2.0
Public Member Functions | List of all members
vtkm::MinAndMax< T > Struct Template Reference

Binary Predicate that takes two arguments argument x, and y and returns a vtkm::Vec<T,2> that represents the minimum and maximum values. More...

#include <BinaryOperators.h>

Public Member Functions

VTKM_EXEC_CONT vtkm::Vec< T, 2 > operator() (const T &a) const
 
VTKM_EXEC_CONT vtkm::Vec< T, 2 > operator() (const T &a, const T &b) const
 
VTKM_EXEC_CONT vtkm::Vec< T, 2 > operator() (const vtkm::Vec< T, 2 > &a, const vtkm::Vec< T, 2 > &b) const
 
VTKM_EXEC_CONT vtkm::Vec< T, 2 > operator() (const T &a, const vtkm::Vec< T, 2 > &b) const
 
VTKM_EXEC_CONT vtkm::Vec< T, 2 > operator() (const vtkm::Vec< T, 2 > &a, const T &b) const
 

Detailed Description

template<typename T>
struct vtkm::MinAndMax< T >

Binary Predicate that takes two arguments argument x, and y and returns a vtkm::Vec<T,2> that represents the minimum and maximum values.

Note: Requires Type T implement the vtkm::Min and vtkm::Max functions.

Member Function Documentation

◆ operator()() [1/5]

template<typename T >
VTKM_EXEC_CONT vtkm::Vec<T, 2> vtkm::MinAndMax< T >::operator() ( const T &  a) const
inline

◆ operator()() [2/5]

template<typename T >
VTKM_EXEC_CONT vtkm::Vec<T, 2> vtkm::MinAndMax< T >::operator() ( const T &  a,
const T &  b 
) const
inline

◆ operator()() [3/5]

template<typename T >
VTKM_EXEC_CONT vtkm::Vec<T, 2> vtkm::MinAndMax< T >::operator() ( const T &  a,
const vtkm::Vec< T, 2 > &  b 
) const
inline

◆ operator()() [4/5]

template<typename T >
VTKM_EXEC_CONT vtkm::Vec<T, 2> vtkm::MinAndMax< T >::operator() ( const vtkm::Vec< T, 2 > &  a,
const T &  b 
) const
inline

◆ operator()() [5/5]

template<typename T >
VTKM_EXEC_CONT vtkm::Vec<T, 2> vtkm::MinAndMax< T >::operator() ( const vtkm::Vec< T, 2 > &  a,
const vtkm::Vec< T, 2 > &  b 
) const
inline

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