A curvedEdge interface for Catmull-Rom splines. More...
A curvedEdge interface for Catmull-Rom splines.
Definition at line 54 of file splineEdge.H.
Public Member Functions | |
TypeName ("spline") | |
Runtime type information. | |
splineEdge (const pointField &, const label start, const label end, const pointField &internalPoints) | |
Construct from components. | |
splineEdge (const pointField &, Istream &) | |
Construct from Istream, setting pointsList. | |
virtual | ~splineEdge () |
Destructor. | |
virtual point | position (const scalar) const |
Return the point position corresponding to the curve parameter. | |
virtual scalar | length () const |
Return the length of the spline curve (not implemented) | |
![]() | |
TypeName ("curvedEdge") | |
Runtime type information. | |
declareRunTimeSelectionTable (autoPtr, curvedEdge, Istream,(const pointField &points, Istream &is),(points, is)) | |
curvedEdge (const pointField &points, const label start, const label end) | |
Construct from components. | |
curvedEdge (const pointField &, Istream &) | |
Construct from Istream setting pointsList. | |
curvedEdge (const curvedEdge &) | |
Copy construct. | |
virtual autoPtr< curvedEdge > | clone () const |
Clone function. | |
virtual | ~curvedEdge () |
label | start () const |
Return label of start point. | |
label | end () const |
Return label of end point. | |
int | compare (const curvedEdge &) const |
Compare the given start and end points with this curve. | |
int | compare (const edge &) const |
Compare the given start and end points with this curve. | |
int | compare (const label start, const label end) const |
Compare the given start and end points with this curve. | |
void | operator= (const curvedEdge &) |
![]() | |
CatmullRomSpline (const pointField &knots, const bool notImplementedClosed=false) | |
Construct from components. | |
point | position (const label segment, const scalar lambda) const |
Return the point position corresponding to the local parameter. | |
![]() | |
polyLine (const pointField &, const bool notImplementedClosed=false) | |
Construct from components. | |
const pointField & | points () const |
Return const-access to the control-points. | |
label | nSegments () const |
Return the number of line segments. |
Additional Inherited Members | |
![]() | |
static autoPtr< curvedEdge > | New (const pointField &, Istream &) |
New function which constructs and returns pointer to a curvedEdge. | |
![]() | |
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. | |
![]() | |
const pointField & | points_ |
const label | start_ |
const label | end_ |
splineEdge | ( | const pointField & | , |
const label | start, | ||
const label | end, | ||
const pointField & | internalPoints | ||
) |
Construct from components.
splineEdge | ( | const pointField & | , |
Istream & | |||
) |
Construct from Istream, setting pointsList.
|
virtual |
Destructor.
TypeName | ( | "spline" | ) |
Runtime type information.
|
virtual |
Return the point position corresponding to the curve parameter.
0 <= lambda <= 1
Reimplemented from CatmullRomSpline.
|
virtual |
Return the length of the spline curve (not implemented)
Reimplemented from CatmullRomSpline.