OGS
MeshNodesAlongPolyline.h
Go to the documentation of this file.
1
12
#pragma once
13
14
#include <vector>
15
16
#include "
MeshGeoToolsLib/SearchAllNodes.h
"
17
18
namespace
GeoLib
19
{
20
class
Polyline;
21
}
22
23
namespace
MeshLib
24
{
25
class
Mesh;
26
}
27
28
namespace
MeshGeoToolsLib
29
{
36
class
MeshNodesAlongPolyline
37
{
38
public
:
49
MeshNodesAlongPolyline
(
50
MeshLib::Mesh
const
& mesh,
GeoLib::Polyline
const
& ply,
51
double
epsilon_radius,
52
SearchAllNodes
search_all_nodes);
53
55
MeshLib::Mesh
const
&
getMesh
()
const
;
56
61
std::vector<std::size_t>
const
&
getNodeIDs
()
const
;
62
68
GeoLib::Polyline
const
&
getPolyline
()
const
;
69
70
private
:
71
MeshLib::Mesh
const
&
_mesh
;
72
GeoLib::Polyline
const
&
_ply
;
73
std::vector<std::size_t>
_msh_node_ids
;
74
std::vector<double>
_dist_of_proj_node_from_ply_start
;
75
};
76
}
// end namespace MeshGeoToolsLib
SearchAllNodes.h
GeoLib::Polyline
Class Polyline consists mainly of a reference to a point vector and a vector that stores the indices ...
Definition
Polyline.h:40
MeshGeoToolsLib::MeshNodesAlongPolyline
Definition
MeshNodesAlongPolyline.h:37
MeshGeoToolsLib::MeshNodesAlongPolyline::_mesh
MeshLib::Mesh const & _mesh
Definition
MeshNodesAlongPolyline.h:71
MeshGeoToolsLib::MeshNodesAlongPolyline::_ply
GeoLib::Polyline const & _ply
Definition
MeshNodesAlongPolyline.h:72
MeshGeoToolsLib::MeshNodesAlongPolyline::getNodeIDs
std::vector< std::size_t > const & getNodeIDs() const
Definition
MeshNodesAlongPolyline.cpp:58
MeshGeoToolsLib::MeshNodesAlongPolyline::getPolyline
GeoLib::Polyline const & getPolyline() const
Definition
MeshNodesAlongPolyline.cpp:63
MeshGeoToolsLib::MeshNodesAlongPolyline::getMesh
MeshLib::Mesh const & getMesh() const
return the mesh object
Definition
MeshNodesAlongPolyline.cpp:53
MeshGeoToolsLib::MeshNodesAlongPolyline::MeshNodesAlongPolyline
MeshNodesAlongPolyline(MeshLib::Mesh const &mesh, GeoLib::Polyline const &ply, double epsilon_radius, SearchAllNodes search_all_nodes)
Definition
MeshNodesAlongPolyline.cpp:24
MeshGeoToolsLib::MeshNodesAlongPolyline::_msh_node_ids
std::vector< std::size_t > _msh_node_ids
Definition
MeshNodesAlongPolyline.h:73
MeshGeoToolsLib::MeshNodesAlongPolyline::_dist_of_proj_node_from_ply_start
std::vector< double > _dist_of_proj_node_from_ply_start
Definition
MeshNodesAlongPolyline.h:74
MeshLib::Mesh
Definition
Mesh.h:43
GeoLib
Definition
ProjectData.h:36
MeshGeoToolsLib
Definition
AppendLinesAlongPolyline.cpp:24
MeshGeoToolsLib::SearchAllNodes
SearchAllNodes
Definition
SearchAllNodes.h:14
MeshLib
Definition
ProjectData.h:41
MeshGeoToolsLib
MeshNodesAlongPolyline.h
Generated by
1.12.0