Go to the documentation of this file.
53 Ostream&
operator<<(Ostream&,
const blockEdge&);
147 mutable label index_;
178 inline label
start()
const;
181 inline label
end()
const;
213 virtual scalar
length()
const = 0;
TypeName("blockEdge")
Runtime type information.
label end() const
Return label of end point.
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.
iNew(const dictionary &dict, const searchableSurfaces &geometry, const pointField &points)
A class for managing temporary objects.
int compare(const blockEdge &) const
Compare the given start and end points with this curve.
blockEdge(const pointField &points, const label start, const label end)
Construct from components.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
declareRunTimeSelectionTable(autoPtr, blockEdge, Istream,(const dictionary &dict, const label index, const searchableSurfaces &geometry, const pointField &points, Istream &is),(dict, index, geometry, points, is))
Define a curved edge that is parameterized for 0<lambda<1 between the start and end point.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
virtual ~blockEdge()=default
Destructor.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const pointField & points_
label start() const
Return label of start point.
autoPtr< blockEdge > operator()(Istream &is) const
virtual scalar length() const =0
Return the length of the curve.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
friend Ostream & operator<<(Ostream &, const blockEdge &)
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.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Class used for the read-construction of.
Container for searchableSurfaces. The collection is specified as a dictionary. For example,...
virtual autoPtr< blockEdge > clone() const
Clone function.
void write(Ostream &, const dictionary &) const
Write edge with variable backsubstitution.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual point position(const scalar) const =0
Return the point position corresponding to the curve parameter.