Public Member Functions | List of all members
sector Class Reference

Extrudes by rotating a surface around an axis. More...

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

Public Member Functions

 TypeName ("sector")
 
 sector (const dictionary &dict)
 
virtual ~sector ()=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 rotating a surface around an axis.

The sectorCoeffs dictionary entries

Property Description Required Default
point A point on the axis yes
axis Axis direction, normalized on input yes
angle Sector angle (degrees) yes
Note
For compatibility, accepts the entry axisPt (1812 and earlier) as equivalent to point.

Definition at line 84 of file sector.H.

Constructor & Destructor Documentation

◆ sector()

sector ( const dictionary dict)
explicit

Definition at line 42 of file sector.C.

◆ ~sector()

virtual ~sector ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "sector"  )

◆ operator()()

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

Implements extrudeModel.

Definition at line 54 of file sector.C.

References Foam::cos(), Foam::mag(), n, and Foam::sin().

Here is the call graph for this function:

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