61 #ifndef coordinateSystem_H 62 #define coordinateSystem_H 81 class coordinateSystem;
83 bool operator!=(
const coordinateSystem&,
const coordinateSystem&);
84 Ostream&
operator<<(Ostream&,
const coordinateSystem&);
254 const string&
note()
const 284 R_->updateCells(mesh, cells);
310 virtual void clear();
385 friend bool operator!=
Base class for other coordinate system specifications.
TypeName("coordinateSystem")
Runtime type information.
Abstract base class for coordinate rotation.
point globalPosition(const point &local) const
Convert from position in local coordinate system to global.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const word & name() const
Return name.
const point & origin() const
Return origin.
virtual ~coordinateSystem()
Destructor.
declareRunTimeSelectionTable(autoPtr, coordinateSystem, dictionary,(const objectRegistry &obr, const dictionary &dict),(obr, dict))
virtual vector localToGlobal(const vector &, bool translate) const
Convert from local coordinate system to the global Cartesian system.
virtual void clear()
Reset origin and rotation to an identity coordinateSystem.
coordinateSystem()
Construct null. This is equivalent to an identity coordinateSystem.
string & note()
Return non-constant access to the optional note.
point localPosition(const point &global) const
Convert from global Cartesian position to position in local.
A class for handling words, derived from string.
vector localVector(const vector &global) const
Convert from global Cartesian vector to components in local.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual vector globalToLocal(const vector &, bool translate) const
Convert from global Cartesian system to the local coordinate system.
static autoPtr< coordinateSystem > New(const objectRegistry &obr, const dictionary &dict)
Select constructed from dictionary and objectRegistry.
void rename(const word &newName)
Rename.
Ostream & operator<<(Ostream &, const ensightPart &)
vector globalVector(const vector &local) const
Convert from vector components in local coordinate system to.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
autoPtr< coordinateSystem > clone() const
Return clone.
A class for managing temporary objects.
Registry of regIOobjects.
friend Ostream & operator<<(Ostream &, const coordinateSystem &)
bool operator!=(const particle &, const particle &)
virtual dictionary dict(bool ignoreType=false) const
Return as dictionary of entries.
void init(const dictionary &)
Init from dict and obr.
void writeDict(Ostream &, bool subDict=true) const
Write dictionary.
virtual void write(Ostream &) const
Write.
const coordinateRotation & R() const
Return const reference to co-ordinate rotation.