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;
Projection
Enumerator describing the supported projections.
Definition: Definitions.hpp:41
Network1D()=default
Default constructor.
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
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:36
void ComputeOffsettedChainages(double offset)
Compute the chainages at a regular offset for all polylines.
A class describing a network 1d.
Definition: Network1D.hpp:39