31 Foam::CatmullRomSpline::CatmullRomSpline
50 else if (mu > 1 - SMALL)
124 ( 2*e0 - 5*p0 + 4*p1 - e1 )
126 ( -e0 + 3*p0 - 3*p1 + e1 )
const dimensionedScalar mu
Atomic mass unit.
A series of straight line segments, which can also be interpreted as a series of control points for s...
point position(const scalar lambda) const
Return the point position corresponding to the curve parameter.
T & last()
Return the last element of the list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
T & first()
Return the first element of the list.
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"))
label nSegments() const
Return the number of line segments.
scalar length() const
Return the length of the curve.
#define notImplemented(functionName)
Issue a FatalErrorIn for a function not currently implemented.