20 *element_nodes[2], *element_nodes[3]);
Definition of the Node class.
Collects error flags for mesh elements.
virtual bool testElementNodeOrder() const =0
static bool isPntInElement(Node const *const *nodes, MathLib::Point3d const &pnt, double eps)
static double computeVolume(Node const *const *element_nodes)
Calculates the volume of a tetrahedron.
static ElementErrorCode validate(const Element *e)
double calcTetrahedronVolume(MathLib::Point3d const &a, MathLib::Point3d const &b, MathLib::Point3d const &c, MathLib::Point3d const &d)
bool isPointInTetrahedron(MathLib::Point3d const &p, MathLib::Point3d const &a, MathLib::Point3d const &b, MathLib::Point3d const &c, MathLib::Point3d const &d, double eps)
bool hasZeroVolume(MeshLib::Element const &element)
Returns true if the element has zero length/area/volume.