49 else if (mu > 1 - small)
123 ( 3*e0 - 6*p0 + 3*p1 )
125 ( -e0 + 3*p0 - 3*p1 + e1 )
BSpline(const pointField &knots, const bool notImplementedClosed=false)
Construct from components.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedScalar lambda(laminarTransport.lookup("lambda"))
T & first()
Return the first element of the list.
const pointField & points() const
Return const-access to the control-points.
A series of straight line segments, which can also be interpreted as a series of control points for s...
const dimensionedScalar mu
Atomic mass unit.
label localParameter(scalar &lambda) const
Return the line segment and the local parameter [0..1].
point position(const scalar lambda) const
Return the point position corresponding to the curve parameter.
T & last()
Return the last element of the list.
label nSegments() const
Return the number of line segments.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
scalar length() const
Return the length of the curve.