35 if (nodes[0] == element_nodes[0])
39 return std::numeric_limits<unsigned>::max();
Definition of the Node class.
Definition of the Point3d class.
Collects error flags for mesh elements.
static bool isPntInElement(Node const *const *nodes, MathLib::Point3d const &pnt, double eps)
static ElementErrorCode validate(const Element *e)
Tests if the element is geometrically valid.
static const unsigned edge_nodes[1][1]
Constant: Local node index table for edge.
static unsigned identifyFace(Node const *const *, Node const *nodes[1])
Returns the ID of a face given an array of nodes.
static double computeVolume(Node const *const *element_nodes)
Calculates the length of a line.
double sqrDist(MathLib::Point3d const &p0, MathLib::Point3d const &p1)
bool hasZeroVolume(MeshLib::Element const &element)
Returns true if the element has zero length/area/volume.