This Class apply a shift transformation before converting to Cell-ID
Definition at line 149 of file CellDecomposer.hpp.
#include <CellDecomposer.hpp>
Public Member Functions | |
shift_only () | |
Default constructor. | |
shift_only (const Matrix< dim, T > &t, const Point< dim, T > &s) | |
Constructor. | |
__device__ __host__ T | transform (const T *s, const int i) const |
Shift the point transformation. | |
__device__ __host__ T | transform (const T(&s)[dim], const int i) const |
Shift the point transformation. | |
__device__ __host__ T | transform (const Point< dim, T > &s, const int i) const |
Shift the point transformation. | |
template<typename Mem > | |
__device__ __host__ T | transform (const encapc< 1, Point< dim, T >, Mem > &s, const int i) const |
Shift the point transformation. | |
void | setTransform (const Matrix< dim, T > &mat, const Point< dim, T > &orig) |
Set the transformation Matrix and shift. | |
__device__ __host__ const Point< dim, T > & | getOrig () const |
Get the shift vector. | |
bool | operator== (const shift< dim, T > &s) |
It return true if the shift match. | |
bool | operator!= (const shift< dim, T > &s) |
It return true if the shift is different. | |
Private Attributes | |
Point< dim, T > | sh |
Shift point. | |
|
inline |
Default constructor.
Definition at line 159 of file CellDecomposer.hpp.
|
inline |
Constructor.
t | Matrix transformation |
s | shift |
Definition at line 170 of file CellDecomposer.hpp.
|
inline |
|
inline |
It return true if the shift is different.
s | shift to compare with |
Definition at line 269 of file CellDecomposer.hpp.
|
inline |
It return true if the shift match.
s | shift to compare with |
Definition at line 257 of file CellDecomposer.hpp.
|
inline |
Set the transformation Matrix and shift.
mat | Matrix transformation |
orig | origin point |
Definition at line 233 of file CellDecomposer.hpp.
|
inline |
Shift the point transformation.
s | source point |
i | coordinate |
Definition at line 222 of file CellDecomposer.hpp.
|
inline |
Shift the point transformation.
s | source point |
i | coordinate |
Definition at line 209 of file CellDecomposer.hpp.
|
inline |
Shift the point transformation.
s | source point |
i | coordinate |
Definition at line 183 of file CellDecomposer.hpp.
|
inline |
Shift the point transformation.
s | source point |
i | coordinate |
Definition at line 196 of file CellDecomposer.hpp.
|
private |
Shift point.
Definition at line 152 of file CellDecomposer.hpp.