Go to the documentation of this file.
98 const bool notImplementedClosed =
false
A series of straight line segments, which can also be interpreted as a series of control points for s...
const pointField & points() const
Return const-access to the control-points.
polyLine(const polyLine &)
Disallow default bitwise copy construct.
label nSegments() const
Return the number of line segments.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
scalarList param_
The rational (0-1) cumulative parameter value for each point.
point position(const scalar) const
Return the point position corresponding to the curve parameter.
pointField points_
The control points or ends of each segments.
void operator=(const polyLine &)
Disallow default bitwise assignment.
An ordered pair of two objects of type <T> with first() and second() elements.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
scalar lineLength_
The real line length.
void calcParam()
Precalculate the rational cumulative parameter value.
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.