linearNormal Class Reference

Extrudes by transforming points normal to the surface by a given distance. More...

Inheritance diagram for linearNormal:
Collaboration diagram for linearNormal:

Public Member Functions

 TypeName ("linearNormal")
 Runtime type information. More...
 
 linearNormal (const dictionary &dict)
 Construct from dictionary. More...
 
virtual ~linearNormal ()
 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 word &modelType, const dictionary &)
 Construct from dictionary. More...
 
 extrudeModel (const extrudeModel &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~extrudeModel ()
 Destructor. More...
 
label nLayers () const
 
scalar expansionRatio () const
 
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 Attributes inherited from extrudeModel
label nLayers_
 
const scalar expansionRatio_
 
const dictionarydict_
 
const dictionarycoeffDict_
 

Detailed Description

Extrudes by transforming points normal to the surface by a given distance.

Definition at line 49 of file linearNormal.H.

Constructor & Destructor Documentation

◆ linearNormal()

linearNormal ( const dictionary dict)

Construct from dictionary.

Definition at line 45 of file linearNormal.C.

References extrudeModel::coeffDict_, Foam::exit(), Foam::FatalError, FatalErrorInFunction, extrudeModel::nLayers_, dictionary::readIfPresent(), and extrudeModel::sumThickness().

Here is the call graph for this function:

◆ ~linearNormal()

~linearNormal ( )
virtual

Destructor.

Definition at line 91 of file linearNormal.C.

Member Function Documentation

◆ TypeName()

TypeName ( "linearNormal"  )

Runtime type information.

◆ operator()()

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

Implements extrudeModel.

Definition at line 98 of file linearNormal.C.


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