OGS
MeshNodesAlongSurface.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
8
#include "
MeshGeoToolsLib/SearchAllNodes.h
"
9
10
namespace
GeoLib
11
{
12
class
Surface
;
13
}
14
15
namespace
MeshLib
16
{
17
class
Mesh
;
18
}
19
20
namespace
MeshGeoToolsLib
21
{
25
class
MeshNodesAlongSurface
26
{
27
public
:
39
MeshNodesAlongSurface
(
MeshLib::Mesh
const
& mesh,
GeoLib::Surface
const
& sfc,
40
double
epsilon_radius,
41
SearchAllNodes
search_all_nodes);
42
44
MeshLib::Mesh
const
&
getMesh
()
const
;
45
50
std::vector<std::size_t>
const
&
getNodeIDs
()
const
;
51
57
GeoLib::Surface
const
&
getSurface
()
const
;
58
59
private
:
60
MeshLib::Mesh
const
&
_mesh
;
61
GeoLib::Surface
const
&
_sfc
;
62
std::vector<std::size_t>
_msh_node_ids
;
63
};
64
}
// end namespace MeshGeoToolsLib
SearchAllNodes.h
GeoLib::Surface
A Surface is represented by Triangles. It consists of a reference to a vector of (pointers to) points...
Definition
GeoLib/Surface.h:27
MeshGeoToolsLib::MeshNodesAlongSurface::_msh_node_ids
std::vector< std::size_t > _msh_node_ids
Definition
MeshNodesAlongSurface.h:62
MeshGeoToolsLib::MeshNodesAlongSurface::getNodeIDs
std::vector< std::size_t > const & getNodeIDs() const
Definition
MeshNodesAlongSurface.cpp:46
MeshGeoToolsLib::MeshNodesAlongSurface::getMesh
MeshLib::Mesh const & getMesh() const
return the mesh object
Definition
MeshNodesAlongSurface.cpp:41
MeshGeoToolsLib::MeshNodesAlongSurface::getSurface
GeoLib::Surface const & getSurface() const
Definition
MeshNodesAlongSurface.cpp:51
MeshGeoToolsLib::MeshNodesAlongSurface::_sfc
GeoLib::Surface const & _sfc
Definition
MeshNodesAlongSurface.h:61
MeshGeoToolsLib::MeshNodesAlongSurface::MeshNodesAlongSurface
MeshNodesAlongSurface(MeshLib::Mesh const &mesh, GeoLib::Surface const &sfc, double epsilon_radius, SearchAllNodes search_all_nodes)
Definition
MeshNodesAlongSurface.cpp:16
MeshGeoToolsLib::MeshNodesAlongSurface::_mesh
MeshLib::Mesh const & _mesh
Definition
MeshNodesAlongSurface.h:60
MeshLib::Mesh
Definition
Mesh.h:34
GeoLib
Definition
ProjectData.h:25
MeshGeoToolsLib
Definition
AppendLinesAlongPolyline.cpp:22
MeshGeoToolsLib::SearchAllNodes
SearchAllNodes
Definition
SearchAllNodes.h:9
MeshLib
Definition
ProjectData.h:30
MeshGeoToolsLib
MeshNodesAlongSurface.h
Generated by
1.14.0