77 if (lambda < -small || lambda > 1+small)
80 <<
"Parameter out of range, lambda = " << lambda
84 return points_[start_] + lambda * (points_[end_] - points_[start_]);
90 return mag(points_[end_] - points_[start_]);
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
scalar length() const
Return the length of the curve.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Macros for easy insertion into run-time selection tables.
Container for searchableSurfaces.
errorManip< error > abort(error &err)
point position(const scalar) const
Return the point position corresponding to the curve parameter.
defineTypeNameAndDebug(arcEdge, 0)
addToRunTimeSelectionTable(blockEdge, arcEdge, Istream)
Define a curved edge that is parameterized for 0<lambda<1 between the start and end point...
virtual ~lineEdge()
Destructor.
dimensionedScalar lambda(laminarTransport.lookup("lambda"))
dimensioned< scalar > mag(const dimensioned< Type > &)
lineEdge(const pointField &, const label start, const label end)
Construct from components.