Collaboration diagram for zAxis:Public Member Functions | |
| zAxis (const realx3 &lp1, const realx3 &lp2) | |
| real | length () const |
| realx3 | transferToZ (const realx3 &p) const |
| realx3 | transferBackZ (const realx3 &p) const |
Private Types | |
| using | ArrayType = array2D< real, 3uL, 3uL > |
Private Member Functions | |
| void | makeTransMatrix (const realx3 &v) |
Private Attributes | |
| realx3 | p1_ |
| the origin of the transformed coord More... | |
| realx3 | p2_ |
| the direction vector of rotated coordinates More... | |
| ArrayType | rotMat_ |
| transformation matrix to rotate original coordinates to rotated coordinates More... | |
| ArrayType | invRotMat_ |
| rotation matrix to rotate back from rotated coordinates to the original axis More... | |
Definition at line 25 of file zAxis.cpp.
References pFlow::endl(), pFlow::equal(), fatalErrorInFunction, fatalExit, and zAxis::makeTransMatrix().
Here is the call graph for this function:
|
private |
Definition at line 61 of file zAxis.cpp.
References pFlow::abs(), cross(), dot(), normalize(), pFlow::smallValue, and pFlow::transpose().
Referenced by zAxis::zAxis().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 66 of file zAxis.hpp.
References length(), zAxis::p1_, and zAxis::p2_.
Referenced by cylinderWall::createCylinder().
Here is the call graph for this function:
Here is the caller graph for this function:| pFlow::realx3 transferToZ | ( | const realx3 & | p | ) | const |
Definition at line 39 of file zAxis.cpp.
References pFlow::MatMul().
Here is the call graph for this function:| pFlow::realx3 transferBackZ | ( | const realx3 & | p | ) | const |
Definition at line 50 of file zAxis.cpp.
References pFlow::MatMul(), triple< T >::x(), triple< T >::y(), and triple< T >::z().
Referenced by cylinder::calculateParams(), and cylinderWall::createCylinder().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
the origin of the transformed coord
Definition at line 46 of file zAxis.hpp.
Referenced by zAxis::length().
|
private |
the direction vector of rotated coordinates
Definition at line 49 of file zAxis.hpp.
Referenced by zAxis::length().
|
private |
|
private |