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,
A class derived from Mesh, which describes 1d meshes.
Definition Mesh1D.hpp:43
~Mesh1D() override=default
Default destructor.
Mesh1D(Projection projection)
Construct a mesh1d using only the projection.
Mesh1D()=default
Default constructor.
Mesh1D(Network1D &network1d, double minFaceSize)
Constructs a mesh 1d from a network 1d. The network contains the chainages where the discratization p...
Mesh1D(std::vector< Edge > const &edges, std::vector< Point > const &nodes, Projection projection)
Construct a mesh1d starting from the edges and nodes.
Point ComputeProjectedNode(UInt node, double distanceFactor) const
Compute a projected node along a line normal to the edges connected to the node.
A class describing an unstructured mesh. This class contains the shared functionality between 1d or 2...
Definition Mesh.hpp:99
A class describing a network 1d.
Definition Network1D.hpp:40
A struct describing a point in a two-dimensional space.
Definition Point.hpp:41
Contains the logic of the C++ static library.
Definition AveragingInterpolation.hpp:37
Projection
Enumerator describing the supported projections.
Definition Definitions.hpp:43
std::uint32_t UInt
Integer type used when indexing mesh graph entities.
Definition Definitions.hpp:39