OGS
ProjectPointOnMesh.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <vector>
7
9#include "MeshLib/Node.h"
10
11namespace MeshToolsLib
12{
13namespace ProjectPointOnMesh
14{
15
18MeshLib::Element const* getProjectedElement(
19 std::vector<const MeshLib::Element*> const& elements,
20 MathLib::Point3d const& node);
21
24double getElevation(MeshLib::Element const& element,
25 MathLib::Point3d const& node);
26
27} // namespace ProjectPointOnMesh
28
29} // namespace MeshToolsLib
double getElevation(MeshLib::Element const &element, MathLib::Point3d const &node)
MeshLib::Element const * getProjectedElement(std::vector< const MeshLib::Element * > const &elements, MathLib::Point3d const &node)