53Foam::blockEdges::splineEdge::splineEdge
68Foam::blockEdges::splineEdge::splineEdge
76 splineEdge(
points,
edge(from,to), internalPoints)
80Foam::blockEdges::splineEdge::splineEdge
101 vector tangent0Ignored(is);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
An implementation of Catmull-Rom splines (sometimes known as Overhauser splines).
scalar length() const
The length of the curve.
point position(const scalar lambda) const
The point position corresponding to the curve parameter.
CatmullRomSpline(const pointField &knots, const bool notImplementedClosed=false)
Construct from components.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void putBack(const token &tok)
Put back a token (copy). Only a single put back is permitted.
Define a curved edge that is parameterized for 0<lambda<1 between the start/end points.
blockEdge(const pointField &points, const label from, const label to)
Construct from components.
const point & lastPoint() const
The location of the last point.
const point & firstPoint() const
The location of the first point.
A blockEdge interface for Catmull-Rom splines.
virtual scalar length() const
The length of the spline curve.
virtual point position(const scalar) const
The point position corresponding to the curve parameter.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
An edge is a list of two vertex labels. This can correspond to a directed graph edge or an edge on a ...
A series of straight line segments, which can also be interpreted as a series of control points for s...
polyLine(const pointField &points, const bool notImplementedClosed=false)
Construct from components.
const pointField & points() const noexcept
Return const-access to the control-points.
static tmp< pointField > concat(const point &start, const pointField &intermediate, const point &end)
Concatenate begin, intermediate and end points.
Container for searchableSurfaces. The collection is specified as a dictionary. For example,...
A token holds an item read from Istream.
@ BEGIN_LIST
Begin list [isseparator].
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
A namespace for various blockEdge types.
vector point
Point is a vector.
vectorField pointField
pointField is a vectorField.