30#include <MeshKernel/Entities.hpp>
52 Network1D(std::vector<std::vector<Point>>
const& polyLines,
61 double fixedChainagesOffset);
74 std::vector<std::vector<Point>> m_polyLines;
75 std::vector<std::vector<double>> m_chainages;
A class describing a network 1d.
Definition Network1D.hpp:40
Network1D(Projection projection)
std::vector< std::vector< Point > > ComputeDiscretizationsFromChainages()
Computes the discretization points from the chainages for all polylines.
Projection m_projection
The projection used.
Definition Network1D.hpp:71
Network1D(std::vector< std::vector< Point > > const &polyLines, Projection projection)
Construct a mesh1d by discretizing polyLines.
void ComputeOffsettedChainages(double offset)
Compute the chainages at a regular offset for all polylines.
Network1D()=default
Default constructor.
void ComputeFixedChainages(std::vector< std::vector< double > > const &fixedChainagesByPolyline, double minFaceSize, double fixedChainagesOffset)
Compute the chainages from fixed point locations.
Contains the logic of the C++ static library.
Definition AveragingInterpolation.hpp:37
Projection
Enumerator describing the supported projections.
Definition Definitions.hpp:43