46Foam::blockEdges::polyLineEdge::polyLineEdge
58Foam::blockEdges::polyLineEdge::polyLineEdge
66 polyLineEdge(
points,
edge(from, to), intermediate)
70Foam::blockEdges::polyLineEdge::polyLineEdge
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
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 defined in terms of a series of straight line segments.
scalar length() const
The length of the curve.
point position(const scalar lambda) 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 ...
polyLine(const pointField &points, const bool notImplementedClosed=false)
Construct from components.
const pointField & points() const noexcept
Return const-access to the control-points.
scalar lineLength_
The real (total) line length.
point position(const scalar) const
The point position corresponding to the curve parameter.
Container for searchableSurfaces. The collection is specified as a dictionary. For example,...
#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.
dimensionedScalar lambda("lambda", dimTime/sqr(dimLength), laminarTransport)