|
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 34 of file VtkToFld.cpp.
|
inline |
Definition at line 36 of file VtkToFld.cpp.
|
inline |
| double Vertex::scalar |
Definition at line 45 of file VtkToFld.cpp.
| int Vertex::x |
Definition at line 42 of file VtkToFld.cpp.
Referenced by operator==().
| int Vertex::y |
Definition at line 43 of file VtkToFld.cpp.
Referenced by operator==().
| int Vertex::z |
Definition at line 44 of file VtkToFld.cpp.
Referenced by operator==().