OGS
|
Functions | |
Element const * | getProjectedElement (std::vector< const Element * > const &elements, Node const &node) |
double | getElevation (Element const &element, Node const &node) |
Returns the z-coordinate of a point projected onto the plane defined by a mesh element.
Definition at line 58 of file ProjectPointOnMesh.cpp.
References MathLib::TemplatePoint< T, DIM >::getCoords(), MeshLib::Element::getNode(), and MeshLib::FaceRule::getSurfaceNormal().
Referenced by main(), and voteMatId().
Element const * MeshLib::ProjectPointOnMesh::getProjectedElement | ( | std::vector< const Element * > const & | elements, |
Node const & | node | ||
) |
Returns the element in which the given node is located when projected onto a mesh, or nullptr if no such element was found.
Definition at line 21 of file ProjectPointOnMesh.cpp.
References MaterialPropertyLib::c, GeoLib::CW, GeoLib::getOrientationFast(), MeshLib::QUAD, and MeshLib::TRIANGLE.
Referenced by getProjectedElement(), and main().