path Class Reference

Extrudes by transforming points along an curve defined as an edgeMesh. More...

Inheritance diagram for path:
Collaboration diagram for path:

Public Member Functions

 TypeName ("path")
 Runtime type information. More...
 
 path (const dictionary &dict)
 Construct from dictionary. More...
 
virtual ~path ()
 Destructor. More...
 
point operator() (const point &surfacePoint, const vector &surfaceNormal, const label layer) const
 
- Public Member Functions inherited from extrudeModel
 TypeName ("extrudeModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, extrudeModel, dictionary,(const dictionary &dict),(dict))
 Declare runtime constructor selection table. More...
 
 extrudeModel (const dictionary &)
 Construct from dictionary. More...
 
 extrudeModel (const extrudeModel &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~extrudeModel ()
 Destructor. More...
 
label nLayers () const
 Return the number of layers in the extrusion. More...
 
scalar expansionRatio () const
 Return the extrusion expansion ratio. More...
 
void operator= (const extrudeModel &)=delete
 Disallow default bitwise assignment. More...
 
scalar sumThickness (const label layer) const
 Helper: calculate cumulative relative thickness for layer. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from extrudeModel
static autoPtr< extrudeModelNew (const dictionary &)
 Select null constructed. More...
 
- Protected Member Functions inherited from extrudeModel
const dictionarycoeffDict (const dictionary &dict) const
 Backward compatibility function. More...
 
- Protected Attributes inherited from extrudeModel
label nLayers_
 
const scalar expansionRatio_
 

Detailed Description

Extrudes by transforming points along an curve defined as an edgeMesh.

Uses rotation minimising frames (RMF) algorithm, which is based on the Frenet-Serret equations, and described in:

    Wang, W., Jüttler, B., Zheng, D., & Liu, Y. (2008).
    Computation of rotation minimizing frames.
    ACM Transactions on Graphics (TOG), 27(1), 1-18.

Definition at line 59 of file path.H.

Constructor & Destructor Documentation

◆ path()

path ( const dictionary dict)

Construct from dictionary.

Definition at line 89 of file path.C.

References UList< T >::first(), Foam::mag(), Foam::normalised(), points, List< T >::size(), and Tensor< Cmpt >::T().

Here is the call graph for this function:

◆ ~path()

~path ( )
virtual

Destructor.

Definition at line 119 of file path.C.

Member Function Documentation

◆ TypeName()

TypeName ( "path"  )

Runtime type information.

◆ operator()()

Foam::point operator() ( const point surfacePoint,
const vector surfaceNormal,
const label  layer 
) const
virtual

Implements extrudeModel.

Definition at line 144 of file path.C.

References points, Foam::R(), and Vector< Cmpt >::x().

Here is the call graph for this function:

The documentation for this class was generated from the following files: