Go to the documentation of this file.
53 lengthVec_(0.0, 0.0, 0.0),
54 scaleVec_(1.0, 1.0, 1.0),
75 lengthVec_(lengthX, lengthY, lengthZ),
76 scaleVec_(scaleX, scaleY, scaleZ),
92 this->operator=(
dict);
123 disp[i] = tBnd * dispVec;
141 disp[i] = tBnd * dispVec;
199 os <<
" type: " <<
type()
218 if(
type() != typeName_() )
256 "void boxScaling::operator=(const dictionary& d)"
270 "void boxScaling::operator=(const dictionary& d)"
284 "void boxScaling::operator=(const dictionary& d)"
298 "void boxScaling::operator=(const dictionary& d)"
340 os <<
"name " <<
name() <<
nl;
347 return bs.operator<<(os);
void writeDict(Ostream &, bool subDict=true) const
Write dictionary.
void calculateBndBox()
calculate bounding box points
A class for handling words, derived from string.
void write(Ostream &) const
Write.
virtual point origin() const
return the centre of the box
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
void operator=(const dictionary &)
assign from dictionary
@ nComponents
Number of components in this vector space.
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
Ostream & incrIndent(Ostream &os)
Increment the indent level.
Geometric class that creates a 2D plane and can return the intersection point between a line and the ...
virtual vector backwardDisplacement(const point &) const
calculate the displacement vector for box scaling
bool set(const label) const
Is element set.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
vector lengthVec_
length of box sides
boxScaling()
Null construct.
virtual bool combiningPossible() const
can this modification object be combined with other ones
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Ostream & operator<<(Ostream &, const edgeMesh &)
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
virtual void translateAndModifyObject(const vector &)
Ostream & indent(Ostream &os)
Indent stream.
Vector< scalar > vector
A scalar version of the templated Vector.
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
vector scaleVec_
scaling factors in all directions
const word & name() const
Return name.
Ostream & operator<<(Ostream &) const
Base class for modifiers of point coordinates.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
virtual void boundingPlanes(PtrList< plane > &) const
void setSize(const label)
Reset size of PtrList. If extending the PtrList, new entries are.
dictionary dict(bool ignoreType=false) const
Return as dictionary of entries.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
word name(const complex &)
Return a string representation of a complex.
Checks if a box is contained inside the box object.
bool add(entry *, bool mergeEntry=false)
Add a new entry.
point centre_
centre of the box
virtual vector displacement(const point &) const
calculate the displacement vector for box scaling