54 Ostream&
operator<<(Ostream&,
const curvedEdge&);
165 virtual scalar
length()
const = 0;
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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
curvedEdge(const pointField &points, const label start, const label end)
Construct from components.
virtual autoPtr< curvedEdge > clone() const
Clone function.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
TypeName("curvedEdge")
Runtime type information.
const pointField & points_
friend Ostream & operator<<(Ostream &, const curvedEdge &)
virtual point position(const scalar) const =0
Return the point position corresponding to the curve parameter.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
label end() const
Return label of end point.
static autoPtr< curvedEdge > New(const pointField &, Istream &)
New function which constructs and returns pointer to a curvedEdge.
declareRunTimeSelectionTable(autoPtr, curvedEdge, Istream,(const pointField &points, Istream &is),(points, is))
void operator=(const curvedEdge &)
Ostream & operator<<(Ostream &, const ensightPart &)
int compare(const curvedEdge &) const
Compare the given start and end points with this curve.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Define a curved edge that is parameterized for 0<lambda<1 between the start and end point...
virtual scalar length() const =0
Return the length of the curve.
label start() const
Return label of start point.
virtual ~curvedEdge()
Destructor.