91 const bool notImplementedClosed =
false
100 const bool notImplementedClosed =
false
scalarList param_
The rational (0-1) cumulative parameter value for each point.
polyLine(const pointField &points, const bool notImplementedClosed=false)
Construct from components.
const pointField & points() const noexcept
Return const-access to the control-points.
label localParameter(scalar &lambda) const
Return the line segment and the local parameter [0..1] corresponding to the global lambda [0....
scalar length() const noexcept
The length of the curve.
void calcParam()
Precalculate the rational cumulative parameter value and the line-length.
pointField points_
The control points or ends of each segments.
static tmp< pointField > concat(const point &start, const pointField &intermediate, const point &end)
Concatenate begin, intermediate and end points.
scalar lineLength_
The real (total) line length.
label nSegments() const noexcept
The number of line segments.
point position(const scalar) const
The point position corresponding to the curve parameter.
A class for managing temporary objects.
vector point
Point is a vector.
vectorField pointField
pointField is a vectorField.
List< scalar > scalarList
List of scalar.
dimensionedScalar lambda("lambda", dimTime/sqr(dimLength), laminarTransport)