Loading [MathJax]/extensions/tex2jax.js
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
24
25namespace ApplicationUtils
26{
27 class NodeWiseMeshPartitioner;
28}
29
30namespace MeshToolsLib
31{
32class MeshRevision;
33}
34
35namespace MeshLib
36{
41{
42 /* friend classes: */
43 friend class Mesh;
45
46public:
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
65namespace fmt
66{
67template <>
68struct formatter<::MeshLib::Node> : ostream_formatter
69{
70};
71} // namespace fmt
Definition of the Point3d class.
friend std::ostream & operator<<(std::ostream &os, Node const &n)
Definition Node.cpp:39
Definition AABB.h:288