Public Member Functions | List of all members
linearDirection Class Reference

Extrudes by transforming points in a specified direction by the given distance. More...

Inheritance diagram for linearDirection:
Inheritance graph
[legend]
Collaboration diagram for linearDirection:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("linearDirection")
 
 linearDirection (const dictionary &dict)
 
virtual ~linearDirection ()=default
 
point operator() (const point &surfacePoint, const vector &surfaceNormal, const label layer) const
 
- Public Member Functions inherited from extrudeModel
 TypeName ("extrudeModel")
 
 declareRunTimeSelectionTable (autoPtr, extrudeModel, dictionary,(const dictionary &dict),(dict))
 
 extrudeModel (const word &modelType, const dictionary &dict)
 
virtual ~extrudeModel ()=default
 
label nLayers () const
 
scalar expansionRatio () const
 
scalar sumThickness (const label layer) const
 

Additional Inherited Members

- Static Public Member Functions inherited from extrudeModel
static autoPtr< extrudeModelNew (const dictionary &dict)
 
- Protected Member Functions inherited from extrudeModel
 extrudeModel (const extrudeModel &)=delete
 
void operator= (const extrudeModel &)=delete
 
- Protected Attributes inherited from extrudeModel
label nLayers_
 
const scalar expansionRatio_
 
const dictionarycoeffDict_
 

Detailed Description

Extrudes by transforming points in a specified direction by the given distance.

The linearDirectionCoeffs dictionary entries

Property Description Required Default
direction The extrusion direction, normalized on input yes
thickness The extrusion thickness yes

Definition at line 68 of file linearDirection.H.

Constructor & Destructor Documentation

◆ linearDirection()

linearDirection ( const dictionary dict)
explicit

Definition at line 40 of file linearDirection.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ ~linearDirection()

virtual ~linearDirection ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "linearDirection"  )

◆ operator()()

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

Implements extrudeModel.

Definition at line 58 of file linearDirection.C.


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