OGS
Node.h
Go to the documentation of this file.
1
15
#pragma once
16
17
#include <spdlog/fmt/ostr.h>
18
19
#include <cstdlib>
20
#include <limits>
21
#include <vector>
22
23
#include "
MathLib/Point3dWithID.h
"
24
25
namespace
ApplicationUtils
26
{
27
class
NodeWiseMeshPartitioner;
28
}
29
30
namespace
MeshToolsLib
31
{
32
class
MeshRevision
;
33
}
34
35
namespace
MeshLib
36
{
40
class
Node
:
public
MathLib::Point3dWithID
41
{
42
/* friend classes: */
43
friend
class
Mesh
;
44
friend
class
MeshToolsLib::MeshRevision
;
45
46
public
:
48
explicit
Node
(
const
double
coords[3],
49
std::size_t
id
= std::numeric_limits<std::size_t>::max());
50
52
explicit
Node
(std::array<double, 3>
const
& coords,
53
std::size_t
id
= std::numeric_limits<std::size_t>::max());
54
56
Node
(
double
x,
double
y,
double
z, std::size_t
id
= std::numeric_limits<std::size_t>::max());
57
59
Node
(
const
Node
&node);
60
61
friend
std::ostream&
operator<<
(std::ostream& os,
Node
const
& n);
62
};
/* class */
63
}
// namespace MeshLib
64
65
namespace
fmt
66
{
67
template
<>
68
struct
formatter<::
MeshLib::Node
> : ostream_formatter
69
{
70
};
71
}
// namespace fmt
Point3dWithID.h
Definition of the Point3d class.
MathLib::Point3dWithID
Definition
Point3dWithID.h:25
MeshLib::Mesh
Definition
Mesh.h:45
MeshLib::Node
Definition
Node.h:41
MeshLib::Node::operator<<
friend std::ostream & operator<<(std::ostream &os, Node const &n)
Definition
Node.cpp:39
MeshToolsLib::MeshRevision
Definition
MeshRevision.h:36
ApplicationUtils
Definition
ComputeNaturalCoordsAlgorithm.h:25
MeshLib
Definition
ProjectData.h:41
MeshLib::MeshItemType::Node
@ Node
MeshToolsLib
Definition
Node.h:31
fmt
Definition
AABB.h:288
MeshLib
Node.h
Generated by
1.12.0