Public Member Functions | List of all members
offsetSurface Class Reference

Extrudes by interpolating points from one surface to the other. Surfaces have to be topologically identical i.e. one has to be an offsetted version of the other. More...

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

Public Member Functions

 TypeName ("offsetSurface")
 
 offsetSurface (const dictionary &dict)
 
virtual ~offsetSurface ()
 
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 interpolating points from one surface to the other. Surfaces have to be topologically identical i.e. one has to be an offsetted version of the other.

The offsetSurfaceCoeffs dictionary entries

Property Description Required Default
baseSurface Base surface file name yes
offsetSurface Offset surface file name yes
project Project onto offsetted surface no false

Definition at line 79 of file offsetSurface.H.

Constructor & Destructor Documentation

◆ offsetSurface()

offsetSurface ( const dictionary dict)
explicit

◆ ~offsetSurface()

~offsetSurface ( )
virtual

Definition at line 85 of file offsetSurface.C.

Member Function Documentation

◆ TypeName()

TypeName ( "offsetSurface"  )

◆ operator()()

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

Implements extrudeModel.

Definition at line 92 of file offsetSurface.C.

References triangle::a(), triangle::b(), triangle::c(), PrimitivePatch< FaceList, PointField >::points(), triangle::pointToBarycentric(), and samples().

Here is the call graph for this function:

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