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

spline Class Reference

spline class : define a basic spline on nKnots knots - this does not go anywhere near these knots (will act as a base type for various splines that will have real uses) More...

Inheritance diagram for spline:
Collaboration diagram for spline:

List of all members.


Public Member Functions

 spline (const pointField &)
 Construct from components.
label nKnots () const
 Return the number of knots in the spline.
vector position (const scalar) const
 Return the position of a point on the curve given by.
scalar length () const
 Return the length of the spline curve.

Detailed Description

spline class : define a basic spline on nKnots knots - this does not go anywhere near these knots (will act as a base type for various splines that will have real uses)

Source files

Definition at line 46 of file spline.H.


Constructor & Destructor Documentation

spline ( const pointField &   ) 

Construct from components.


Member Function Documentation

label nKnots (  )  const [inline]

Return the number of knots in the spline.

Definition at line 73 of file spline.H.

vector position ( const   scalar  )  const

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

the parameter 0 <= lambda <= 1

Reimplemented in BSpline, and simpleSplineEdge.

scalar length (  )  const

Return the length of the spline curve.

Reimplemented in BSpline, and simpleSplineEdge.


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