cisst-saw
Loading...
Searching...
No Matches
vctBinaryOperations< _outputType, _input1Type, _input2Type >::Bound Class Reference

Test if the first argument is bound by the second argument. More...

#include <vctBinaryOperations.h>

Public Types

typedef _outputType OutputType

Static Public Member Functions

static OutputType Operate (const Input1Type &input1, const Input2Type &input2)

Detailed Description

template<class _outputType, class _input1Type = _outputType, class _input2Type = _outputType>
class vctBinaryOperations< _outputType, _input1Type, _input2Type >::Bound

Test if the first argument is bound by the second argument.

See also
vctBinaryOperations

Tests if if abs(input1) <= input2. The test does not use the abs function, but tests if (-input2 <= input1) && (input1 <= input2). Note that if input2 is negative, the result is always false.

Member Typedef Documentation

◆ OutputType

template<class _outputType, class _input1Type = _outputType, class _input2Type = _outputType>
typedef _outputType vctBinaryOperations< _outputType, _input1Type, _input2Type >::Bound::OutputType

Member Function Documentation

◆ Operate()

template<class _outputType, class _input1Type = _outputType, class _input2Type = _outputType>
OutputType vctBinaryOperations< _outputType, _input1Type, _input2Type >::Bound::Operate ( const Input1Type & input1,
const Input2Type & input2 )
inlinestatic

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