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