OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

BSpline Class Reference

BSpline : cubic spline going through all the knots. More...

Inheritance diagram for BSpline:
Collaboration diagram for BSpline:

List of all members.


Public Member Functions

 BSpline (const pointField &knots)
 Construct from components.
 BSpline (const pointField &knots, const vector &fstend, const vector &sndend)
 Construct from components.
vector realPosition (scalar lambda)
 Return the real position of a point on the curve given by.
vector position (const scalar lambda) const
 Return the position of a point on the curve given by.
scalar length () const
 Return the length of the curve.

Detailed Description

BSpline : cubic spline going through all the knots.

Source files

Definition at line 44 of file BSpline.H.


Constructor & Destructor Documentation

BSpline ( const pointField &  knots  ) 

Construct from components.

BSpline ( const pointField &  knots,
const vector &  fstend,
const vector &  sndend 
)

Construct from components.


Member Function Documentation

vector realPosition ( scalar  lambda  ) 

Return the real position of a point on the curve given by.

the parameter 0 <= lambda <= 1

vector position ( const scalar  lambda  )  const

Return the position of a point on the curve given by.

the parameter 0 <= lambda <= 1

Reimplemented from spline.

Reimplemented in simpleSplineEdge.

scalar length (  )  const

Return the length of the curve.

Reimplemented from spline.

Reimplemented in simpleSplineEdge.


The documentation for this class was generated from the following file:
  • applications/utilities/mesh/generation/blockMesh/curvedEdges/BSpline.H
Copyright © 2000-2009 OpenCFD Ltd