89 const bool notImplementedClosed =
false
An ordered pair of two objects of type <T> with first() and second() elements.
A series of straight line segments, which can also be interpreted as a series of control points for s...
label nSegments() const
Return the number of line segments.
scalarList param_
The rational (0-1) cumulative parameter value for each point.
scalar length() const
Return the length of the curve.
polyLine(const pointField &, const bool notImplementedClosed=false)
Construct from components.
label localParameter(scalar &lambda) const
Return the line segment and the local parameter [0..1].
void operator=(const polyLine &)=delete
Disallow default bitwise assignment.
void calcParam()
Precalculate the rational cumulative parameter value.
pointField points_
The control points or ends of each segments.
scalar lineLength_
The real line length.
const pointField & points() const
Return const-access to the control-points.
point position(const scalar) const
Return the point position corresponding to the curve parameter.
dimensionedScalar lambda(viscosity->lookup("lambda"))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.