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

polyLine Class Reference

polyLine class : defines a curvedEdge in terms of a series of straight line segments. This is the basic polyLine class which implements just the line (no topology : its not derived from curvedEdge) More...

Inheritance diagram for polyLine:
Collaboration diagram for polyLine:

List of all members.


Public Member Functions

 polyLine (const pointField &ps)
 Construct from components.
vector position (const scalar) const
 Return the position of a point on the curve given by.
scalar length () const
 Return the length of the curve.

Protected Member Functions

void calcDistances ()

Protected Attributes

pointField controlPoints_
scalarList distances_
scalar lineLength_

Detailed Description

polyLine class : defines a curvedEdge in terms of a series of straight line segments. This is the basic polyLine class which implements just the line (no topology : its not derived from curvedEdge)

Source files

Definition at line 48 of file polyLine.H.


Constructor & Destructor Documentation

polyLine ( const pointField &  ps  ) 

Construct from components.


Member Function Documentation

void calcDistances (  )  [protected]

vector position ( const   scalar  )  const

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

the parameter 0 <= lambda <= 1

Reimplemented in polyLineEdge, and polySplineEdge.

scalar length (  )  const

Return the length of the curve.

Reimplemented in polyLineEdge, and polySplineEdge.


Member Data Documentation

Definition at line 55 of file polyLine.H.

scalarList distances_ [protected]

Definition at line 56 of file polyLine.H.

scalar lineLength_ [protected]

Definition at line 57 of file polyLine.H.


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