93 else if (lambda > 1 - small)
104 while (
param_[segmentI] < lambda)
125 else if (mu > 1 - small)
scalar lineLength_
The real line length.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void size(const label)
Override size to be inconsistent with allocated storage.
pointField points_
The control points or ends of each segments.
scalar length() const
Return the length of the curve.
T & first()
Return the first element of the list.
point position(const scalar) const
Return the point position corresponding to the curve parameter.
void calcParam()
Precalculate the rational cumulative parameter value.
const pointField & points() const
Return const-access to the control-points.
polyLine(const pointField &, const bool notImplementedClosed=false)
Construct from components.
scalarList param_
The rational (0-1) cumulative parameter value for each point.
label localParameter(scalar &lambda) const
Return the line segment and the local parameter [0..1].
void setSize(const label)
Reset size of List.
const dimensionedScalar & mu
Atomic mass unit.
dimensionedScalar lambda(laminarTransport.lookup("lambda"))
dimensioned< scalar > mag(const dimensioned< Type > &)
T & last()
Return the last element of the list.
label nSegments() const
Return the number of line segments.