Go to the documentation of this file.
75 if (lambda < -SMALL || lambda > 1 + SMALL)
78 <<
"Limit parameter to [0-1] range: " <<
lambda <<
nl;
86 else if (
lambda >= 1 - SMALL)
97 return mag(points_[end_] - points_[start_]);
#define InfoInFunction
Report an information message using Foam::Info.
lineEdge(const pointField &points, const label start, const label end)
Construct from components.
Define a curved edge that is parameterized for 0<lambda<1 between the start/end points.
defineTypeNameAndDebug(arcEdge, 0)
addToRunTimeSelectionTable(blockEdge, arcEdge, Istream)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const pointField & points_
The referenced point field.
const label start_
Index of the start point.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
dimensionedScalar lambda("lambda", dimTime/sqr(dimLength), laminarTransport)
Macros for easy insertion into run-time selection tables.
constexpr auto end(C &c) -> decltype(c.end())
Return iterator to the end of the container c.
const label end_
Index of the end point.
scalar length() const
The length of the curve.
Container for searchableSurfaces. The collection is specified as a dictionary. For example,...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
point position(const scalar) const
The point position corresponding to the curve parameter.