![]() |
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 the parenthesis operator.
More...
#include <spatial_builtin.hpp>
Public Member Functions | |
| paren_minus () | |
| template<typename AnyUnit > | |
| paren_minus (const paren_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 the parenthesis operator.
The returned value is cast into the type Unit.
Definition at line 25 of file spatial_builtin.hpp.
| spatial::paren_minus< Tp, Unit >::paren_minus | ( | ) |
Definition at line 78 of file function.hpp.
| spatial::paren_minus< Tp, Unit >::paren_minus | ( | const paren_minus< Tp, AnyUnit > & | ) |
Definition at line 81 of file function.hpp.
| Unit spatial::paren_minus< Tp, Unit >::operator() | ( | dimension_type | n, |
| const Tp & | x, | ||
| const Tp & | y | ||
| ) | const |
Definition at line 84 of file function.hpp.