50 Ostream&
operator<<(Ostream&,
const blockEdge&);
144 mutable label index_;
211 virtual scalar
length()
const = 0;
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Class used for the read-construction of.
autoPtr< blockEdge > operator()(Istream &is) const
iNew(const dictionary &dict, const searchableSurfaces &geometry, const pointField &points)
Define a curved edge that is parameterised for 0<lambda<1 between the start and end point.
virtual ~blockEdge()
Destructor.
virtual scalar length() const =0
Return the length of the curve.
TypeName("blockEdge")
Runtime type information.
static autoPtr< blockEdge > New(const dictionary &dict, const label index, const searchableSurfaces &geometry, const pointField &, Istream &)
New function which constructs and returns pointer to a blockEdge.
const pointField & points_
blockEdge(const pointField &points, const label start, const label end)
Construct from components.
virtual autoPtr< blockEdge > clone() const
Clone function.
label end() const
Return label of end point.
virtual point position(const scalar) const =0
Return the point position corresponding to the curve parameter.
void write(Ostream &, const dictionary &) const
Write edge with variable backsubstitution.
declareRunTimeSelectionTable(autoPtr, blockEdge, Istream,(const dictionary &dict, const label index, const searchableSurfaces &geometry, const pointField &points, Istream &is),(dict, index, geometry, points, is))
friend Ostream & operator<<(Ostream &, const blockEdge &)
static pointField appendEndPoints(const pointField &, const label start, const label end, const pointField &otherKnots)
Return a complete point field by appending the start/end points.
int compare(const blockEdge &) const
Compare the given start and end points with this curve.
label start() const
Return label of start point.
A list of keyword definitions, which are a keyword followed by any number of values (e....
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
Container for searchableSurfaces.
A class for managing temporary objects.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)