No transformation.
More...
template<unsigned int dim, typename T>
class no_transform< dim, T >
No transformation.
Definition at line 277 of file CellDecomposer.hpp.
#include <CellDecomposer.hpp>
|
__device__ __host__ | no_transform (const Matrix< dim, T > &t, const Point< dim, T > &s) |
| Constructor.
|
|
__device__ __host__ T | transform (const T(&s)[dim], const size_t i) const |
| Shift the point transformation.
|
|
__device__ __host__ T | transform (const Point< dim, T > &s, const size_t i) const |
| No transformation.
|
|
template<typename Mem > |
__device__ __host__ T | transform (const encapc< 1, Point< dim, T >, Mem > &s, const size_t i) const |
| No transformation.
|
|
void | setTransform (const Matrix< dim, T > &mat, const Point< dim, T > &orig) |
| Set the transformation Matrix and shift.
|
|
bool | operator== (const no_transform< dim, T > &nt) |
| It return always true true.
|
|
bool | operator!= (const no_transform< dim, T > &nt) |
| It return always false.
|
|
const Point< dim, T > & | getOrig () const |
| Get the origin.
|
|
const Matrix< dim, T > & | getMat () const |
| Get the transformation Matrix.
|
|
◆ no_transform()
template<unsigned int dim, typename T >
◆ getMat()
template<unsigned int dim, typename T >
◆ getOrig()
template<unsigned int dim, typename T >
◆ operator!=()
template<unsigned int dim, typename T >
It return always false.
There is nothing to compare they cannot be differents
- Parameters
-
- Returns
- false
Definition at line 372 of file CellDecomposer.hpp.
◆ operator==()
template<unsigned int dim, typename T >
It return always true true.
There is nothing to compare
- Parameters
-
- Returns
- true
Definition at line 358 of file CellDecomposer.hpp.
◆ setTransform()
template<unsigned int dim, typename T >
◆ transform() [1/3]
template<unsigned int dim, typename T >
template<typename Mem >
__device__ __host__ T no_transform< dim, T >::transform |
( |
const encapc< 1, Point< dim, T >, Mem > & |
s, |
|
|
const size_t |
i |
|
) |
| const |
|
inline |
No transformation.
- Parameters
-
s | source point |
i | coordinate |
- Returns
- the point coordinate
Definition at line 333 of file CellDecomposer.hpp.
◆ transform() [2/3]
template<unsigned int dim, typename T >
__device__ __host__ T no_transform< dim, T >::transform |
( |
const Point< dim, T > & |
s, |
|
|
const size_t |
i |
|
) |
| const |
|
inline |
No transformation.
- Parameters
-
s | source point |
i | coordinate |
- Returns
- the source point coordinate
Definition at line 320 of file CellDecomposer.hpp.
◆ transform() [3/3]
template<unsigned int dim, typename T >
__device__ __host__ T no_transform< dim, T >::transform |
( |
const T(&) |
s[dim], |
|
|
const size_t |
i |
|
) |
| const |
|
inline |
Shift the point transformation.
- Parameters
-
s | source point |
i | coordinate |
- Returns
- the transformed coordinate
Definition at line 307 of file CellDecomposer.hpp.
◆ mat
template<unsigned int dim, typename T >
◆ orig
template<unsigned int dim, typename T >
The documentation for this class was generated from the following file: