30 #include <MeshKernel/Entities.hpp>
31 #include <MeshKernel/Mesh.hpp>
32 #include <MeshKernel/Network1D.hpp>
60 Mesh1D(std::vector<Edge>
const& edges,
61 std::vector<Point>
const& nodes,
Projection
Enumerator describing the supported projections.
Definition: Definitions.hpp:41
Mesh1D()=default
Default constructor.
Point ComputeProjectedNode(UInt node, double distanceFactor) const
Compute a projected node along a line normal to the edges connected to the node.
std::vector< UInt > m_nodesNumEdges
For each node, the number of connected edges (nmk)
Definition: Mesh.hpp:468
A class derived from Mesh, which describes 1d meshes.
Definition: Mesh1D.hpp:42
A struct describing a point in a two-dimensional space.
Definition: Point.hpp:40
Contains the logic of the C++ static library.
Definition: AveragingInterpolation.hpp:36
bool IsNodeOnBoundary(UInt node) const
Inquire if a mesh 1d-node is on boundary.
Definition: Mesh1D.hpp:72
std::uint32_t UInt
Integer type used when indexing mesh graph entities.
Definition: Definitions.hpp:38
~Mesh1D() override=default
Default destructor.
A class describing a network 1d.
Definition: Network1D.hpp:39
A class describing an unstructured mesh. This class contains the shared functionality between 1d or 2...
Definition: Mesh.hpp:98