Public Member Functions | Private Attributes
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")
 Runtime type information. More...
 
 offsetSurface (const dictionary &dict)
 Construct from dictionary. More...
 
virtual ~offsetSurface ()
 Destructor. More...
 
point operator() (const point &surfacePoint, const vector &surfaceNormal, const label layer) const
 Return point. More...
 
- 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...
 
virtual ~extrudeModel ()
 Destructor. More...
 
label nLayers () const
 
scalar expansionRatio () const
 
scalar sumThickness (const label layer) const
 Helper: calculate cumulative relative thickness for layer. More...
 

Private Attributes

autoPtr< triSurfacebaseSurfPtr_
 surface More...
 
autoPtr< triSurfaceSearchbaseSearchPtr_
 search engine More...
 
autoPtr< triSurfaceoffsetSurfPtr_
 offsets More...
 
autoPtr< triSurfaceSearchoffsetSearchPtr_
 search engine More...
 
const Switch project_
 

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
 extrudeModel (const extrudeModel &)
 Disallow default bitwise copy construct. More...
 
void operator= (const extrudeModel &)
 Disallow default bitwise assignment. More...
 
- Protected Attributes inherited from extrudeModel
label nLayers_
 
const scalar expansionRatio_
 
const dictionarydict_
 
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.

Definition at line 56 of file offsetSurface.H.

Constructor & Destructor Documentation

◆ offsetSurface()

offsetSurface ( const dictionary dict)

◆ ~offsetSurface()

~offsetSurface ( )
virtual

Destructor.

Definition at line 89 of file offsetSurface.C.

Member Function Documentation

◆ TypeName()

TypeName ( "offsetSurface"  )

Runtime type information.

◆ operator()()

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

Return point.

Either return interpolatedPoint or re-project onto surface (since

snapping might not have do so exactly)

Implements extrudeModel.

Definition at line 96 of file offsetSurface.C.

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

Here is the call graph for this function:

Field Documentation

◆ baseSurfPtr_

autoPtr<triSurface> baseSurfPtr_
private

surface

Definition at line 63 of file offsetSurface.H.

Referenced by offsetSurface::offsetSurface().

◆ baseSearchPtr_

autoPtr<triSurfaceSearch> baseSearchPtr_
private

search engine

Definition at line 66 of file offsetSurface.H.

Referenced by offsetSurface::offsetSurface().

◆ offsetSurfPtr_

autoPtr<triSurface> offsetSurfPtr_
private

offsets

Definition at line 69 of file offsetSurface.H.

Referenced by offsetSurface::offsetSurface().

◆ offsetSearchPtr_

autoPtr<triSurfaceSearch> offsetSearchPtr_
private

search engine

Definition at line 72 of file offsetSurface.H.

Referenced by offsetSurface::offsetSurface().

◆ project_

const Switch project_
private

Definition at line 75 of file offsetSurface.H.


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