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

curvedEdge Class Reference

curvedEdges : library functions that will define a curvedEdge in space parameterised for 0<lambda<1 from the beginning point to the end point. This file contains the abstract base class curvedEdge. More...

Inheritance diagram for curvedEdge:
Collaboration diagram for curvedEdge:

List of all members.


Public Member Functions

 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.
bool compare (const label start, const label end) const
 Compare the given start and end points with those of this curve.
virtual vector position (const scalar) const =0
 Return the position of a point on the curve given by.
virtual scalar length () const =0
 Return the length of the curve.
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.

Protected Attributes

const pointField & points_
const label start_
const label end_

Friends

Ostream & operator<< (Ostream &, const curvedEdge &)

Detailed Description

curvedEdges : library functions that will define a curvedEdge in space parameterised for 0<lambda<1 from the beginning point to the end point. This file contains the abstract base class curvedEdge.

Source files

Definition at line 49 of file curvedEdge.H.


Constructor & Destructor Documentation

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 ~curvedEdge (  )  [inline, virtual]

Definition at line 104 of file curvedEdge.H.


Member Function Documentation

TypeName ( "curvedEdge"   ) 

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
curvedEdge  ,
Istream  ,
(const pointField &points, Istream &is)  ,
(points, is)   
)

virtual autoPtr<curvedEdge> clone (  )  const [virtual]

Clone function.

static autoPtr<curvedEdge> New ( const pointField &  ,
Istream &   
) [static]

New function which constructs and returns pointer to a curvedEdge.

label start (  )  const [inline]

Return label of start point.

Definition at line 110 of file curvedEdge.H.

label end (  )  const [inline]

Return label of end point.

Definition at line 116 of file curvedEdge.H.

References curvedEdge::start_.

bool compare ( const label  start,
const label  end 
) const [inline]

Compare the given start and end points with those of this curve.

Definition at line 122 of file curvedEdge.H.

References curvedEdge::end_.

virtual vector position ( const   scalar  )  const [pure virtual]

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

the parameter 0 <= lambda <= 1

Implemented in arcEdge, lineEdge, polyLineEdge, polySplineEdge, and simpleSplineEdge.

virtual scalar length (  )  const [pure virtual]

Return the length of the curve.

Implemented in arcEdge, lineEdge, polyLineEdge, polySplineEdge, and simpleSplineEdge.

void operator= ( const curvedEdge &   ) 


Friends And Related Function Documentation

Ostream& operator<< ( Ostream &  ,
const curvedEdge &   
) [friend]


Member Data Documentation

const pointField& points_ [protected]

Definition at line 55 of file curvedEdge.H.

const label start_ [protected]

Definition at line 56 of file curvedEdge.H.

Referenced by curvedEdge::end().

const label end_ [protected]

Definition at line 56 of file curvedEdge.H.

Referenced by curvedEdge::compare().


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