Define a curved edge that is parameterized for 0<lambda<1 between the start and end point. More...
Public Member Functions  
TypeName ("curvedEdge")  
Runtime type information. More...  
declareRunTimeSelectionTable (autoPtr, curvedEdge, Istream,(const pointField &points, Istream &is),(points, is))  
curvedEdge (const pointField &points, const label start, const label end)  
Construct from components. More...  
curvedEdge (const pointField &, Istream &)  
Construct from Istream setting pointsList. More...  
curvedEdge (const curvedEdge &)  
Copy construct. More...  
virtual autoPtr< curvedEdge >  clone () const 
Clone function. More...  
virtual  ~curvedEdge () 
Destructor. More...  
label  start () const 
Return label of start point. More...  
label  end () const 
Return label of end point. More...  
int  compare (const curvedEdge &) const 
Compare the given start and end points with this curve. More...  
int  compare (const edge &) const 
Compare the given start and end points with this curve. More...  
int  compare (const label start, const label end) const 
Compare the given start and end points with this curve. More...  
virtual point  position (const scalar) const =0 
Return the point position corresponding to the curve parameter. More...  
virtual scalar  length () const =0 
Return the length of the curve. More...  
void  operator= (const curvedEdge &) 
Static Public Member Functions  
static autoPtr< curvedEdge >  New (const pointField &, Istream &) 
New function which constructs and returns pointer to a curvedEdge. More...  
Static Protected Member Functions  
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. More...  
Protected Attributes  
const pointField &  points_ 
const label  start_ 
const label  end_ 
Friends  
Ostream &  operator<< (Ostream &, const curvedEdge &) 
Define a curved edge that is parameterized for 0<lambda<1 between the start and end point.
Definition at line 60 of file curvedEdge.H.
curvedEdge  (  const pointField &  points, 
const label  start,  
const label  end  
) 
Construct from components.
Definition at line 41 of file curvedEdge.C.
curvedEdge  (  const pointField &  points, 
Istream &  is  
) 
Construct from Istream setting pointsList.
Definition at line 53 of file curvedEdge.C.
curvedEdge  (  const curvedEdge &  c  ) 
Copy construct.
Definition at line 61 of file curvedEdge.C.

inlinevirtual 
Destructor.
Definition at line 127 of file curvedEdge.H.
References curvedEdge::compare(), curvedEdge::end(), curvedEdge::length(), curvedEdge::operator<<, curvedEdge::operator=(), curvedEdge::position(), and curvedEdge::start().

staticprotected 
Return a complete point field by appending the start/end points.
to the given list
Definition at line 109 of file curvedEdge.C.
References curvedEdge::end(), forAll, List< T >::size(), and curvedEdge::start().
Referenced by curvedEdge::New().
TypeName  (  "curvedEdge"  ) 
Runtime type information.
declareRunTimeSelectionTable  (  autoPtr  , 
curvedEdge  ,  
Istream  ,  
(const pointField &points, Istream &is)  ,  
(points, is)  
) 

virtual 
Clone function.
Definition at line 69 of file curvedEdge.C.
References curvedEdge::New(), and NotImplemented.

static 
New function which constructs and returns pointer to a curvedEdge.
Definition at line 77 of file curvedEdge.C.
References Foam::abort(), curvedEdge::appendEndPoints(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, InfoInFunction, Foam::nl, and points.
Referenced by curvedEdge::clone().

inline 
Return label of start point.
Definition at line 28 of file curvedEdgeI.H.
References curvedEdge::start_.
Referenced by curvedEdge::appendEndPoints(), curvedEdge::compare(), and curvedEdge::~curvedEdge().

inline 
Return label of end point.
Definition at line 34 of file curvedEdgeI.H.
References curvedEdge::end_.
Referenced by curvedEdge::appendEndPoints(), curvedEdge::compare(), and curvedEdge::~curvedEdge().

inline 
Compare the given start and end points with this curve.
Return:
Definition at line 57 of file curvedEdgeI.H.
References curvedEdge::end(), and curvedEdge::start().
Referenced by curvedEdge::compare(), and curvedEdge::~curvedEdge().

inline 
Compare the given start and end points with this curve.
Return:
Definition at line 63 of file curvedEdgeI.H.
References curvedEdge::compare(), edge::end(), and edge::start().
Compare the given start and end points with this curve.
Return:
Definition at line 40 of file curvedEdgeI.H.
References curvedEdge::end_, and curvedEdge::start_.

pure virtual 
Return the point position corresponding to the curve parameter.
0 <= lambda <= 1
Implemented in arcEdge, BSplineEdge, polyLineEdge, splineEdge, and lineEdge.
Referenced by lineDivide::lineDivide(), and curvedEdge::~curvedEdge().

pure virtual 
Return the length of the curve.
Implemented in arcEdge, BSplineEdge, polyLineEdge, splineEdge, and lineEdge.
Referenced by curvedEdge::~curvedEdge().
void operator=  (  const curvedEdge &  ) 
Definition at line 134 of file curvedEdge.C.
References NotImplemented.
Referenced by curvedEdge::~curvedEdge().

friend 
Referenced by curvedEdge::~curvedEdge().

protected 
Definition at line 66 of file curvedEdge.H.
Referenced by lineEdge::length(), and lineEdge::position().

protected 
Definition at line 67 of file curvedEdge.H.
Referenced by curvedEdge::compare(), lineEdge::length(), Foam::operator<<(), lineEdge::position(), and curvedEdge::start().

protected 
Definition at line 68 of file curvedEdge.H.
Referenced by curvedEdge::compare(), curvedEdge::end(), lineEdge::length(), Foam::operator<<(), and lineEdge::position().