![]() |
Realm
A distributed, event-based tasking library
|
#include <indexspace.h>
Public Member Functions | |
| TranslationTransform (void)=default | |
| TranslationTransform (const Point< N, T > &_offset) | |
| template<typename T2 > | |
| Realm::Point< N, T > | operator[] (const Realm::Point< N, T2 > &point) const |
Public Attributes | |
| Point< N, T > | offset |
A translation transform is a special case of an affine transform that only has a translation component. It is used to transform points in one coordinate space into points in another coordinate space by adding a constant offset to each coordinate.
|
default |
| Realm::TranslationTransform< N, T >::TranslationTransform | ( | const Point< N, T > & | _offset | ) |
| Realm::Point< N, T > Realm::TranslationTransform< N, T >::operator[] | ( | const Realm::Point< N, T2 > & | point | ) | const |
Apply the translation transform to a point in the domain source coordinate space to produce a point in the destination coordinate space. Adds the offset to the point.
| point | The point in the source coordinate space. |
| Point<N, T> Realm::TranslationTransform< N, T >::offset |