Nektar++
|
Represents a vertex in the mesh. More...
Public Member Functions | |
Vertex (double pX, double pY, double pZ, double pScalar, double factor) | |
bool | operator== (const Vertex &v) |
Public Attributes | |
int | x |
int | y |
int | z |
double | scalar |
Represents a vertex in the mesh.
Each vertex has a 3-component coordinate and a scalar value associated with it. The factor provides a mechanism to specify precision of the coordinate comparison. Although coordinates are provided as floating-point numbers, they are stored as integers. The integer value is computed as floor (x * factor) Therefore a factor of 100 would ensure a precision of 0.01 in the comparison.
Definition at line 74 of file VtkToFld.cpp.
|
inline |
Definition at line 76 of file VtkToFld.cpp.
|
inline |
double Vertex::scalar |
Definition at line 85 of file VtkToFld.cpp.
int Vertex::x |
Definition at line 82 of file VtkToFld.cpp.
Referenced by operator==().
int Vertex::y |
Definition at line 83 of file VtkToFld.cpp.
Referenced by operator==().
int Vertex::z |
Definition at line 84 of file VtkToFld.cpp.
Referenced by operator==().