35namespace extrudeModels
50 direction_(coeffDict_.get<
vector>(
"direction").normalise()),
51 thickness_(coeffDict_.get<scalar>(
"thickness"))
56 <<
"thickness should be positive : " << thickness_
66 const point& surfacePoint,
67 const vector& surfaceNormal,
71 return surfacePoint + (thickness_*sumThickness(layer)) * direction_;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Top level extrusion model class.
Extrudes by transforming points in a specified direction by the given distance.
friend Ostream & operator(Ostream &, const faMatrix< Type > &)
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)