93 else if (lambda > 1 - small)
104 while (
param_[segmentI] < lambda)
125 else if (mu > 1 - small)
scalar lineLength_
The real line length.
void size(const label)
Override size to be inconsistent with allocated storage.
dimensionedScalar lambda(viscosity->lookup("lambda"))
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.
const dimensionedScalar mu
Atomic mass unit.
label localParameter(scalar &lambda) const
Return the line segment and the local parameter [0..1].
void setSize(const label)
Reset size of List.
dimensioned< scalar > mag(const dimensioned< Type > &)
T & last()
Return the last element of the list.
label nSegments() const
Return the number of line segments.