Spatial C++ Library
Generic Multi-Dimensional Containers and Spatial Operations
|
This functor uses the minus operator to calculate the difference between 2 elements of Tp along the dimension n
accessed through an iterator.
More...
#include <spatial_builtin.hpp>
Public Member Functions | |
iterator_minus () | |
template<typename AnyUnit > | |
iterator_minus (const iterator_minus< Tp, AnyUnit > &) | |
Unit | operator() (dimension_type n, const Tp &x, const Tp &y) const |
This functor uses the minus operator to calculate the difference between 2 elements of Tp along the dimension n
accessed through an iterator.
The returned value is cast into the type Unit
.
Definition at line 26 of file spatial_builtin.hpp.
spatial::iterator_minus< Tp, Unit >::iterator_minus | ( | ) |
Definition at line 98 of file function.hpp.
spatial::iterator_minus< Tp, Unit >::iterator_minus | ( | const iterator_minus< Tp, AnyUnit > & | ) |
Definition at line 101 of file function.hpp.
Unit spatial::iterator_minus< Tp, Unit >::operator() | ( | dimension_type | n, |
const Tp & | x, | ||
const Tp & | y | ||
) | const |
Definition at line 104 of file function.hpp.