![]() |
Mesh Oriented datABase
(version 5.4.1)
Array-based unstructured mesh datastructure
|
#include <NCHelper.hpp>
Public Member Functions | |
bool | operator< (const Node3D &) const |
Node3D (double x, double y, double z) | |
Public Attributes | |
double | coords [3] |
Definition at line 52 of file NCHelper.hpp.
moab::NCHelper::Node3D::Node3D | ( | double | x, |
double | y, | ||
double | z | ||
) | [inline] |
Definition at line 57 of file NCHelper.hpp.
References coords.
{
coords[0] = x;
coords[1] = y;
coords[2] = z;
}
bool moab::NCHelper::Node3D::operator< | ( | const Node3D & | other | ) | const |
Definition at line 1353 of file NCHelper.cpp.
References coords, and moab::tolerance.
{
if( coords[0] <= other.coords[0] - tolerance )
return true;
else if( coords[0] >= other.coords[0] + tolerance )
return false;
if( coords[1] <= other.coords[1] - tolerance )
return true;
else if( coords[1] >= other.coords[1] + tolerance )
return false;
if( coords[2] <= other.coords[2] - tolerance )
return true;
else if( coords[0] >= other.coords[0] + tolerance )
return false;
return false;
}
double moab::NCHelper::Node3D::coords[3] |
Definition at line 55 of file NCHelper.hpp.
Referenced by Node3D(), and operator<().