LifeV
|
This functor is used to do some geometry checks. More...
#include <MeshUtility.hpp>
Private Attributes | |
Int | componentIndex |
Constructor & Destructor | |
GetCoordComponent () | |
Empty Constructor. More... | |
GetCoordComponent (Int i) | |
Constructor taking the component. More... | |
GetCoordComponent (const GetCoordComponent &getCoordComponent) | |
Copy constructor. More... | |
virtual | ~GetCoordComponent () |
Virtual Destructor. More... | |
Operators | |
void | operator() (Real const &x, Real const &y, Real const &z, Real ret[3]) const |
The function call operator. More... | |
This functor is used to do some geometry checks.
It is instantiated with the index of the component to be extracted from a vector of geometric coordinates.
Definition at line 320 of file MeshUtility.hpp.
Empty Constructor.
Definition at line 46 of file MeshUtility.cpp.
|
explicit |
Constructor taking the component.
i | the index of the component to be extracted from a vector of geometric coordinates |
Definition at line 49 of file MeshUtility.cpp.
|
inline |
Copy constructor.
Definition at line 337 of file MeshUtility.hpp.
|
inlinevirtual |
Virtual Destructor.
Definition at line 342 of file MeshUtility.hpp.
The function call operator.
If componentIndex is valid (0 <= 2), the function call operator will operate on a vector by returning a new vector of geometric coordinates, with the single non null component corresponding to the componentIndex.
Otherwise, the vector given as an argument will be returned unchanged.
[in] | x | first component of the input vector |
[in] | y | second component of the input vector |
[in] | z | third component of the input vector |
[out] | ret | output vector |
Definition at line 55 of file MeshUtility.cpp.
|
private |
Definition at line 368 of file MeshUtility.hpp.