Go to the documentation of this file.
94 const scalar scaleX = 1.0,
95 const scalar scaleY = 1.0,
96 const scalar scaleZ = 1.0
void writeDict(Ostream &, bool subDict=true) const
Write dictionary.
virtual autoPtr< coordinateModification > clone(const boxScaling &bs) const
Construct and return a clone.
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
void operator=(const dictionary &)
assign from dictionary
virtual vector backwardDisplacement(const point &) const
calculate the displacement vector for box scaling
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...
TypeName("box")
Runtime type information.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual void translateAndModifyObject(const vector &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
vector scaleVec_
scaling factors in all directions
const word & name() const
Return name.
Ostream & operator<<(Ostream &) const
virtual void boundingPlanes(PtrList< plane > &) const
dictionary dict(bool ignoreType=false) const
Return as dictionary of entries.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
point centre_
centre of the box
virtual vector displacement(const point &) const
calculate the displacement vector for box scaling