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