Go to the documentation of this file.
37 namespace extrudeModels
52 refPoint_(coeffDict_.getCompat<
point>(
"point", {{
"axisPt", -1812}})),
54 angle_(
degToRad(coeffDict_.get<scalar>(
"angle")))
60 point sector::operator()
62 const point& surfacePoint,
63 const vector& surfaceNormal,
75 sliceAngle = -angle_/2.0;
79 sliceAngle = angle_/2.0;
84 sliceAngle = angle_*sumThickness(layer);
90 point d = surfacePoint - refPoint_;
92 d -= (axis_ & d)*axis_;
96 point edgePt = surfacePoint - d;
99 point rotatedPoint = edgePt;
defineTypeNameAndDebug(cyclicSector, 0)
Top level extrusion model class.
Extrudes by rotating a surface around an axis.
dimensionedScalar sin(const dimensionedScalar &ds)
Unit conversion functions.
Vector< Cmpt > & normalise()
sector(const dictionary &dict)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
addToRunTimeSelectionTable(extrudeModel, cyclicSector, dictionary)
Macros for easy insertion into run-time selection tables.
Vector< scalar > vector
A scalar version of the templated Vector.
constexpr scalar degToRad(const scalar deg) noexcept
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
vector point
Point is a vector.
dimensionedScalar cos(const dimensionedScalar &ds)