Go to the documentation of this file.
91 const bool notImplementedClosed =
false
100 const bool notImplementedClosed =
false
132 scalar
length() const noexcept;
A series of straight line segments, which can also be interpreted as a series of control points for s...
A class for managing temporary objects.
polyLine(const pointField &points, const bool notImplementedClosed=false)
Construct from components.
scalar length() const noexcept
The length of the curve.
const pointField & points() const noexcept
Return const-access to the control-points.
static tmp< pointField > concat(const point &start, const pointField &intermediate, const point &end)
Concatenate begin, intermediate and end points.
label nSegments() const noexcept
The number of line segments.
scalarList param_
The rational (0-1) cumulative parameter value for each point.
point position(const scalar) const
The point position corresponding to the curve parameter.
pointField points_
The control points or ends of each segments.
dimensionedScalar lambda("lambda", dimTime/sqr(dimLength), laminarTransport)
constexpr auto end(C &c) -> decltype(c.end())
Return iterator to the end of the container c.
An ordered pair of two objects of type <T> with first() and second() elements.
scalar lineLength_
The real (total) line length.
label localParameter(scalar &lambda) const